ddelange
510c6acf69
Filter out yanked links from available versions error message
2023-08-26 12:17:40 +02:00
Danny McClanahan
50a2fb4f9f
add mock server to test that each dist is downloaded exactly once
2023-08-14 07:57:37 -04:00
Danny McClanahan
2e365bdab1
move test_download_metadata mock pypi index utilities to conftest.py
2023-08-14 07:57:37 -04:00
Danny McClanahan
8704c7a5db
remove unnecessary fixture
2023-08-12 10:51:33 -04:00
Danny McClanahan
e27af2c3c9
add notes on hash mismatch testing
2023-08-12 10:46:22 -04:00
Danny McClanahan
e86da734c7
add test for hash mismatch
2023-08-12 10:01:30 -04:00
Danny McClanahan
8e305f262f
add test for the *existing* install --dry-run
functionality
2023-08-12 10:01:30 -04:00
Tzu-ping Chung
95640b8967
Merge pull request #12127 from uranusjr/no-setuptools-in-tests
2023-07-26 09:52:20 +08:00
Pradyun Gedam
324dd44495
Merge pull request #11417 from Freed-Wu/fix-zsh
2023-07-15 01:57:38 +01:00
Роман Донченко
393ccfbc31
test_freeze_with_setuptools: use mocks
...
This makes it possible to test both branches on any Python version.
2023-07-07 01:46:03 +03:00
Роман Донченко
5dc65eabb7
Don't exclude setuptools, distribute & wheel from freeze output on Python 3.12+
...
Due to the advent of build isolation, it is no longer necessary to install
setuptools and wheel in an environment just to install other packages.
Moreover, on Python 3.12 both ensurepip [1] and virtualenv [2] are to stop
installing setuptools & wheel by default. This means that when those packages
are present in a Python 3.12+ environment, it is reasonable to assume that
they are runtime dependencies of the user's project, and therefore should be
included in freeze output.
distribute is just obsolete.
[1] https://github.com/python/cpython/issues/95299
[2] https://github.com/pypa/virtualenv/pull/2558
2023-07-07 01:46:03 +03:00
Tzu-ping Chung
60d3c0447e
Skip tests that do not make sense on Python 3.12+
2023-07-04 17:04:09 +08:00
Tzu-ping Chung
4a014f953d
Replace distutils with sysconfig on Python 3.12+
2023-07-04 17:03:11 +08:00
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
Wu Zhenyu
fb454572b2
Fix pip completion --zsh
2023-04-04 15:52:05 +08: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