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

13738 commits

Author SHA1 Message Date
Ryan Shepherd
8e6604c4c1 Create 11889.bugfix.rst 2023-04-10 16:45:34 +02:00
Ryan Shepherd
75db61099d Mock _permitted instead of is_local 2023-04-10 16:45:34 +02:00
Ryan Shepherd
82f1d14772 Remove reference to utils.misc.normalize_path_cached 2023-04-10 16:45:34 +02:00
Ryan Shepherd
58882a1642 Move normalize_path caching to an instance on UninstallPathSet 2023-04-10 16:45:34 +02:00
Ryan Shepherd
1bb849682d Add explicit lru_cache maxsize for Python 3.7 2023-04-10 16:45:34 +02:00
Ryan Shepherd
3e23b57db5 typo 2023-04-10 16:45:34 +02:00
Ryan Shepherd
d46fd99de8 cache normalize_path in req_uninstall and is_local 2023-04-10 16:45:34 +02:00
Stéphane Bidoul
5d4a974b60
Merge pull request #11938 from sbidoul/fix-direct-url-hash-trusted-sbi
Don't trust link hash in direct URL dependencies
2023-04-10 16:43:51 +02:00
Paul Moore
62e932ad28
Merge pull request #11942 from Darsstar/correct-keyring-provider-default
Correct keyring provider default
2023-04-10 12:43:20 +01:00
Stéphane Bidoul
cd7aeb719a
Merge pull request #11922 from collinanderson/patch-1
Avoid parsing dist.version twice in a row
2023-04-10 13:23:23 +02:00
Stéphane Bidoul
453a5a7e07 Add test for combination of invalid link hash and good --hash 2023-04-10 13:21:00 +02:00
Stéphane Bidoul
f5f0302516 Fix --require-hashes trusting link hashes
When a direct URL with hash is provided as a dependency, --require-hash
incorrectly considered the link hash as trusted.
2023-04-10 13:21:00 +02:00
Stéphane Bidoul
0ffc54dca3 Add tests about link hashes validation 2023-04-10 13:21:00 +02:00
Stéphane Bidoul
42b19abb69
Merge pull request #11936 from sbidoul/fix-link-hash-parsing
Various fixes to the link hash parser
2023-04-10 11:23:24 +02:00
Dos Moonen
9605b97b48 Correct default from disabled to auto. See #11939. 2023-04-10 11:13:31 +02:00
Dos Moonen
ebcc368a51 Alter test_prompt_for_keyring_if_needed to make sure we test the default is auto. 2023-04-10 11:05:34 +02:00
Tzu-ping Chung
aebc0c5fc3
Merge pull request #11940 from sbidoul/imp-req-file-parser-sbi 2023-04-10 15:46:55 +08:00
Tzu-ping Chung
3ac7e10c30
Merge pull request #11634 from q0w/per-req-config-settings 2023-04-10 15:45:00 +08:00
q0w
110a26f0ed Merge branch 'main' into per-req-config-settings 2023-04-09 18:12:41 +03:00
Stéphane Bidoul
7cb863e2fc
Stop propagating config_settings to dependencies (#11941) 2023-04-09 09:41:04 -05:00
q0w
0fbca36516 Remove merge_config_settings 2023-04-09 14:24:37 +03:00
Stéphane Bidoul
2f1d4a0218 Warn if --hash is used on a line without requirement
in a requirements file
2023-04-09 11:03:49 +02:00
Stéphane Bidoul
89e7208784
Improve readability
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2023-04-08 10:45:07 +02:00
Stéphane Bidoul
d4274db727 Simplify assertion 2023-04-08 00:08:17 +02:00
Stéphane Bidoul
540f8fbb6d Keep empty hash, as before 2023-04-07 23:49:38 +02:00
Stéphane Bidoul
48152bb2e1 pep 658 hashes are not URL fragment hashes 2023-04-07 23:44:22 +02:00
Stéphane Bidoul
6e5d467822 Various fixes to the link hash parser 2023-04-07 23:07:01 +02:00
Collin Anderson
fc295156dc
Avoid parsing dist.version twice in a row
dist.version is a property that parses the version string each time, so it's slightly faster to only parse it once.
2023-04-04 13:02:23 -04:00
Paul Moore
81f6a9fcc6
Merge pull request #11916 from pfmoore/vendoring-updates
Vendoring updates for 23.1
2023-04-03 21:22:55 +01:00
Paul Moore
84d3591dcf
Add documentation on how to fix a local patch during revendoring (#11918) 2023-04-02 19:04:14 +01:00
Paul Moore
c0ba81850b Upgrade pygments to 2.14.0 2023-04-02 14:53:28 +01:00
Paul Moore
d2852d0ad2 Upgrade tenacity to 8.2.2 2023-04-02 14:43:48 +01:00
Paul Moore
d7e0248326 Upgrade setuptools to 67.6.1 2023-04-02 14:34:24 +01:00
Paul Moore
54f6384468 Upgrade typing_extensions to 4.5.0 2023-04-02 11:44:08 +01:00
Paul Moore
ffac4e4611 Upgrade rich to 13.3.3 2023-04-02 11:43:52 +01:00
Paul Moore
141523c5ff Upgrade urllib3 to 1.26.15 2023-04-02 11:43:36 +01:00
Paul Moore
2b9effb4c7 Upgrade platformdirs to 3.2.0 2023-04-02 11:43:17 +01:00
Paul Moore
e0b89b8ac2 Upgrade msgpack to 1.0.5 2023-04-02 11:43:01 +01:00
Stéphane Bidoul
295a35bd51
Merge pull request #11874 from sbidoul/drop-setup-py-install-sbi
Drop `setup.py install` support
2023-03-31 22:41:28 +02:00
q0w
ae23fc2154 fix typing 2023-03-31 11:48:11 +03:00
q0w
6ea91c84c2 Add more test cases 2023-03-31 11:46:19 +03:00
Stéphane Bidoul
849dcbd6a8 Remove more traces of setup.py install 2023-03-31 09:47:09 +02:00
Stéphane Bidoul
e5deb4dd8d Adapt test to the removal of setup.py install code path 2023-03-31 09:47:09 +02:00
Stéphane Bidoul
0060bfa7e3 Rework test_show_with_files_from_legacy
It relied on a function that does not exist anymore.
2023-03-31 09:47:09 +02:00
Stéphane Bidoul
64967c7907 Fix test_install_requirements_with_options
This test depended on setup.py install, and tbh, I don't see a good
reason to attempt an install when testing the requirements file parser.
2023-03-31 09:47:09 +02:00
Stéphane Bidoul
bc3feef9cc Remove setup.py install legacy 2023-03-31 09:47:09 +02:00
Stéphane Bidoul
48986a6d1f Don't fallback to setup.py install when build failed 2023-03-31 09:47:08 +02:00
Stéphane Bidoul
fded808c8c
Merge pull request #11872 from sbidoul/rm-no-binary-disables-wheel-cache-sbi
Remove `--no-binary` disabling wheel cache
2023-03-31 09:44:12 +02:00
q0w
13459a809b
Merge branch 'main' into per-req-config-settings 2023-03-30 11:18:31 +03:00
Pradyun Gedam
10d9cbc601
Reduce resolver rounds by an order of magnitude (#11908)
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2023-03-29 21:03:36 +01:00