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

4183 commits

Author SHA1 Message Date
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
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
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
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
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
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
4ad9b90eb2
Merge pull request #12281 from sbidoul/fix-12280-sbi
Fix git version parsing issue
2023-10-01 11:21:14 +02: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
Itamar Turner-Trauring
b944856a74
Merge branch 'main' into 2984-new-cache-lower-memory 2023-09-25 13:13:57 -04: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
Stéphane Bidoul
3b4738cf9a Fix git version parsing issue 2023-09-17 20:06:35 +02: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
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
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
Pradyun Gedam
0db5d95da0
Merge branch 'main' into extra-normalization 2023-09-10 10:19:13 +01:00
Itamar Turner-Trauring
b273cee6c5 Combine one entry, explain difference between entries better. 2023-09-06 16:48:49 -04:00
Itamar Turner-Trauring
577c86cff4
Merge branch 'main' into 2984-new-cache-lower-memory 2023-09-06 11:47:38 -04:00
Tzu-ping Chung
5db54f38cf
Merge pull request #12246 from cclauss/ruff-rules-C4-and-PERF 2023-09-06 16:45:17 +08:00
Tzu-ping Chung
7c8425b8a0
Merge pull request #12217 from thejcannon/jcannon/issue12215 2023-09-06 15:28:46 +08:00
Tzu-ping Chung
6328294d1f
Merge pull request #12224 from ddelange/ddelange-patch-1 2023-09-05 17:57:11 +08:00
Christian Clauss
85eea44623
Merge branch 'main' into ruff-rules-C4-and-PERF 2023-09-02 00:13:31 +02:00
Paul Ganssle
f612503035
Remove uses of utcnow in non-vendored code (#12006)
* Remove reference to utcnow

This cleans up some of the datetime handling in the self check.

Note that this changes the format of the state file, since the datetime
now uses ``.isoformat()`` instead of ``.strftime``. Reading an outdated
state file will still work on Python 3.11+, but not on earlier versions.

* Use aware datetime object in x509.CertificateBuilder
2023-08-31 09:28:31 +01:00
Christian Clauss
0a24a001fb Fix issues raised in code review 2023-08-28 15:04:54 +02:00
Christian Clauss
69a1e956da Ruff rules C4,C90,PERF 2023-08-28 14:51:13 +02:00
ddelange
510c6acf69
Filter out yanked links from available versions error message 2023-08-26 12:17:40 +02:00
ddelange
a7f70b0ad9
Merge branch 'main' into ddelange-patch-1 2023-08-23 12:28:37 +02:00
ddelange
361b02bce0
Add is_yanked to installation report 2023-08-14 19:09:50 +02:00
Danny McClanahan
bfa8a5532d
clean up duplicated code 2023-08-14 07:57:37 -04: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
67ff36b838
move directory metadata test out of req install tests 2023-08-12 10:01:30 -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
Joshua
864139adb0 add tests 2023-08-08 14:32:59 -05:00
Shantanu
d8cd93f4fa
Fix incorrect use of re function in tests (#12213) 2023-08-08 07:37:38 -05:00
Shantanu
901db9cf8d
Use a set for TargetPython.get_tags for performance (#12204) 2023-08-06 11:08:16 -05:00
Tzu-ping Chung
d0641740d5
Merge pull request #11394 from ales-erjavec/temp-cleanup-ignore-errors 2023-07-27 15:11:40 +08:00
Tzu-ping Chung
95640b8967
Merge pull request #12127 from uranusjr/no-setuptools-in-tests 2023-07-26 09:52:20 +08:00
Paul Moore
39aa7ed50e Fix a direct creation of RequirementPreparer in the tests 2023-07-18 21:00:11 +01:00