Pradyun Gedam
b41a712123
Merge pull request #5452 from pradyunsg/refactor/reorder-req-install-methods
...
Reorder methods in req_install to better group them
2018-06-17 12:13:39 +05:30
Pradyun Gedam
fcb3039010
vendoring: remove outdated Makefile
2018-06-14 23:44:02 +05:30
Pradyun Gedam
cc33877126
I missed an import
2018-06-13 13:17:31 +05:30
Pradyun Gedam
54722aa7ec
Remove unused imports
2018-06-13 13:17:30 +05:30
Pradyun Gedam
a121abbc30
Add flake8 ignores for mypy imports
2018-06-13 13:17:30 +05:30
Anthony Sottile
6533f883f6
rehash hard-codes sha256, remove algo param ( #5485 )
2018-06-11 22:43:32 +05:30
Pradyun Gedam
8ccab7a475
Resolve existing mypy errors ( #5492 )
...
mypy is failing on master because it turns out mypy isn't noticing configparser from six, when vendored.
This should be a temporary fix for that.
2018-06-11 12:40:56 +05:30
Łukasz Langa
39817bd302
Open pyproject.toml with UTF-8 encoding in all environments
2018-06-07 11:16:47 -07:00
Pradyun Gedam
47d58b8a49
🎨
2018-06-07 16:16:51 +05:30
Pradyun Gedam
3d516c210c
Reorder method in req_install to better group them
2018-06-07 16:16:51 +05:30
Benoit Pierre
e611c85a73
minor cleanup ( #5426 )
2018-05-30 23:01:49 +05:30
Philip Molloy
8d3f5e7b76
Improve dependency links log message ( #4936 )
2018-05-30 23:01:14 +05:30
Pradyun Gedam
e671005a52
Merge pull request #5312 from pradyunsg/fix/windows-pip-blocker-message
...
Move Windows protection check to specific commands
2018-05-30 18:52:22 +05:30
Pradyun Gedam
2a061c2d5e
Restrict the Windows name check to only "pip[major[.minor]].exe" names
2018-05-30 16:01:37 +05:30
Pradyun Gedam
369061b535
Move Windows protection check to specific commands
2018-05-30 15:57:06 +05:30
Pradyun Gedam
88e17b4aed
Update the import for PyPI Index model
2018-05-30 01:44:51 +05:30
Pradyun Gedam
8619e3edea
Merge pull request #5368 from hroncok/pip-nowarn-upgrade
...
When pip was not installed by pip, don't show the upgrade warning
2018-05-22 11:27:16 +05:30
Pradyun Gedam
144b42d799
Remove username/password from log message
...
Merge pull request #5339 from jzafran/remove-password-from-stdout
2018-05-22 11:03:10 +05:30
Miro Hrončok
d0b77089a7
When pip was not installed by pip, don't show the upgrade warning
...
Fixes https://github.com/pypa/pip/issues/5346
2018-05-19 08:32:27 +02:00
Benoit Pierre
92e6e19e7a
minor cleanup
2018-05-18 23:45:55 +02:00
Benoit Pierre
77f6ac676a
forward verbose flag to build dependencies installs
2018-05-18 23:45:55 +02:00
Benoit Pierre
1ac5f09911
tweak output when installing PEP 518 build dependencies
...
Suppress warnings about out-of-PATH script installs.
2018-05-18 23:45:55 +02:00
Benoit Pierre
7b4790d0ca
cleanup PEP 518 implementation
...
- remove unused `BuildEnvironment` parameter: `no_clean`
- move helper to install build requirement to the `BuildEnvironment` class
- simplify a little the 2 different code paths (with and without build isolation)
2018-05-18 23:45:55 +02:00
Benoit Pierre
ca4e2ad6ad
improve handling of PEP 518 build requirements
...
Offload more work to the underlying pip command used to install the
build requirements, so there's no need to duplicate code to handle
environment markers/extras. This is done by setting the correct options
from the finder passed in argument to `_install_build_reqs`.
2018-05-18 23:45:55 +02:00
Tom Freudenheim
daae935450
Merge branch 'master' into 3905_Pip_version_check_cache_dir
2018-05-17 21:59:25 -04:00
Donald Stufft
90b3db476f
Drop support for Python 3.3
2018-05-17 13:34:48 -04:00
Tom Freudenheim
16528ed5f1
Cleanup per PR comments
2018-05-17 09:39:26 -04:00
Tom Freudenheim
631c080cc8
use options to get cache path
2018-05-16 17:55:34 -04:00
Tom Freudenheim
cd7c25dece
removed VirtualenvSelfCheckState per stufft
2018-05-16 15:44:24 -04:00
Paul Kehrer
ba80574225
Fix a rare segfault
...
If pip10 is installed and pyopenssl+cryptography are present in the
environment pip's vendored urllib3 will automatically activate its
pyopenssl adapter. This is by design so users can potentially opt-in to
more up-to-date TLS versions than what are provided by their copy of
Python. However, if a user has these packages & subsequently runs
pip install --ignore-installed cryptography then a segfault will occur
due to overwriting an mmap'd shared object.
2018-05-14 13:34:33 -04:00
Daniel Shaulov
d67d98dd91
Add a --prefer-binary flag. ( #5370 )
...
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.
Fixes #3785 .
2018-05-11 11:17:32 +05:30
Shlomi Fish
508517f0d7
Fix the capitalization of "GitHub".
2018-05-10 18:18:30 +03:00
Jeremy Zafran
7655893601
remove usernames and passwords for index URLs using basic auth from "Looking in indexes" log messages
2018-04-27 00:41:54 -04:00
Jeremy Zafran
5bc94f3348
Move remove_auth_from_url and test from Subversion class to pip._internal.utils.misc
2018-04-27 00:41:54 -04:00
Donald Stufft
dec22c92c2
Switch to CalVer and set a release cadence
2018-04-22 14:21:50 -04:00
Jakub Wilk
9d7095c72e
Fix typo ( #5320 )
2018-04-22 14:12:42 +05:30
Paul Moore
0ae0109901
Merge pull request #5293 from andresdelfino/master
...
Remove trailing os.sep to avoid false negatives
2018-04-20 09:39:40 +01:00
Danny Hermes
d344e3469f
Removing repeated "support" in 3.3 deprecation notice.
2018-04-19 12:12:04 -07:00
Danny Hermes
9515b42c7e
Grammar fix (supported -> support) in 3.3 warning.
2018-04-19 12:01:16 -07:00
Paul Moore
7f2c89f449
Bump version for release
2018-04-19 18:04:16 +01:00
Andrés Delfino
55e0928a75
Remove trailing os.sep to avoid false negatives
2018-04-18 22:10:45 -03:00
Paul Moore
d8172b961c
Merge pull request #5227 from benoit-pierre/fix_pep518,_again
...
fix PEP 518 support when pip is installed in the user site
2018-04-18 17:55:04 +01:00
Paul Moore
3c50345f4b
Merge pull request #5280 from pradyunsg/fix/5251
...
Reorder conditionals to deal with installed VCS requirements
2018-04-18 15:23:53 +01:00
Pradyun Gedam
123e61d4a5
Reorder conditionals to deal with installed VCS requirements
2018-04-18 09:39:27 +05:30
Paul Moore
64bf4dc3bc
Merge pull request #5257 from pfmoore/distlib_027
...
Update distlib to 0.2.7
2018-04-17 20:45:36 +01:00
Paul Moore
9875055ffe
Merge pull request #5239 from pradyunsg/fix/5237
...
Improve Error Messages on EnvironmentErrors when installing
2018-04-17 18:28:59 +01:00
Paul Moore
ea1319de95
Merge pull request #5233 from pradyunsg/fix/5219
...
Make the Windows "self-modification" check more strict
2018-04-17 18:16:59 +01:00
Pradyun Gedam
3e7a66c070
Don't advice about --verbose (it'ss obvious)
2018-04-17 14:56:57 +05:30
Pradyun Gedam
4a1c7b891f
Print Better Error Messages on EnvironmenErrors while running pip install.
...
This fixes various issues with the current logic and splits out the
message generation into a separate unit-test-able function.
Improvements:
- Does not not-print any information in some cases
- Mentions original error message, or entire traceback if verbose.
- In case of permission/access errors, suggests the user to use --user
and/or check permissions
2018-04-17 14:56:44 +05:30
Donald Stufft
084cbb087b
Fix msgpack on older versions of Python 2.7
2018-04-16 17:32:54 -04:00