Commit Graph

4956 Commits

Author SHA1 Message Date
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
Dan Ryan 0d7afadd63 Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 597cd2d917 Cleanup core and help to use new finder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan b93b287fc9 Try the new code
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 50aff8e330 Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 5366253f39 More robust path searching
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan c6fb1ea31f Fix path search to include prereleases
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 684475e2c6 More debugging
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan dd06342428 More debug info for buildkite
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan c6a3284d30 Updated buildkite to set home properly
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 5da85d34b3 Add some debugging
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 26c34641d1 Updated buildkite to echo out the path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan aeb07cdec0 Fix search path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan 33328c435a Fully integrate pythonfinder for system pythons
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Dan Ryan d3d5d563e7 Update pythonfinder and make full use of it in support calls
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:03:41 -04:00
Tzu-ping Chung b82d5587e3 Tape directly into Pythonfinder instead 2018-07-25 17:03:41 -04:00
Tzu-ping Chung d5cebedee8 Keep logic of using actual Python commands 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 59b974bfc1 Use Pythonfinder in help 2018-07-25 17:03:41 -04:00
Tzu-ping Chung ac41cdcf4e Remove duplicate and unused code 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 6d7b26ae6c Minimal Pythonfinder intergration 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 0d2ceb6312 Pull in PythonFinder updates 2018-07-25 17:03:41 -04:00
Tzu-ping Chung 9e2f8295c1 Merge pull request #2645 from pypa/bugfix/2527-pipenv-verbosity
PIPENV_VERBOSITY
2018-07-25 15:46:27 +08:00
Tzu-ping Chung 68b1bce503 News 2018-07-25 15:36:03 +08:00
Tzu-ping Chung cd82cdba63 Invert the verbosity flag (lower is less verbose) 2018-07-25 15:28:55 +08:00
Ethan Fulbright 7abd45f02d Move PIPENV_VERBOSITY to correct place in alphabet
Oops.
2018-07-25 15:24:54 +08:00
Ethan Fulbright 118469db3b Add verbosity int variable, use capsys in test_core
Changed PIPENV_SUPPRESS_NESTED_WARNING to PIPENV_VERBOSITY, an integer
value that defaults to 0 (verbose).
Changed test in test_core.py to use capsys to capture standard
output/error in order to improve compatibility with Python 2.
2018-07-25 15:24:54 +08:00
Haplo 7c681cc139 Add ability to suppress nested venv courtesy notice
Added an environment variable, PIPENV_SUPPRESS_NESTED_WARNING, to be
used to suppress the courtesy notice from warn_in_virtualenv.
Changed wording of the courtesy notice to mention suppression variable.
Fixes #2527.
2018-07-25 15:24:54 +08:00
Dan Ryan 350aedeb15 Add news entry for #2641
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 18:43:12 -04:00
Dan Ryan 2fd9d30dcf Merge pull request #2641 from pypa/bugfix/2623-windows-python-in-msys
Support Msys Bash
2018-07-24 18:33:58 -04:00
Tzu-ping Chung 4a6f071cfe Improve emulator detection for multiple values
Running MSYS inside Cmder now returns "cmder,msys", and can look up the
shell correctly.
2018-07-24 20:20:22 +08:00
Tzu-ping Chung bcce22ffca Implement MSYS Bash 2018-07-24 20:08:15 +08:00
Tzu-ping Chung 88066b86c2 Format 2018-07-24 20:07:39 +08:00
Dan Ryan 5184c5ae02 Add news entry for #2632
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-23 22:25:45 -04:00
Dan Ryan 2b63523ba1 Merge pull request #2632 from washeck/master
Fix passing multiple ignores to pipenv check
2018-07-23 22:24:08 -04:00
Dan Ryan 59de1a7f6e Merge branch 'master' into master 2018-07-23 21:03:26 -04:00
Dan Ryan 04f8aab6f3 Merge pull request #2625 from pypa/project-get-installed-packages
Leverage pip to access installed packages
2018-07-23 21:03:11 -04:00
Dan Ryan 04de369c6b Fix windows handling of path loading
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-07-23 18:35:17 -04:00