Avasam
85834194c0
Update MaybeNone explanation location ( #14630 )
2025-08-23 11:18:13 +02:00
github-actions[bot]
d9e7f1a637
[stubsabot] Bump yt-dlp to 2025.8.22 ( #14629 )
...
Release: https://pypi.org/pypi/yt-dlp/2025.8.22
Repository: https://github.com/yt-dlp/yt-dlp
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/yt-dlp
Diff: https://github.com/yt-dlp/yt-dlp/compare/2025.08.20...2025.08.22
Stubsabot analysis of the diff between the two releases:
- 0 public Python files have been added.
- 0 files included in typeshed's stubs have been deleted.
- 2 files included in typeshed's stubs have been modified or renamed: `yt_dlp/cookies.py`, `yt_dlp/version.py`.
- Total lines of Python code added: 188.
- Total lines of Python code deleted: 179.
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-08-22 22:15:07 -07:00
Jelle Zijlstra
b6e21d05ae
Add some defaults and __slots__ for 3.14 ( #14622 )
2025-08-22 18:51:00 +02:00
Jelle Zijlstra
94b1880444
Fix some incorrect parameter defaults in the stdlib ( #14620 )
2025-08-22 09:11:52 -07:00
Stephen Morton
cc14cc6c2a
fix up some C signatures ( #14624 )
...
a few issues exposed after https://github.com/python/mypy/pull/18259 was merged
2025-08-22 06:58:55 -07:00
Stephen Morton
b7f7335f82
move platform.platorm on the allowlist to don't fix section ( #14625 )
2025-08-22 06:56:42 -07:00
Sebastian Rittau
f8773eb27a
Improve unittest.mock stubs ( #14421 )
...
* Add `patch()` default arguments.
* Forbid certain argument combinations for `patch()`.
* Reorder `patch()` overloads.
* Add `unsafe` argument.
* Add overloads for `path.multiple()`.
2025-08-22 09:31:26 +02:00
Ali Hamdan
94fe8571a8
networkx: fix and complete functions related to the dot interface ( #14600 )
2025-08-22 08:59:27 +02:00
Jelle Zijlstra
ca44e4c45d
Add __slots__ to third-party packages using stubdefaulter ( #14619 )
2025-08-21 15:38:13 -07:00
Jelle Zijlstra
573b57d8da
Add missing defaults to third-party stubs ( #14617 )
2025-08-21 13:36:29 -07:00
Jelle Zijlstra
82926783a4
stdlib: add a few more defaults ( #14618 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-08-21 21:13:06 +01:00
Jelle Zijlstra
f32d9f08bd
stdlib: add __slots__ ( #14611 )
2025-08-21 07:24:59 -07:00
Mantas
28abff1eb3
typing: make Generic definition reflect runtime ( #14583 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-08-21 07:21:11 -07:00
Semyon Moroz
7c9cc3b152
[stdlib] Update _interpreters ( #14615 )
...
Related #14588
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2025-08-21 07:19:12 -07:00
Sebastian Rittau
aeb9aa3349
Remove type alias _CallableElement in ElementTree ( #14476 )
...
Remove _CallableElement and make _ElementCallable recursive
2025-08-21 07:02:04 -07:00
Semyon Moroz
a3b9d1b603
[sqlite3] Deprecate enable_shared_cache from dbapi2 ( #14501 )
2025-08-21 13:40:35 +02:00
Semyon Moroz
5e0d6ee95e
[stdlib] Copy-edit deprecation messages ( #14614 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-08-21 12:12:00 +01:00
Semyon Moroz
9bb8c4f1f9
[stdlib] Add missing Final ( #14613 )
2025-08-21 12:18:20 +02:00
Stephen Morton
9b5b3ecb0a
clean up allowlists ( #14612 )
2025-08-21 10:54:17 +02:00
Brian Schubert
f3f5cccc33
[ujson] Mark as obsolete since 5.11.0 ( #14607 )
2025-08-21 09:21:42 +02:00
Jelle Zijlstra
02a4b07b54
stdlib: add some parameter defaults ( #14610 )
2025-08-21 09:17:33 +02:00
Brian Schubert
310c161af7
[yt-dlp] Update to 2025.8.20 ( #14609 )
2025-08-20 20:37:07 -07:00
renovate[bot]
bfd07fbb74
Update dependency pyright to v1.1.404 ( #14605 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 17:35:22 -07:00
Stephen Morton
d057b490d5
xml.etree: remove pytype workaround ( #14602 )
2025-08-20 16:56:16 -07:00
Jelle Zijlstra
e0f16117b8
Upgrade to mypy 1.17.1 ( #14598 )
2025-08-20 15:43:04 -07:00
Avasam
bcffe74551
networkx Final and Literal from python-type-stubs ( #14601 )
2025-08-20 23:33:48 +02:00
Sam Grayson
c901b9b81e
Correct type annotations on NetworkX DiGraphs ( #14595 )
2025-08-20 20:22:38 +02:00
Sam Grayson
4f82a8d3e1
Add detailed stubs for networkx.drawing.nx_pydot ( #14594 )
2025-08-20 20:19:14 +02:00
Avasam
82c02d3729
Remove duplicate get_external_apt_dependencies.py and re-standardize CI package install logs ( #14533 )
2025-08-20 18:48:37 +02:00
Stephen Rosen
2b271044dd
Update jsonschema stubs to track latest changes ( #14591 )
2025-08-20 17:16:24 +02:00
Baptiste Jonglez
b9d15678cd
[paramiko] Fix keepalive parameter type from int to float ( #14596 )
2025-08-20 14:55:57 +02:00
Ali Hamdan
81639ac9fd
networkx: complete the nx_latex module ( #14581 )
2025-08-20 12:04:06 +02:00
Joey Marianer
706320ca03
[lupa] Improve Lua table annotations ( #14359 )
...
Support get/set/del from Lua tables.
Lua table values are all Any because we can't typecheck across language boundaries.
Support unpack_returned_tuples in the LuaRuntime constructor.
2025-08-20 12:03:02 +02:00
Teis Johansen
673cecca79
[click-shell] Add stubs for click-shell ( #14578 )
2025-08-20 11:38:25 +02:00
Alex Waygood
8a56044cd6
Loosen Mapping.update() overloads a little ( #14593 )
2025-08-19 11:54:03 -07:00
Eric Eastwood
ab0968b416
Add logging.config.BaseConfigurator.config ( #14590 )
2025-08-19 15:00:05 +02:00
Brian Schubert
d270bb0dc1
Update typing_extensions to 4.15.0rc1 ( #14589 )
2025-08-18 17:26:04 -04:00
Ali Hamdan
4bdb14ab57
networkx: complete the layout module ( #14580 )
2025-08-18 21:37:56 +02:00
Semyon Moroz
540d4330ab
[flake8-builtins] Update to 3.0.* ( #14587 )
2025-08-18 12:12:05 +02:00
Ali Hamdan
e0dfd41739
networkx: (almost) complete the nx_pylab module ( #14579 )
2025-08-18 08:32:32 +02:00
Gatsik
fef5d941b0
Add Protocols for mapping inside dictionary view objects ( #14574 )
2025-08-18 08:22:34 +02:00
Semyon Moroz
85a787bba3
[stdlib] Mark constants as Final ( #14577 )
2025-08-15 13:19:03 +02:00
Sebastian Rittau
554701e9b6
Fix ItemsView.__contains__ ( #14576 )
2025-08-15 11:52:09 +02:00
Hunter Hogan
ef3115e7d0
complete networkx/digraph.pyi addresses #14499 follows #14509 ( #14569 )
2025-08-15 10:51:09 +02:00
Marti Raudsepp
893b9a760d
[django-filter] Improve constructor param types and add missing re-exports ( #14556 )
...
* Accept `StrOrPromise` for field labels -- allow Django lazy translated strings.
* Added `__init__` params that are inherited from parent classes. Reduced usage of loosely typed `*args, **kwargs`.
* Removed `__init__` method type hints from classes whose parameters are same as parent class -- to avoid duplicating them.
* Added missing re-exports to `django_filters/rest_framework/__init__.pyi` -- the imports in this file are clearly meant as re-export
2025-08-14 20:56:30 +02:00
H4rryK4ne
1455669dde
[django-filter] Replace list with more generic Sequence ( #14567 )
2025-08-14 20:55:14 +02:00
Semyon Moroz
1e537d6216
[sys] Add missing sys.flags ( #14572 )
2025-08-13 12:47:37 +02:00
Sebastian Rittau
1c6a015f41
Remove a superflous allowlist entry ( #14571 )
2025-08-13 12:26:30 +02:00
LinusMain
1286357b88
[oauthlib] Fix create_token_response() body argument type ( #14570 )
2025-08-13 12:08:22 +02:00
Semyon Moroz
21b9118f4a
[docutils] Bump to 0.22.* ( #14500 )
2025-08-13 12:05:55 +02:00