Randolf Scholz
be17dc0ac4
builtins.slice: more precise __new__ overloads and defaults for StopT and StepT. (#13008 )
2025-02-28 13:33:07 +01:00
Avasam
cadaaadfcb
Fix pyinstaller.utils.hooks.collect_entry_point return type ( #13111 )
2025-02-28 13:23:11 +01:00
Sebastian Rittau
f1b121cf29
[configparser] Fix missing fallback argument in SectionProxy.get ( #13559 )
...
Closes : #13556
2025-02-28 03:33:10 -08:00
Stephen Morton
1bd2a358c9
test suite characterizing dict.get() ( #13225 )
2025-02-28 12:18:56 +01:00
Colin Watson
8ebf8af91b
Weaken return type of Path.{glob,rglob} in 3.13 ( #13223 )
...
Since https://github.com/python/cpython/pull/117589 (at least),
`Path.glob` and `Path.rglob` return an `Iterator` rather than a
`Generator`.
2025-02-28 12:15:07 +01:00
Alex Waygood
4b2bed8f5f
Use stricter pyright settings on dirhash in CI ( #13558 )
2025-02-28 09:56:19 +00:00
Toshiki Kataoka
4d8812c64f
fix yield type of tqdm.as_completed ( #13557 )
2025-02-28 10:52:08 +01:00
Pierre Chapuis
b0c6fffe28
Introduce the _HashObject protocol ( #13553 )
...
This protocol corresponds to what is called "hash object" in the hashlib documentation. In particular, it includes the non-OpenSSL BLAKE2 implementations which do not inherit HASH.
2025-02-27 15:31:56 +01:00
Stephen Morton
14605d0c21
Complete importlib.readers ( #13356 )
2025-02-27 14:44:46 +01:00
Matthew Bradbury
3658ba83b8
tqdm: Improve wrapattr ( #13361 )
2025-02-27 14:44:03 +01:00
Lucas Hoffmann
f090e3724d
Fix constructor args for two vobject classes ( #13360 )
2025-02-27 14:08:49 +01:00
Loïc Simon
d0c8ac4d7b
Add stubs for dirhash package ( #13437 )
2025-02-27 14:07:22 +01:00
Alex Waygood
db7dbfe6cf
Use stricter pyright settings when testing hnswlib in CI ( #13552 )
2025-02-27 12:44:40 +00:00
Stephen Morton
40dc55c4be
Major update for the xml module ( #13349 )
2025-02-27 12:50:09 +01:00
mtnpke
0647903db3
Support configparser.UNNAMED_SECTION ( #13542 ) ( #13544 )
2025-02-27 12:19:38 +01:00
Hoël Bagard
8c6493925f
tensorflow: Allow tf.Tensor to be used in __getitem__ (#13549 )
2025-02-27 12:19:20 +01:00
Avasam
62feb28c29
Enable Ruff SIM ( #13309 )
2025-02-26 23:19:36 +01:00
Sebastian Rittau
915a348bfa
Third party stubtest: Print time per distribution ( #13547 )
2025-02-26 21:44:10 +01:00
Leonardo-Pike-Excell
527d724bf4
[networkx] Add annotations for MultiDiGraph ( #13319 )
2025-02-26 15:20:45 +01:00
Hoël Bagard
a1c185b0b2
tensorflow: add a few TensorFlow functions (#13364 )
2025-02-26 15:07:07 +01:00
Daniel Darabos
84c78c6442
Extract NetworkX types from docstrings ( #13458 )
2025-02-26 15:03:13 +01:00
Sebastian Rittau
9da1df60be
Update an itertool recipe from Python docs ( #13543 )
2025-02-26 14:04:04 +01:00
Victor Westerhuis
bef43fc46e
Relax functools.update_wrapper's parameter types ( #13491 )
2025-02-26 12:59:39 +01:00
Lennart Behme
2d4d7be276
[hnswlib] Add ArrayLike annotations and raise Numpy dependency ( #13538 )
2025-02-26 09:00:23 +01:00
Sabfo
2ca92a4140
PyInstaller: Complete types in build_main.pyi ( #13528 )
...
Co-authored-by: sobolevn <mail@sobolevn.me >
2025-02-25 21:40:38 +03:00
David Salvisberg
c4d7283c75
WebOb: Fix various issues and refactor some things ( #13487 )
2025-02-25 12:38:27 +01:00
Avasam
af32625bd4
setuptools._distutils typing improvements from merging types upstream (#13534 )
2025-02-25 00:51:37 +01:00
Brian Schubert
c27e41c33b
Make various email.Policy use sites generic over the message type ( #13274 )
2025-02-23 20:28:43 +01:00
Lennart Behme
9135645c30
Add type annotations for hnswlib ( #13529 )
2025-02-23 19:51:47 +01:00
Danny Yang
c230773d2c
[ez] Update link to style guide ( #13530 )
...
Update link to style guide
The style guide was merged with https://typing.readthedocs.io/en/latest/guides/writing_stubs.html#style-guide in https://github.com/python/typeshed/pull/13332 so the anchor no longer exists.
2025-02-23 07:54:28 -08:00
sobolevn
d86ad844f5
Bump python-jose to 3.4.* ( #13522 )
2025-02-23 14:25:36 +01:00
github-actions[bot]
fe64ce1141
[stubsabot] Bump zstd to 1.5.6.4 ( #13527 )
...
Release: https://pypi.org/pypi/zstd/1.5.6.4
Homepage: https://github.com/sergey-dryabzhinsky/python-zstd
Repository: https://github.com/sergey-dryabzhinsky/python-zstd
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/zstd
Diff: https://github.com/sergey-dryabzhinsky/python-zstd/compare/v1.5.6.3...v1.5.6.4
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 26.
- Total lines of Python code deleted: 5.
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
2025-02-23 15:33:02 +03:00
github-actions[bot]
45eb87bea9
[stubsabot] Bump decorator to 5.2.* ( #13526 )
...
Release: https://pypi.org/pypi/decorator/5.2.0
Repository: https://github.com/micheles/decorator
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/decorator
Diff: https://github.com/micheles/decorator/compare/5.1.1...5.2.0
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 36.
- Total lines of Python code deleted: 50.
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
2025-02-23 15:31:16 +03:00
Sabfo
a61270c38c
Fix typo in PyInstaller type alias ( #13525 )
2025-02-23 00:46:07 +01:00
Sam Bull
fd4fc6091d
Return BufferedIncrementalReader for some encodings ( #13523 )
2025-02-22 21:25:01 +01:00
sobolevn
adba4359d0
Bump zxcvbn to 4.5.* ( #13521 )
2025-02-22 15:18:33 -05:00
Avasam
844e4f7ee3
Updates to boltons types ( #13517 )
2025-02-22 21:06:56 +01:00
Jelle Zijlstra
ac8f2632ec
pygments: Fix return type of pygments.lexers.guess_lexer_for_filename ( #13515 )
2025-02-19 02:54:32 +01:00
Danny Yang
132456af62
Bump reportlab to 4.3.1 ( #13510 )
2025-02-18 20:04:19 +01:00
Danny Yang
d547f025b5
Bump braintree to 4.33.* ( #13511 )
2025-02-18 16:38:37 +01:00
Richard Si
4050dd42ef
Update importlib cache,source return types to StrPath ( #13509 )
...
This has been true since Python 3.6.
2025-02-17 16:05:15 -08:00
github-actions[bot]
0149a15551
[stubsabot] Bump django-import-export to 4.3.* ( #13460 )
...
Co-authored-by: stubsabot <>
2025-02-17 12:17:07 +00:00
github-actions[bot]
7e3bb86581
[stubsabot] Bump simplejson to 3.20.* ( #13505 )
...
Co-authored-by: stubsabot <>
2025-02-17 12:09:02 +00:00
Xiddoc
a447ad0f1a
Add pyperclip stubs ( #13502 )
2025-02-17 11:31:50 +01:00
sobolevn
1568194559
Bump zstd to 1.5.6.3 ( #13506 )
2025-02-17 11:25:48 +01:00
sobolevn
a640e08986
Update psutil to 7.0.* ( #13507 )
2025-02-17 11:23:20 +01:00
Richard Si
654d8c2457
Update compileall.compile_{dir, file, path} to return bool ( #13504 )
2025-02-15 15:33:01 -08:00
Michael H
cc8ca939c0
Fix type for run_coroutine_threadsafe ( #13498 )
2025-02-14 13:23:11 +00:00
Alyssa Coghlan
3f41b30535
Revert "Improve [Async]ContextDecorator type hinting ( #13416 )" ( #13436 )
...
This reverts commit 57d7c4334b .
The attempted fix loses all type overload information during type
inferencing, so postpone fixing the issue until we have a solution
which doesn't impose such a dramatic loss in functionality.
Reopens #13403
2025-02-13 20:49:51 -08:00
Shamil
a410f251ee
Remove pyOpenSSL stubs ( #13493 )
2025-02-12 10:42:43 +01:00