Pradyun Gedam
b94df0b570
nox: Log the correct command name in error
2019-11-10 12:18:02 +05:30
Pradyun Gedam
08a7f501e8
nox: Update interpreters available for testing
2019-11-10 11:48:34 +05:30
Pradyun Gedam
3dfa9e420f
nox: Remove pre-existing source distributions
2019-11-10 11:48:13 +05:30
Christopher Hunt
d38cead031
Merge pull request #7324 from pradyunsg/refactor/require_hashes
...
Refactor handling of require_hashes in the Resolver+RequirementPreparer
2019-11-10 10:35:05 +08:00
Chris Hunt
f64f15b6d9
Enforce requirement format in build-system.requires
2019-11-09 20:58:27 -05:00
Chris Hunt
eb3701f749
Use shared_data to avoid copying the data directory
2019-11-09 20:47:20 -05:00
Chris Hunt
9775387e41
Move unit test to functional test for implicit hash checking
2019-11-09 16:30:44 -05:00
Chris Hunt
e4a7276ea0
Explicitly require hashes for tests that expect it
...
The purpose of these tests is not to check implicit hash-checking mode,
so we can be explicit.
2019-11-09 16:12:05 -05:00
Chris Hunt
7f8c25dbbb
Fix call to Resolver/Preparer in tests
2019-11-09 16:11:43 -05:00
Pradyun Gedam
0612685e7e
Stop passing require_hashes to Resolver directly
2019-11-10 01:52:03 +05:30
Chris Hunt
94dbbe2556
Remove patching of pep425tags internals in wheel tests
2019-11-09 13:09:18 -05:00
Chris Hunt
7f910251a4
Remove unused sys.platform patching from test_wheel
2019-11-09 13:09:06 -05:00
Christopher Hunt
5935489ebf
Merge pull request #7316 from chrahunt/refactor/assert-unnamed-are-direct
...
Assert originally unnamed requirements are direct
2019-11-09 21:05:48 +08:00
Aniruddha Basak
0d0ee9b407
Modify URL and give information of enterprise environments supporting older Pythons and pips
2019-11-09 15:34:58 +05:30
Pradyun Gedam
c0afe5c81d
Add require_hashes to RequirementPreparer
2019-11-09 12:13:29 +05:30
Pradyun Gedam
4e7867d0a8
Compute require_hashes in populate_requirement_set
2019-11-09 12:05:28 +05:30
Pradyun Gedam
9755531094
Make no-response bot, wait for less time
2019-11-09 10:02:55 +05:30
Chris Hunt
bd646446fe
Update comment to reflect new arguments
2019-11-08 21:54:06 -05:00
Chris Hunt
88b3367b8c
Move legacy wheel build method to standalone function
2019-11-08 21:54:06 -05:00
Chris Hunt
d8382456ba
Don't pass req or use members in WheelBuilder._build_one_legacy
2019-11-08 21:54:06 -05:00
Chris Hunt
8963f63989
Parameterize requirement name for logging
2019-11-08 21:54:03 -05:00
Chris Hunt
0fff5bec93
Separate calls to wheel builder functions
2019-11-08 21:21:34 -05:00
Chris Hunt
d56e488f78
Assert originally unnamed requirements are direct
2019-11-08 21:19:57 -05:00
Christopher Hunt
c21fd4a70c
Merge pull request #7305 from chrahunt/maint/deprecate-non-egg-info-legacy-builds
...
Deprecate setup.py-based builds that do not make .egg-info
2019-11-09 09:58:43 +08:00
Christopher Hunt
7af704e3cf
Merge pull request #7310 from chrahunt/refactor/scheme
...
Add Scheme model and use for wheel installation
2019-11-09 09:57:03 +08:00
Chris Hunt
89f6e4fcd5
Deprecate setup.py-based builds that do not make .egg-info
2019-11-07 18:31:04 -05:00
Christopher Hunt
e9cd20ca25
Merge pull request #7312 from pypa/pradyunsg-patch-1
...
Bump to the correct development version
2019-11-08 07:29:24 +08:00
Chris Hunt
6fa64a6b28
Calculate header directories in one place
...
This was already happening in locations.distutils_scheme, we're just
reusing the existing work instead of doing it again.
2019-11-07 12:43:39 -05:00
Chris Hunt
e03a71aff8
Use new Scheme model for wheel installation
2019-11-07 12:43:39 -05:00
Chris Hunt
9de8a6d598
Create scheme unconditionally on install
2019-11-07 12:43:39 -05:00
Chris Hunt
16684fbc28
Create Scheme model and wrap distutils_scheme
...
Now we have a nicely-typed interface to the calculated scheme,
and some more documentation for the same.
2019-11-07 12:43:35 -05:00
Pradyun Gedam
b8de2154db
Bump to the correct development version
2019-11-07 21:59:53 +05:30
Pradyun Gedam
0cebc55e3f
Add tests for create_env_error_message function ( #7255 )
2019-11-07 21:08:02 +05:30
Christopher Hunt
53770a7184
Merge pull request #7304 from chrahunt/refactor/remove-unused-noarch
...
Remove unused noarch flag in pep425tags.get_supported
2019-11-07 08:34:11 +08:00
Pradyun Gedam
898d105649
Clean up distutils_scheme types ( #7300 )
2019-11-06 12:02:01 +05:30
Christopher Hunt
d3129f227a
Merge pull request #7301 from chrahunt/refactor/reduce-resolver-finder-dependence
...
Reduce Resolver dependence on PackageFinder
2019-11-06 14:17:55 +08:00
Pradyun Gedam
7b3d3a31e6
Support PEP 405 include-system-site-packages configuration ( #7155 )
2019-11-06 11:47:36 +05:30
Christopher Hunt
8341f87046
Merge pull request #7287 from pradyunsg/refactor/simplify-metadata-generation-flow
...
Simplify metadata generation flow, to be a lot more "linear"
2019-11-06 11:51:49 +08:00
Chris Hunt
deac2343dc
Don't pass PackageFinder to Preparer from Resolver
...
Preparer's overall responsibilities align more with having its own
reference to finder, which will help us remove it from resolver later.
2019-11-05 20:57:14 -05:00
Chris Hunt
f305f66eb2
Trace common finder info outside resolver
...
There's no reason for Resolver to trace this information about our
PackageFinder, we just need a common one-time function to trace useful
information.
2019-11-05 20:57:14 -05:00
Christopher Hunt
7e84f24737
Merge pull request #7295 from sbidoul/remove-wb-no_clean-sbi
...
Remove unused WheelBuilder.no_clean
2019-11-06 09:29:25 +08:00
Chris Hunt
2520ba716a
Remove unused noarch flag in pep425tags.get_supported
2019-11-05 19:36:53 -05:00
Chris Hunt
d709966c72
Normalize style in pip._internal.locations
2019-11-05 19:01:17 -05:00
Chris Hunt
a790c92d2e
Type-safer distutils install command handling
2019-11-05 19:01:14 -05:00
Pradyun Gedam
8981895b5e
Skip all failing tests when using venv
...
Our isolation logic for venv isn't correct and that is causing these
tests to fail. The culprits for this are:
tests/lib/venv.py::VirtualEnvironment.user_site_packages
tests/lib/venv.py::VirtualEnvironment.sitecustomize
Both these together are supposed to create an environment to isolate the
tests. However, they were written for virtualenv and make assumptions
that are not true for environments created with venv. Until we can fix
VirtualEnvironment to properly isolate the test from the underlying test
environment when using venv, these tests will continue to fail.
This is blocking an important bugfix for users facing issues with since
pip is installing packages into `--user` when run in a venv, even when
`--user` isn't visible from that environment.
As a temporary band-aid for this problem, I'm skipping these tests to
unblock us from shipping the bugfix for the aforementioned issue.
The test isolation logic should be fixed to work for venv. Once such a
fix is made, this commit should be reverted.
2019-11-05 23:02:45 +05:30
Christopher Hunt
ef20309867
Merge pull request #7298 from chrahunt/remove/deprecate-skip-requirements-regex
...
Deprecate --skip-requirements-regex
2019-11-05 20:54:32 +08:00
Christopher Hunt
31460e5ed7
Merge pull request #7299 from chrahunt/refactor/make-setuptools-args-explicit
...
Make setuptools args explicit
2019-11-05 20:52:35 +08:00
Pradyun Gedam
57d34e0d9b
Allow whitespace in pyvenv.cfg
2019-11-05 14:54:52 +05:30
Pradyun Gedam
5332ec57c6
Apply suggestions from code review
2019-11-05 14:45:08 +05:30
Pradyun Gedam
fe9ae3ba75
Did someone ask why I dislike Python 2?
2019-11-05 14:45:08 +05:30