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
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
Paul Moore
070af76d8d
Update distlib to 0.2.7
2018-04-16 22:02:52 +01:00
Benoit Pierre
02b678f557
fix PEP 518 support when pip is installed in the user site
...
Do not use the build environment isolation during the build dependencies installation.
2018-04-16 22:58:44 +02:00
Donald Stufft
275ab7c3f5
Switch pip to use Warehouse by default
2018-04-16 15:54:11 -04:00
Pradyun Gedam
c82d3d99af
Make the Windows "self-modification" check more strict
2018-04-15 10:17:17 +05:30
Paul Moore
4db471fd8f
Bump version for release
2018-04-14 10:24:52 +01:00
Paul Moore
22c8656b57
Don't warn about script locations if --target is specified
2018-04-10 18:07:53 +01:00
Benoit Pierre
6da1d9e47c
fix PEP 518 support
...
* fix build environment handling when using PyPy
* do use the build environment for all build commands
* allow installing and building a wheel of a PEP 518 enabled
package without prior installation of setuptools and/or wheels
* fix check for minimum supported requirements for PEP 518 support:
- correctly handle complex requirements
- both setuptools and wheels are needed
2018-04-08 14:06:11 +02:00
Pradyun Gedam
500505e3fa
🎨 use a list comprehension
2018-04-07 17:25:01 +05:30
Pradyun Gedam
af3c1cfe65
Normalize case before checking for paths
2018-04-06 14:24:16 +05:30
Pradyun Gedam
5a8150f82c
Merge pull request #5163 from pradyunsg/fix/5157
...
Do not warn about script location if it's with sys.executable
2018-04-06 14:19:08 +05:30
Paul Moore
c76452ade9
Merge pull request #5151 from mattip/master
...
BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes
2018-04-05 14:35:55 +01:00
Pradyun Gedam
095c165780
Merge pull request #5159 from di/fix/5140
...
Fix installing from Git with short SHA
2018-04-04 14:03:02 +05:30
Pradyun Gedam
61a96bcf58
Do not warn about script location if it's with sys.executable
2018-04-04 13:21:57 +05:30
Pradyun Gedam
ee2e81ca1f
Use all available distributions
...
Same as b5f56efde5
2018-04-04 13:03:07 +05:30
Dustin Ingram
737dfbfc71
Conditionally fetch the revision if it's a ref
2018-04-03 14:46:33 -05:00
Pradyun Gedam
ecc1072ba0
Merge pull request #5146 from pradyunsg/fix/check-accept-prerelease-versions
...
Accept prerelease versions when checking conflicts
2018-04-03 23:18:10 +05:30
Pradyun Gedam
69e2dde515
Merge pull request #5136 from StephanErb/check_normalization
...
Fix name normalization used for install warnings
2018-04-03 16:04:27 +05:30
mattip
8b9abc2988
BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes
2018-04-03 05:58:05 +03:00
Pradyun Gedam
0de893161e
Move initialization to a better place
2018-04-03 00:02:51 +05:30
Stephan Erb
72b3195f0e
Fix name normalization used for install warnings
2018-04-02 20:17:20 +02:00
Pradyun Gedam
abfbfcc7dc
Actually build wheels for VCS checkouts
2018-04-02 23:20:54 +05:30
Pradyun Gedam
1862d2f887
Accept prerelease versions when checking conflicts
2018-04-02 21:35:49 +05:30