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
Vaclav Rehak
d2f1fb89ab
Fix passing multiple ignores to pipenv check
...
Fix missing space in command line arguments to 'safety' when
multiple CVEs are ignored.
2018-07-23 17:41:22 +02:00
Dan Ryan
02fc52b8da
Leverage pip to access installed packages
...
- Use `get_installed_distributions` from pip
- This cascades to `pkg_resources.working_set` which relies on
`sys.path` to uncover packages
- Consequently I implemented `temp_path()` as a contextmanager in the
style of `temp_environ()`
- This requires us to know the environment's `sys.path`, so
`load_path(python)` will do a `json.dumps` of `sys.path` to stdout
which then gets loaded and returned
- Allows us to avoid trying to hack around `pip freeze` output to parse
out names from comments etc
- Provides other potential uses
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-23 01:06:55 -04:00
Dan Ryan
134927c28d
Merge pull request #2616 from pypa/minor-cleanup
...
Minor cleanup
2018-07-22 13:27:04 -04:00
Dan Ryan
899b46f12d
Merge branch 'master' into minor-cleanup
2018-07-21 14:43:29 -04:00
Dan Ryan
d4488405e2
Merge pull request #2617 from pypa/update-requirementslib
...
Update requirementslib
2018-07-21 14:43:15 -04:00
Dan Ryan
499558e7bc
Update requirementslib
...
- Fix a bug which raised `UnboundLocalError` when parsing malformed urls
- Fixes #2614
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-20 02:17:00 -04:00
Dan Ryan
5ff1bcf4fc
Add install reqs to pipenv dict
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-20 02:03:15 -04:00
Dan Ryan
c9efc71a6b
reformat core.py
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-20 01:56:04 -04:00
Dan Ryan
03b6ecb573
cleanup kwargs in pip install
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-20 01:53:33 -04:00
Tzu-ping Chung
568a9d2c69
Merge pull request #2610 from pypa/bugfix/2326-exists-action-bug
...
Fix `exists-action` argument passing
2018-07-19 14:35:42 +08:00
Dan Ryan
caf6046cf5
Fix exists-action argument passing
...
- Fixes #2326
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-07-18 19:50:17 -04:00
Tzu-ping Chung
25abbc9c15
Merge pull request #2604 from eli-schwartz/noinstall-tests
...
Exclude more things from installation which aren't meant to be installed
2018-07-18 17:01:12 +08:00
Tzu-ping Chung
58ae894cfd
Merge branch 'master' into noinstall-tests
2018-07-18 16:39:02 +08:00