1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

8458 commits

Author SHA1 Message Date
Pradyun Gedam 573d89a6fd
Enter the RequirementTracker context in get_requirement_tracker 2019-11-10 12:34:59 +05:30
Pradyun Gedam c06d0aad99
Make mypy happy 2019-11-10 12:34:52 +05:30
Pradyun Gedam c40a9d332d
Update callsites for RequirementTracker 2019-11-10 12:33:25 +05:30
Pradyun Gedam b953ef4d18
Drop environment and directory management from RequirementTracker 2019-11-10 12:33:25 +05:30
Pradyun Gedam fcf1168a40
Add context manager for handling environment details 2019-11-10 12:33:20 +05:30
Chris Hunt 4a97d91a39
Add "get_requirement_tracker" 2019-11-10 12:31:53 +05:30
Pradyun Gedam e9ac67ee08
Make no-response bot, wait for less time (#7318) 2019-11-10 12:23:53 +05:30
Pradyun Gedam 1308270723
Switch to using just nox commands in the release process 2019-11-10 12:18:20 +05:30
Pradyun Gedam 22cdfd6ad1
nox: Add a command for uploading releases 2019-11-10 12:18:16 +05:30
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
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