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

1645 commits

Author SHA1 Message Date
Stéphane Bidoul
108c055f72 Revert "xfail test_pip_wheel_ext_module_with_tmpdir_inside"
This reverts commit fab519dfd9.
2023-06-27 15:10:38 +02:00
Paul Moore
2d168e6e13
Merge pull request #12068 from pfmoore/python_option_subcommand
Error if the --python option is specified after the subcommand name
2023-06-08 14:20:19 +01:00
Paul Moore
bdef9159bd Use ruff for import sorting as well 2023-06-05 15:06:11 +01:00
Paul Moore
de8f0b5ed1 Lint 2023-06-05 12:11:41 +01:00
Paul Moore
16f145d306 Add a test for the error 2023-06-05 12:03:22 +01:00
Paul Moore
6aa4d48b23 Fix the test failure 2023-06-05 11:53:43 +01:00
Paul Moore
2966a3e395
Merge pull request #12044 from chriskuehl/fix-pep658-name-normalization
Canonicalize package names before comparison for PEP658 metadata
2023-05-21 11:29:43 +01:00
Chris Kuehl
5f0dd4c60e Add regression test for canonicalized package names for PEP658 metadata 2023-05-20 22:12:56 -05:00
Chris Kuehl
743e6a31af Add test for metadata mismatch (passes on main already) 2023-05-20 20:01:16 -05:00
Felipe Peter
e8b4bae05e Remove superfluous "together" 2023-05-21 00:29:06 +08:00
Felipe Peter
00ddca8bae Merge remote-tracking branch 'upstream/main' into fix-docs-for-pip-list-outdated-with-freeze-format 2023-05-21 00:25:32 +08:00
Stéphane Bidoul
4beca6b4c9 Improve test 2023-04-14 08:03:49 +02:00
Stéphane Bidoul
40cd79d6e5 Check hashes of cached built wheels agains origin source archive 2023-04-14 08:03:48 +02:00
Stéphane Bidoul
f7787f8798
Merge pull request #11949 from sbidoul/hash2hashes-sbi
Generate download_info.info.hashes in install report for direct URL archives
2023-04-14 08:02:57 +02:00
Stéphane Bidoul
5bfccfd62d Report requested_extras for editable requirements 2023-04-11 22:24:12 +02:00
Stéphane Bidoul
cdd9c95eac Add test for download_info hashes 2023-04-11 14:49:30 +02:00
Stéphane Bidoul
2f271838e7 Report requested_extras for direct URLs 2023-04-11 12:54:39 +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
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
0ffc54dca3 Add tests about link hashes validation 2023-04-10 13:21:00 +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
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
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
bc3feef9cc Remove setup.py install legacy 2023-03-31 09:47:09 +02:00
q0w
13459a809b
Merge branch 'main' into per-req-config-settings 2023-03-30 11:18:31 +03:00
Stéphane Bidoul
8f0201f67a Remove no-binary disabling the cache of locally built wheels 2023-03-29 08:41:09 +02:00
Pradyun Gedam
78ab4cf071
Bump all linters other than mypy (#11901) 2023-03-27 20:03:11 +01:00
Stéphane Bidoul
2cf9db2b5d
Merge pull request #11861 from sbidoul/deprecate-build-global-option-sbi
Deprecate --build-option and --global-option
2023-03-27 17:52:53 +02:00
q0w
c8b017dd34 Merge branch 'main' into per-req-config-settings 2023-03-27 16:57:49 +03:00
Stéphane Bidoul
6adb7af0aa Deprecate --build-option and --global-option 2023-03-27 11:56:16 +01:00
Stéphane Bidoul
8f52335ae5 xfail test with colon in console entry point name
This was supported by setup.py install but not by our wheel
installation logic.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
3fd8fde14b Remove with_wheel fixture
We install wheel by default in our test env.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
b31a308b08 Fix test_debian_egg_name_workaround
Run setup.py install manually since pip does not do it anymore.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
053b890e84 Update a few tests for removal of setup.py install
We now look for "Building wheel" instead of "running setup.py install"
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
a4c91124ce Update entrypoint tests
console_script entrypoints declarations are stricter when
we don't use setup.py install.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
7b11b5328b Update test_inspect_basic
wheel is now installed in our test venv by default.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
a38865597d Update test_install_subprocess_output_handling 2023-03-27 11:55:20 +01:00
Stéphane Bidoul
b11e8e4343 Test presence of dist-info instead of egg-info 2023-03-27 11:55:20 +01:00
Stéphane Bidoul
1a0b7f47a0 Remove test_installed_files_recorded_in_deterministic_order
This test will become useless anyway when we remove setup.py install
support.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul
8a1a8d7915 Always use pep 517 when the 'wheel' package is absent 2023-03-27 11:55:20 +01:00
Stéphane Bidoul
82b42c80f9
xfail test_pip_wheel_ext_module_with_tmpdir_inside (#11895) 2023-03-27 11:33:11 +01:00
q0w
9d160aac76 fix merge_config_settings 2023-03-26 16:08:50 +03:00
q0w
e000aab0dd apply cli settings for reqs 2023-03-20 17:09:28 +03:00
q0w
146b000308 fix merge_config_settings 2023-03-20 16:32:42 +03:00
q0w
2f6f36c2e5 merge cli and reqs config_settings 2023-03-20 11:48:44 +03:00
q0w
8b02c98bbc test merging multiple values 2023-03-20 08:07:26 +03:00