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

1760 commits

Author SHA1 Message Date
Stéphane Bidoul
8f0ed32413 Redact URLs in Collecting... logs 2023-10-14 14:02:55 +02:00
Tzu-ping Chung
b551c09c4e
Merge pull request #12095 from sanderr/issue/11924-requirements-on-extras 2023-10-05 15:29:25 +08:00
Christian Clauss
dcb9dc0369 Wrap long lines 2023-10-03 09:13:55 +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
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
Stéphane Bidoul
3b4738cf9a Fix git version parsing issue 2023-09-17 20:06:35 +02:00
Sander Van Balen
fbda0a2ba7
Update tests/unit/resolution_resolvelib/test_requirement.py
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-09-08 16:32:42 +02:00
Itamar Turner-Trauring
577c86cff4
Merge branch 'main' into 2984-new-cache-lower-memory 2023-09-06 11:47:38 -04:00
Sander Van Balen
449522a828 minor fixes and linting 2023-09-06 15:16:22 +02:00
Sander Van Balen
ff9e15d813 Merge branch 'main' into issue/11924-requirements-on-extras 2023-09-06 15:08:02 +02:00
Sander Van Balen
3f3ae6f24d Merge branch 'main' into issue/11924-requirements-on-extras 2023-09-06 10:24:11 +02: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
Danny McClanahan
67ff36b838
move directory metadata test out of req install tests 2023-08-12 10:01:30 -04: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
Sander Van Balen
6ed231a52b added unit tests for install req manipulation 2023-07-26 11:48:42 +02:00
Sander Van Balen
fc86308c04 Merge branch 'main' into issue/11924-requirements-on-extras 2023-07-25 16:47:37 +02:00
Paul Moore
39aa7ed50e Fix a direct creation of RequirementPreparer in the tests 2023-07-18 21:00:11 +01:00
Ales Erjavec
660dafb37f Ignore errors in temporary directory cleanup
pip should not exit with an error when it fails to cleanup temporary
files after it has already successfully installed packages.
2023-07-17 15:15:41 +02:00
Stéphane Bidoul
45468f06d4 Pass revisions options explicitly to mercurial commands 2023-07-01 13:41:34 +02:00
Paul Moore
a0976d8832 Fix lint issues 2023-06-27 14:47:09 +01:00
Itamar Turner-Trauring
46f9154dae Make sure the file gets closed. 2023-06-27 09:11:31 -04:00
Itamar Turner-Trauring
7a609bfdd5 Mypy fix. 2023-06-27 09:11:31 -04:00
Itamar Turner-Trauring
fa87c9eb23 Testing for body methods of network cache. 2023-06-27 09:11:31 -04:00
Sander Van Balen
937d8f0b61 partial improvement 2023-06-21 17:34:30 +02:00
Paul Moore
5168881b43 Implement PEP 714 - rename dist-info-metadata 2023-06-08 10:10:15 +01:00
Paul Moore
232cc9dd52 Parse hash data before passing to MetadataFile 2023-06-08 10:09:09 +01:00
Paul Moore
93b274eee7 Missed a change to one of the tests 2023-06-07 21:44:48 +01:00
Paul Moore
cfb4923d5d Fix bad test data in test_parse_links_json 2023-06-07 21:21:32 +01:00
Paul Moore
6c3db098ff Fix parsing of JSON index dist-info-metadata values 2023-06-07 20:58:40 +01:00
Stéphane Bidoul
1ca4529dc0 Ignore invalid origin.json in wheel cache 2023-05-29 12:36:11 +02:00
Paul Moore
7ba5a625bc Revert "Merge pull request #11487 from pelson/feature/base-prefix-config"
This reverts commit 56e5fa3c0f, reversing
changes made to 2c09e9c760.
2023-04-21 17:05:49 +01:00
Stéphane Bidoul
bd746e3136 Introduce ireq.cached_wheel_source_link 2023-04-14 08:03:49 +02:00
Stéphane Bidoul
a6ef6485be Rename original_link_is_in_wheel_cache to is_wheel_from_cache
This more accurately reflects that it is not necessarily
related to original_link, original_link being the direct URL
link,
and the wheel cache can also be populated from sdists
URL discovered by the finder.
2023-04-14 08:03:48 +02:00
Stéphane Bidoul
8e2205d849 Add function to check hashes against known digests 2023-04-14 08:03:48 +02:00
Stéphane Bidoul
5119d4651e Improve conversion of direct_url.hash to hashes 2023-04-11 14:49:30 +02:00
pre-commit-ci[bot]
4221c23a2b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-10 16:45:34 +02:00
Ryan Shepherd
75db61099d Mock _permitted instead of is_local 2023-04-10 16:45:34 +02:00
Stéphane Bidoul
42b19abb69
Merge pull request #11936 from sbidoul/fix-link-hash-parsing
Various fixes to the link hash parser
2023-04-10 11:23:24 +02:00
q0w
110a26f0ed Merge branch 'main' into per-req-config-settings 2023-04-09 18:12:41 +03:00
q0w
0fbca36516 Remove merge_config_settings 2023-04-09 14:24:37 +03:00