Tzu-ping Chung
8e5df328a8
Merge pull request #12024 from uranusjr/no-import-from-conftest
2023-10-03 17:41:16 +08:00
Tzu-ping Chung
2fad07e6e2
Merge branch 'main' into no-import-from-conftest
2023-10-03 16:11:30 +08:00
Christian Clauss
dcb9dc0369
Wrap long lines
2023-10-03 09:13:55 +02:00
Stéphane Bidoul
ff05e4224b
Merge pull request #12289 from lgeiger/noqa
...
Remove outdated `noqa` comments
2023-10-01 19:29:09 +02:00
Stéphane Bidoul
cb21251ffc
Merge pull request #12307 from sbidoul/postpone-deprecations
...
Postpone some deprecation removals
2023-10-01 19:13:05 +02:00
Stéphane Bidoul
1082eb1262
Merge pull request #12306 from pradyunsg/vcs-ref
...
Use `-r=...` instead of `-r ...` for VCS CLI
2023-10-01 16:59:57 +02:00
Pradyun Gedam
6d4b551ccc
Merge pull request #12303 from sbidoul/drop-isort-flake8-cfg
...
Drop isort and flake8 settings from setup.cfg
2023-10-01 14:47:15 +01:00
Pradyun Gedam
408b5248dc
📰
2023-10-01 14:45:29 +01:00
Pradyun Gedam
389cb799d0
Use `-r=...` instead of `-r ...` for hg
...
This ensures that the resulting revision can not be misinterpreted as an
option.
2023-10-01 14:45:29 +01:00
Stéphane Bidoul
ccc4bbcdfd
Postpone some deprecation removals
2023-10-01 15:05:20 +02:00
Pradyun Gedam
11ff957838
Merge pull request #12292 from hauntsaninja/literal-type
...
Avoid use of 2020-resolver and legacy-resolver
2023-10-01 13:56:57 +01:00
Pradyun Gedam
f6b445be48
Merge pull request #12304 from pradyunsg/better-rich-presentation
...
Rework how the logging stack handles rich objects
2023-10-01 13:20:19 +01:00
Pradyun Gedam
3f6e81694f
Rework how the logging stack handles rich objects
...
This makes it possible to render content via rich without a magic string
and relies on a proper mechanism supported by the logging stack.
2023-10-01 12:24:10 +01:00
Stéphane Bidoul
9692d48822
Drop isort and flake8 settings from setup.cfg
...
Since we use ruff, these are not used anymore.
2023-10-01 11:51:37 +02:00
Stéphane Bidoul
71df02c412
Merge pull request #12199 from jeffwidman/patch-1
...
Replace python2 deprecation with a badge of supported python versions
2023-10-01 11:22:50 +02:00
Stéphane Bidoul
4ad9b90eb2
Merge pull request #12281 from sbidoul/fix-12280-sbi
...
Fix git version parsing issue
2023-10-01 11:21:14 +02:00
Paul Moore
2ba5acc8a4
Merge pull request #11143 from itamarst/2984-new-cache-lower-memory
...
New HTTP cache with lower memory usage
2023-09-26 16:50:14 +01:00
Itamar Turner-Trauring
cc14055336
Merge branch 'main' into 2984-new-cache-lower-memory
2023-09-26 10:38:42 -04:00
Itamar Turner-Trauring
64d2dc3253
Fix lints
2023-09-26 10:30:15 -04:00
Tzu-ping Chung
ed113ff23b
Merge pull request #12107 from sethmlarson/vendor-truststore
2023-09-26 17:49:25 +08:00
Pradyun Gedam
dd28ff0f8b
Merge pull request #12294 from hauntsaninja/tighten-config
...
Follow imports for more vendored dependencies
2023-09-25 19:58:47 +01:00
Itamar Turner-Trauring
b944856a74
Merge branch 'main' into 2984-new-cache-lower-memory
2023-09-25 13:13:57 -04:00
hauntsaninja
ac19f79049
Follow imports for more vendored dependencies
...
This will allow mypy to notice if you e.g. try to call a colorama
function that does not exist. Note we won't report any errors in
vendored code due to the ignore_errors config above.
It would also be quite easy to let mypy look at pkg_resources code, but
this would involve the addition of like three type ignores.
2023-09-23 17:50:25 -07:00
hauntsaninja
666be3544b
Avoid use of 2020-resolver and legacy-resolver
2023-09-23 13:34:06 -07:00
Shantanu
eddd9ddb66
Enable mypy's strict equality checks ( #12209 )
...
This makes mypy check more behaviours within the codebase.
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-09-23 17:10:13 +01:00
Lukas Geiger
3d6b0be901
Remove outdated noqa comments
2023-09-22 01:28:54 +01:00
Paul Moore
4b0e7e5c44
Merge pull request #12286 from notatallshaw/clarify---prefer-binary
...
Clarify --prefer-binary in cli help and docs
2023-09-21 11:21:54 +01:00
Damian Shaw
677c3eed9f
Add news
2023-09-20 18:53:33 -04:00
Damian Shaw
184e482626
Clarify --prefer-binary
2023-09-20 18:48:52 -04:00
Stéphane Bidoul
3b4738cf9a
Fix git version parsing issue
2023-09-17 20:06:35 +02:00
Sander Van Balen
0f543e3c7e
made assertions more robust
2023-09-13 16:51:54 +02:00
Sander Van Balen
89b68c6bf9
Merge branch 'main' into issue/11924-requirements-on-extras
2023-09-13 15:20:25 +02:00
Sander Van Balen
46707a4225
Merge branch 'issue/11924-requirements-on-extras' of github.com:sanderr/pip into issue/11924-requirements-on-extras
2023-09-13 15:14:17 +02:00
Sander Van Balen
ce949466c9
fixed argument name in docstring
2023-09-13 15:14:07 +02:00
Tzu-ping Chung
0827d76bd2
Merge pull request #12002 from uranusjr/extra-normalization
2023-09-13 21:01:31 +08:00
Tzu-ping Chung
9ba2bb90fb
Straighten up extra comps across metadata backends
...
The importlib.metadata and pkg_resources backends unfortunately
normalize extras differently, and we don't really want to continue using
the latter's logic (being partially lossy while still not compliant to
standards), so we add a new abstraction for the purpose.
2023-09-13 16:45:44 +08:00
Tzu-ping Chung
7127fc96f4
Prevent eager extra normalization
...
This removes extra normalization when metadata is loaded into the data
structures, so we can obtain the raw values later in the process during
resolution.
The change in match_markers is needed because this is relied on by the
legacy resolver. Since we removed eager normalization, we need to do
that when the extras are used instead to maintain compatibility.
2023-09-13 13:40:35 +08:00
Tzu-ping Chung
90c4a4230d
Manually build package and revert xfail marker
2023-09-13 13:40:35 +08:00
Itamar Turner-Trauring
e3cd6ee482
Merge branch 'main' into 2984-new-cache-lower-memory
2023-09-12 19:37:16 -04:00
Seth Michael Larson
bff1e6a67b
Vendor truststore 0.8.0
2023-09-12 15:56:31 -05:00
Seth Michael Larson
fca773ccde
Allow truststore to not import on Python 3.9 and earlier
2023-09-12 15:56:31 -05:00
Seth Michael Larson
63f19b5ead
Explicitly require Python 3.10+ for vendoring task
2023-09-12 15:56:31 -05:00
Seth Michael Larson
44857c6e82
Update error message to forward platform-specific error
2023-09-12 15:56:30 -05:00
Seth Michael Larson
9a65b887a4
Use absolute instead of relative imports for vendored modules
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2023-09-12 15:56:30 -05:00
Seth Michael Larson
9ee4b8ce36
Vendor truststore
2023-09-12 15:56:29 -05:00
Tzu-ping Chung
99bea32523
Merge branch 'main' into extra-normalization
2023-09-12 16:16:43 +08:00
Tzu-ping Chung
c94d81a36d
Setuptools now implements proper normalization
2023-09-12 16:00:40 +08:00
Tzu-ping Chung
8c24fd2a80
Merge pull request #12276 from uranusjr/skip-new-setuptools-extra-incompat
2023-09-12 15:08:10 +08:00
Tzu-ping Chung
dc188a87e4
Skip test failing on new Python/setuptools combo
...
This is a temporary measure until we fix the importlib.metadata backend.
2023-09-12 14:29:53 +08:00
Itamar Turner-Trauring
a2d08523d6
Merge branch 'main' into 2984-new-cache-lower-memory
2023-09-11 09:45:34 -04:00