Commit Graph

14163 Commits

Author SHA1 Message Date
Pradyun Gedam f53f04dd81
Merge pull request #12325 from pypa/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-07 20:03:21 +01:00
Pradyun Gedam 53059d316a
Merge pull request #12324 from pypa/dependabot/github_actions/dessant/lock-threads-4
Bump dessant/lock-threads from 3 to 4
2023-10-07 20:02:45 +01:00
dependabot[bot] 0042cc94cc
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 19:00:51 +00:00
dependabot[bot] 431cf5af82
Bump dessant/lock-threads from 3 to 4
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 4.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 19:00:48 +00:00
Pradyun Gedam fd608c35cc
Merge pull request #12051 from kurtmckee/add-dependabot-for-actions
Add a dependabot config to update CI actions monthly
2023-10-07 19:57:31 +01:00
Pradyun Gedam 9b7348269b
Fix zsh completion script (#12173) 2023-10-07 14:29:52 +01:00
Wu Zhenyu dba399fe6a Fix #12166
- tests expected results indendation was off
- add bugfix news entry
2023-10-07 15:15:51 +08:00
Kurt McKee ac962890b5
Add a dependabot config to update CI actions monthly 2023-10-06 09:49:52 -05:00
Tzu-ping Chung b551c09c4e
Merge pull request #12095 from sanderr/issue/11924-requirements-on-extras 2023-10-05 15:29:25 +08:00
Stéphane Bidoul dfaac0a688
Merge pull request #12312 from cclauss/patch-1
Wrap long lines
2023-10-03 19:13:31 +02:00
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