Commit Graph

5000 Commits

Author SHA1 Message Date
Tzu-ping Chung 9ec4ff13d6 Merge branch 'master' into shell-fallback-improvement 2018-07-30 14:30:06 +08:00
Tzu-ping Chung 5a55c88773 Merge pull request #2643 from pypa/fix-find-links
Fix resolution using `dependency_links` with ssh
2018-07-30 14:29:50 +08:00
Tzu-ping Chung 75eaafc372 Merge branch 'master' into fix-find-links 2018-07-30 14:08:39 +08:00
Tzu-ping Chung a853814c09 Merge pull request #2582 from pypa/pythonfinder-lite
Dial back Pythonfinder integration effort
2018-07-30 14:08:23 +08:00
Tzu-ping Chung 147e10639a Merge branch 'master' into pythonfinder-lite 2018-07-30 13:01:10 +08:00
Tzu-ping Chung 08477e8db0 Merge pull request #2629 from mlouielu/get_lockfile_hash_with_bad_lockfile
Add JSONDecodeError handling for get_lockfile_hash
2018-07-30 13:00:21 +08:00
Tzu-ping Chung 7758d745a8 News 2018-07-30 12:51:28 +08:00
Tzu-ping Chung a67d0244a0 News 2018-07-30 12:49:28 +08:00
Tzu-ping Chung bd131836cd Don't remove corrupt lock file 2018-07-30 12:26:07 +08:00
Louie Lu 79349dd8f1 Addressed uranusjr comments 2018-07-30 12:22:52 +08:00
Louie Lu 553ed8258c Add JSONDecodeError handling for get_lockfile_hash
Now will return None when facing JSONDecodeError when loading the lockfile.

do_init will remove the old lockfile and replace it.
2018-07-30 12:22:52 +08:00
Tzu-ping Chung 31e0b0e1e6 Merge pull request #2673 from Warix3/patch-2
PyCharm now fully supports pipenv
2018-07-30 12:21:35 +08:00
Warix3 0170cdbf77 PyCharm now fully supports pipenv
As of the release version 2018.2 PyCharm has a full pipenv support. [Source](https://www.jetbrains.com/pycharm/whatsnew/#v2018-2-python "New features")
2018-07-30 01:28:42 +02:00
Tzu-ping Chung 059dacdd3c Use COMSPEC for shell detection fallback
The subshell logic now considers:

* PIPENV_SHELL
* Auto detection
* SHELL (should very likely work for POSIX)
* PYENV_SHELL
* COMSPEC (should always work for Windows)
2018-07-26 17:04:59 +08:00
Tzu-ping Chung ed8e862d29 isnumeric -> isdigit 2018-07-26 14:04:55 +08:00
Dan Ryan 5ff8bdeed3 Update vendor.txt
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:23:28 -04:00
Dan Ryan ef060c4b9b Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan f5df34f85b Update vendoring instructions
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan f9655cbacf Update vendoring tasks for updating single vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Tzu-ping Chung e3f37bebfe Fix missing arch arguments 2018-07-25 17:04:43 -04:00
Tzu-ping Chung c9277c5008 More isdigit() fixes 2018-07-25 17:04:43 -04:00
Tzu-ping Chung 29326d53f6 Block inside spinner block 2018-07-25 17:04:43 -04:00
Tzu-ping Chung b8aa62ac66 Python 2018-07-25 17:04:43 -04:00
Dan Ryan dbcb5a71b3 Add cached property to vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 1b69089cb1 Cached properties!
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan b7daa2525b Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 21cbf0c5b8 Update pythonfinder to default patch versions to 0
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan bf8d0b9592 Update pythonfinder for better windows support
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Tzu-ping Chung 6e4205a134 Pass arch into Windows finder
This is still not working though.
2018-07-25 17:04:43 -04:00
Tzu-ping Chung 216f639ae2 Don't process the py line twice 2018-07-25 17:04:43 -04:00
Dan Ryan 4b26aa8c9f Fix aggregation for support
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 2f85e9bcc7 Add quotes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 9e10e72493 Block before getting outputs
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan b5bd420c05 Fix click encoding for terminal outputs
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 95f0df79e8 Fix pythonfinder bug unnesting python versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan cc9c5a3ff8 Strip dashes from py -n commands
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan febfc6e907 Better algorithm for find_all_versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan 6518325a3c Stop using subprocess to interface with windows finder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan a709bf845f Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Tzu-ping Chung 10749cc66c Don't fallback if a command is not found 2018-07-25 17:04:39 -04:00
Tzu-ping Chung 3a734f1ef0 Proper subprocess decoding 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 07a64777b4 Unused 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 0b7b0c983a Refactor and docstring for find_a_system_python 2018-07-25 17:03:41 -04:00
Tzu-ping Chung a2f8442179 We DONT want sys.executable when searching
sys.executable should be the last resort if the user gives us nothing. If
we are given ANYTHING, we should avoid using sys.executable.
2018-07-25 17:03:41 -04:00
Tzu-ping Chung 9cb3f970bd Clean up help module 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 27028e1942 Possibly stray echo 2018-07-25 17:03:41 -04:00
Dan Ryan 861c075876 Use new api in help methods
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 8bb39a412a Fix version iteration in pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 2de9505668 Fix system path iterator
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 08cb159e22 Windows fix
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00