Commit Graph

2696 Commits

Author SHA1 Message Date
Nate Prewitt daa4d6ab85 Merge pull request #1366 from pypa/hotfix/windows_drive_recase
Windows Drive Case Normalization
2018-01-27 16:50:26 -08:00
Nate Prewitt 2051cbe408 Merge pull request #1368 from pypa/hotfix/documentation_prs
Post 9.0.1 Documentation PRs
2018-01-27 16:45:09 -08:00
Anthony Shaw c96de3ccee add reference to plugin 2018-01-27 15:44:42 -05:00
Nick Coghlan ed620ecc17 Link to OWASP Top 10 from docs (#1269)
* Link to OWASP Top 10 from docs
2018-01-27 15:44:42 -05:00
Dan Ryan 9e8d03970a Update test assertions for proper path casing
- Aligns tests with #1221 on windows
2018-01-27 13:08:34 -05:00
Dan Ryan 9ff4ca1c20 Fix drive normalization to only parse strings
- Fixes bug with handling non-existant pipfile locations on windows
2018-01-27 03:20:37 -05:00
Tzu-ping Chung e73d2bfa17 Force Windows local drive names to uppercase
Windows generally use upper cased drive names, but allow (without
normalizing) lower cased names in cmd.exe, which results in
inconsistencies when hashing the full path (to get the name of the
project's virtualenv). Python does not provide a good solution[*], so we
need to roll our own.

[*]: Python does have os.path.normcase(), but it always converts the
     whole paths to lowercase. This would break virtually *all* existing
     virtualenvs for Windows users.

UNC host names (which Python also treats as drives), on the other hand,
can actually be either cased. I am not sure if they are case-sensitive,
or should be coerced to what case, so this patch keeps with the existing
behaviour, and does not try to coerce them.
2018-01-27 03:20:35 -05:00
Dan Ryan 5191a8e6b1 Merge pull request #1361 from pypa/revised_master
Revised master
2018-01-27 00:46:53 -05:00
Nate Prewitt b9b29df062 cast exception as string for printing 2018-01-26 02:48:52 -08:00
Nate Prewitt 3170b122b2 fix bad variable assignment 2018-01-26 02:48:17 -08:00
dragon788 4c78c1908d Fixed broken links to fancy install methods (#1258)
* Fixed broken links to fancy install methods

Outside of the TOC blocks it was referring to install.html instead of /install/ and resulted in broken links.
2018-01-26 02:48:07 -08:00
Josh Friend e21e5e1194 Update default python for 3.6.x 2018-01-26 02:47:59 -08:00
Dan Ryan a86a6fe49d Add docker pin to test to fix resolver error 2018-01-26 02:47:47 -08:00
kennethreitz cb6f539e59 Update README.rst 2018-01-26 02:47:40 -08:00
kennethreitz f3b11b10e7 Update install.rst 2018-01-26 02:47:31 -08:00
John Carter b9c3f4f635 missing support for ~= in check?
also fixed comment typo
2018-01-26 02:47:12 -08:00
Yehuda Deutsch 35a0533e1a Pass clear flag to lock when updating 2018-01-26 02:46:52 -08:00
Dan Ryan 0f04e5708c Fix backup resolver
- Backup resolver was broken when hash resolution was split out into two
functions
- This PR returns the resolver to the caller function
- This is for edge cases where the PyPI json API and the pip resolver
don't return the same authoritative result for a package lookup (a name
can be resolved in one source but not the other)
- Added test to prevent future regression
- Fixes #1195
2018-01-26 02:46:30 -08:00
Nikita Sobolev fc48184b9a Updates cli.py with proper requirements filename
In some systems `Requirements.txt` != `requirements.txt` and this line could possibly bring confusion to users.
Since we are only searching for actual `requirements.txt` in `find_requirements()`: https://github.com/pypa/pipenv/blob/cbcc89bee73e5af2e34252deb686ad7578e14c61/pipenv/utils.py#L1121
2018-01-26 02:23:11 -08:00
kennethreitz cc85a57958 update docker image 2018-01-26 02:23:02 -08:00
INADA Naoki c4aad85e1b Remove dotenv.ipython
Fixes #1321
Ref: https://github.com/theskumar/python-dotenv/pull/84
2018-01-26 02:22:51 -08:00
Hynek Schlawack 1a8d158713 Fix AttributeError on pipenv uninstall --verbose 2018-01-26 02:22:42 -08:00
kennethreitz e8bf8d59e9 version
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-01-26 02:22:23 -08:00
kennethreitz 28b6d7d98e history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-01-26 02:22:06 -08:00
kennethreitz e8e4899a1d Merge pull request #1315 from hynek/master
Fix AttributeError on pipenv uninstall --verbose
2018-01-23 11:29:51 -05:00
kennethreitz c828302ad1 Merge pull request #1326 from methane/remove-dotenv-ipython
Remove dotenv.ipython
2018-01-23 11:29:23 -05:00
kennethreitz d6f0d4a32c Merge pull request #1331 from sobolevn/patch-2
Updates cli.py with proper requirements filename
2018-01-23 11:28:53 -05:00
Nikita Sobolev aace851e7d Updates cli.py with proper requirements filename
In some systems `Requirements.txt` != `requirements.txt` and this line could possibly bring confusion to users.
Since we are only searching for actual `requirements.txt` in `find_requirements()`: https://github.com/pypa/pipenv/blob/cbcc89bee73e5af2e34252deb686ad7578e14c61/pipenv/utils.py#L1121
2018-01-21 10:05:44 +03:00
kennethreitz f20583c36d update docker image 2018-01-20 09:06:08 -05:00
INADA Naoki 5e4f3713fc Remove dotenv.ipython
Fixes #1321
Ref: https://github.com/theskumar/python-dotenv/pull/84
2018-01-18 16:59:17 +09:00
Hynek Schlawack e6ce56d3d8 Fix AttributeError on pipenv uninstall --verbose 2018-01-17 09:49:37 +01:00
kennethreitz dff445e7ed version
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
v9.0.3
2018-01-16 12:17:20 -05:00
kennethreitz 34a3b3c8e1 history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-01-16 12:16:53 -05:00
Nate Prewitt cbcc89bee7 v9.0.1 v9.0.1 2017-12-15 07:57:34 -08:00
Nate Prewitt 91dba8255b Merge pull request #1185 from pypa/load_dotenv_w_no_proj
use current directory if project directory doesn't exist
2017-12-13 23:15:47 -08:00
Nate Prewitt 29f0c4283d Merge pull request #1190 from pypa/warn_missing_requirements_file
warn user if requirements.txt is missing
2017-12-12 09:29:33 -08:00
Nate Prewitt 4189df0ab6 warn user if requirements.txt is missing 2017-12-10 15:09:26 -08:00
Nate Prewitt 758f553687 use current directory if project directory doesn't exist 2017-12-09 13:13:58 -08:00
Nate Prewitt df0bc6623a Merge pull request #1183 from techalchemy/bugfix/windows-specifier-check
WIP: Stop Treating Specifiers as Paths on Windows
2017-12-09 12:42:27 -08:00
Dan Ryan aac675235e Fix test typo 2017-12-08 20:30:24 -05:00
Dan Ryan ef144482ba Add a check to see if entries are valid specifiers
- Should fix windows parsing of pipfiles
- I had this fix implemented somewhere before but I think I 'cleaned' it
out for some reason
2017-12-08 20:14:52 -05:00
Dan Ryan 6c66f96cac Add failing windows test 2017-12-08 18:54:08 -05:00
kennethreitz 643c7f3bca bump default concurrency 2017-12-08 22:10:02 +00:00
kennethreitz 6806c827dd hope this does not break build 2017-12-08 18:26:10 +00:00
kennethreitz ecbb38640e shell: this appears to be wrong 2017-12-08 13:01:06 -05:00
kennethreitz 8b378a70e7 note about python 3
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-12-07 08:55:06 -05:00
Nate Prewitt f324e1594b Merge pull request #1173 from techalchemy/bugfix/1172-dont-install-dev-packages
Bugfix/1172 dont install dev packages
2017-12-06 20:20:07 -08:00
Dan Ryan 52d21c05f4 Exclude dev packages from installs by default
- Fixes #1172
- Regression introduced in 6e7dd14
- Add test to prevent future regressions
- Update history
2017-12-06 22:42:24 -05:00
Nate Prewitt bd4cc649c9 Merge pull request #1170 from BackwardSpy/patch-2
fix "isntalled" typo in HISTORY.txt
2017-12-06 08:58:41 -08:00
Chris Latham d6646ec4dd "installed" typo in HISTORY.txt 2017-12-06 16:56:34 +00:00