Commit Graph

10952 Commits

Author SHA1 Message Date
GiGaGon 34472bbc98 networkx: Add return types to algorithms/approximation/clique.pyi (#14660) 2025-08-29 08:41:34 +02:00
GiGaGon d019a53a3b networkx: Add all_simple_path target typing in simple_paths.pyi (#14656)
Adds typing for the target argument of all_simple_paths and all_simple_edge_paths, which per the documentation take either a single node or an iterable of nodes.
2025-08-28 20:09:28 +02:00
Dmitriy Vashurin c0fed911d6 Fix ipaddress._BaseNetwork.hosts return type (#14658)
Both `IPv4Network` and `IPv6Network` can return a single-element list instead of iterator.
2025-08-28 17:26:46 +02:00
github-actions[bot] 6ab603f8e6 [stubsabot] Bump yt-dlp to 2025.8.27 (#14654) 2025-08-28 13:19:51 +02:00
Sebastian Rittau 014818de79 [geopandas] Some @final methods are overridden (#14657) 2025-08-28 12:44:31 +02:00
Sebastian Rittau ff32af2c65 [CI] Move installing 3rd party pks into extra step (#14652) 2025-08-27 16:26:32 +02:00
Sebastian Rittau a64dfff8df [CI] Remove some Python 3.14 workarounds (#14651) 2025-08-27 06:47:06 -07:00
Chocobo1 61107f2860 Add type stub for PySocks (#14623) 2025-08-27 15:19:46 +02:00
Semyon Moroz dd31a8a879 [PyMeeus] Add stubs (#14649) 2025-08-27 12:30:12 +02:00
Semyon Moroz 49facf2de3 [lunardate] Add stubs (#14650) 2025-08-27 12:20:32 +02:00
Victorien 5509c51832 Fix return type of Distribution.origin property (#14648) 2025-08-27 09:48:21 +02:00
Marcell Perger c7b28cafb0 [tkinter.ttk] Added type annotations for Style, fix some other incomplete parts (#14348) 2025-08-27 07:02:44 +03:00
Ali Hamdan 4fa56fbc23 networkx: complete the link_analysis algorithms module (#14627) 2025-08-26 11:03:50 +02:00
Ali Hamdan 0183650090 networkx: (almost) complete the traversal algorithms module (#14628) 2025-08-26 11:03:01 +02:00
Semyon Moroz b4546ed878 [workalendar] Improve stubs (#14639) 2025-08-26 11:01:11 +02:00
Semyon Moroz 39c5eab70c [pyluach] Add stubs (#14640) 2025-08-26 10:58:43 +02:00
Semyon Moroz ba6bdc65ab [convertdate] Add stubs (#14646) 2025-08-26 10:54:47 +02:00
Brian Schubert dede8bcca6 [cachetools] Update to 6.2.* (#14644) 2025-08-26 10:52:23 +02:00
Semyon Moroz bc1737a300 [Jetson.GPIO] Update to ~=2.1.11 (#14647) 2025-08-26 10:50:31 +02:00
Jelle Zijlstra 7aa7cc914f daily stubtest: also pin to updated commit (#14645) 2025-08-26 07:31:07 +01:00
Semyon Moroz 91e2ed0953 [stdlib] Add more default values (#14632) 2025-08-24 16:56:42 +01:00
Jelle Zijlstra e8ba06f710 Add @disjoint_base decorator in the stdlib (#14599)
And fix some other new stubtest finds.
2025-08-24 07:27:14 -07:00
Semyon Moroz 2565f34946 [Authlib] Update to 1.6.2 (#14635) 2025-08-24 09:35:27 -04:00
github-actions[bot] 2ebe044fa4 [stubsabot] Mark pyRFC3339 as obsolete since 2.1.0 (#14633) 2025-08-24 08:37:52 -04:00
Jelle Zijlstra 92eab7b773 Fix __new__ issues in 3.14 (#14626) 2025-08-23 10:01:10 -07:00
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