Damian Shaw
2a0acb595c
Update and provide fixes for mypy pre-commit ( #12389 )
...
* Update mypy to 1.6.1
* Fix mypy "Source file found twice under different module names" error
* Ignore type of intialized abstract class in tests
* Use more specific type ignore method-assign
* Type ignore for message.get_all
* Remove unused type ignore
* Add SizedBuffer type for xmlrpc.client.Transport subclass
* Add Self type for RequestHandlerClass in test
* Add type ignore for shutil.rmtree onexc handler
* Quote SizedBuffer
* Add news entry
* Remove no longer correct comment
* Update self import
* Also ignore type onerror=handler
* Update news entry
* Update news entry
2023-11-07 09:39:01 +00:00
Damian Shaw
68529081c2
Enforce f-strings via Ruff ( #12393 )
2023-11-07 09:14:56 +00:00
efflamlemaillet
6dbd9c68f0
Fix hg: "parse error at 0: not a prefix:" ( #12373 )
...
Use two hypen argument `--rev=` instead of `-r=`
Co-authored-by: Efflam Lemaillet <elemaillet@logilab.fr>
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-10-27 11:08:17 +02:00
Itamar Turner-Trauring
5e7cc16c3b
Fix parallel pip cache downloads causing crash ( #12364 )
...
Co-authored-by: Itamar Turner-Trauring <itamar@pythonspeed.com>
2023-10-18 23:14:22 +01:00
Stéphane Bidoul
8f0ed32413
Redact URLs in Collecting... logs
2023-10-14 14:02:55 +02:00
Wu Zhenyu
dba399fe6a
Fix #12166
...
- tests expected results indendation was off
- add bugfix news entry
2023-10-07 15:15:51 +08: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
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
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
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
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
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
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
Tzu-ping Chung
5db54f38cf
Merge pull request #12246 from cclauss/ruff-rules-C4-and-PERF
2023-09-06 16:45:17 +08:00
Sander Van Balen
3f3ae6f24d
Merge branch 'main' into issue/11924-requirements-on-extras
2023-09-06 10:24:11 +02: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