Skip to content

MINOR: [Python] Bump the python-stubs group in /python with 9 updates - #55788

Merged
AlenkaF merged 3 commits into
mainfrom
dependabot/pip/python/python-stubs-03147b0e59
Nov 27, 2026
Merged

AlenkaF merged 3 commits into
mainfrom
dependabot/pip/python/python-stubs-03147b0e59

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mypy, pandas-stubs, scipy-stubs, ty, types-cffi, types-psutil, types-python-dateutil, types-requests and typing-extensions to permit the latest version.
Updates mypy from 2.4.0 to 2.4.1

Changelog

Sourced from mypy's changelog.

Mypy 2.4.1

  • Process overloads as a whole in two-phase type checking (Ivan Levkivskyi, PR 22231)
  • Skip recursive setup for frame-private nested functions in mypyc (Piotr Sawicki, PR 22187)

Acknowledgements

Thanks to all mypy contributors who contributed to this release:

  • A5rocks
  • Adam Dangoor
  • Alex Waygood
  • Ali Hamdan
  • Brian Helba
  • Chad Dombrova
  • David Foster
  • dnwpark
  • Edgar Ramírez Mondragón
  • Giorgos Michas
  • Ivan Levkivskyi
  • Jelle Zijlstra
  • Jukka Lehtosalo
  • Marc Mueller
  • Michael R. Crusoe
  • NIYONSHUTI Emmanuel
  • Piotr Sawicki
  • Shantanu
  • themylogin
  • Vaggelis Danias
  • Willy Bruns

I'd also like to thank my employer, Dropbox, for supporting mypy development.

Mypy 2.3

We've just uploaded mypy 2.3.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

The Upcoming Switch to the New Native Parser

We are planning to enable the new native parser (--native-parser) by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.

Mypyc Free-threading Memory Safety

... (truncated)

Commits

Updates pandas-stubs from 3.0.5.260914 to 3.1.0.261029

Commits
  • 2a4a9c1 Version 3.1.0.261029
  • 9490b69 BLD: update to pandas 3.1.0 and adapt stubs and tests (#2036)
  • 0bdb355 TYP: reject complex ordering for Series and Index (#2016)
  • fadb447 TYP: drop the unreachable Series.rmatmul(DataFrame) and document operator...
  • f72cd2a TYP: Remove mode property from BaseBuffer protocol #1956 (#2041)
  • 9dccbf5 DOC: require public API status before adding stubs (#2039)
  • e201493 TST: use canonical IANA time zones in tests (#2033)
  • 8dd6d91 TST: 🌙 fix nightly dtype warnings and Index.where test data (#2028)
  • 36a22a8 TYP: Include missing values in scalar indexer returns (#1946)
  • 1026204 TYP: accept list bounds in DataFrame.clip (#2022)
  • Additional commits viewable in compare view

Updates scipy-stubs from 1.17.1.5 to 1.18.1.1

Release notes

Sourced from scipy-stubs's releases.

v1.18.1.1

This release targets SciPy 1.18.1 and supports Python 3.12–3.15, NumPy 2.0–2.7, and optype 0.15–0.19.

What's Changed

✨ Improvements

scipy.cluster

scipy.constants

scipy.fft

scipy.fftpack

scipy.interpolate

scipy.linalg

scipy.ndimage

scipy.optimize

scipy.signal

... (truncated)

Commits
  • 8013263 🔖 scipy-stubs 1.18.1.1
  • 64d3c12 Merge pull request #2388 from scipy:stats.dirichlet_multinomial/shape-typing
  • 1493f1e ✨ stats.dirichlet_multinomial: shape-typing support
  • c404853 Merge pull request #2387 from scipy:automate-relnotes
  • d2d8b0a 🤖 create draft release with custom release notes when publishing to PyPI
  • d8de915 🔨 custom release notes script
  • 5f9eb81 Merge pull request #2386 from scipy:stats.uniform_direction/shape-typing
  • c30655a ✨ stats.uniform_direction: shape-typing support
  • 1bc14df Merge pull request #2385 from scipy/stats.vonmises_fisher/shape-typing
  • d5879e4 ✨ stats.vonmises_fisher: shape-typing support
  • Additional commits viewable in compare view

Updates ty from 0.0.99 to 0.0.107

Release notes

Sourced from ty's releases.

0.0.107

Release Notes

Released on 2026-11-18.

Preview features

  • Show progress and handle Ctrl-C during initial file indexing (#30492)

Bug fixes

  • Fix a hang when specializing generic constructors (#30510)
  • Isolate uv-managed scripts from the project environment (#30461)

Other changes

  • Reject union narrowing attempts with failed nested calls (#30217)
  • Skip enum-complement recognition without exclusions (#30539)

Contributors

Install ty 0.0.107

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.107/ty-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.107/ty-installer.ps1 | iex"

Download ty 0.0.107

File Platform Checksum
ty-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ty-x86_64-apple-darwin.tar.gz Intel macOS checksum
ty-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ty-i686-pc-windows-msvc.zip x86 Windows checksum
ty-x86_64-pc-windows-msvc.zip x64 Windows checksum
ty-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.107

Released on 2026-11-18.

Preview features

  • Show progress and handle Ctrl-C during initial file indexing (#30492)

Bug fixes

  • Fix a hang when specializing generic constructors (#30510)
  • Isolate uv-managed scripts from the project environment (#30461)

Other changes

  • Reject union narrowing attempts with failed nested calls (#30217)
  • Skip enum-complement recognition without exclusions (#30539)

Contributors

0.0.106

Released on 2026-11-18.

Breaking changes

  • Split incompatible TypeIs narrowings into two new rules (#29949)

Bug fixes

  • Avoid exponential constraint search in generic constructor inference (#30474)
  • Check fixed prefixes when assigning ParamSpec callables to gradual Concatenate (#30470)
  • Fix stack overflow checking a generic base initializer (#30473)
  • Fix variance inference for frozen Pydantic models on 3.12 and earlier (#30452)
  • Preserve compatible overloads when partially binding a union argument (#30446)
  • Preserve fixed parameters when comparing gradual callables (#30509)

LSP server

  • Report workspace diagnostics while scripts initialize (#30410)
  • Sync script environments when opening the file, when using diagnosticMode: "openFilesOnly" (#30381)

Configuration changes

  • Add project-manager.script = "uv" (#30489)

... (truncated)

Commits
  • 85b1fd0 Bump version to 0.0.107 (#5073)
  • c2e9b05 Replace the PR template's Test Plan with optional reviewer notes (#5068)
  • 4fbc381 Update PEP 723 typing FAQ to recommend project-manager.script (#5065)
  • 6290d86 Update script guide to mention project-manager.script (#5064)
  • 65a9fed Modernize ruff configuration and scripts (#5060)
  • 523fabd Bump version to 0.0.106 (#5059)
  • 5351a20 Auto-generate reference documentation for ty-extensions (#5056)
  • d83e035 Trigger the VS Code extension release after stable ty releases (#5028)
  • 8b0038b Update documentation to mention ty-extensions package (#5055)
  • b9004d5 Bump version to 0.0.105 (#5049)
  • Additional commits viewable in compare view

Updates types-cffi from 2.1.0.20260827 to 2.1.0.20261122

Commits

Updates types-psutil from 7.2.2.20260906 to 7.2.2.20261122

Commits

Updates types-python-dateutil from 2.9.0.20261021 to 2.9.0.20261122

Commits

Updates types-requests from 2.33.0.20261006 to 2.33.0.20261030

Commits

Updates typing-extensions to 4.16.0

Release notes

Sourced from typing-extensions's releases.

4.16.0

No changes since 4.16.0rc2.

Changes since 4.15.0:

  • Make typing_extensions.TypeAliasType's __module__ attribute writable. Backport of CPython PR #149172.
  • Fix setting of __required_keys__ and __optional_keys__ when inheriting keys with the same name.
  • Add support for AsyncIterator, io.Reader, io.Writer and os.PathLike protocols as bases for other protocols.
  • Fix incorrect behaviour on Python 3.9 and Python 3.10 that meant that calling isinstance with typing_extensions.Concatenate[...] or typing_extensions.Unpack[...] as the first argument could have a different result in some situations depending on whether or not a profiling function had been set using sys.setprofile. This affected both CPython and PyPy implementations. Patch by Brian Schubert.
  • Fix __init_subclass__() behavior in the presence of multiple inheritance involving an @deprecated-decorated base class. Backport of CPython PR #138210 by Brian Schubert.
  • Raise TypeError when attempting to subclass typing_extensions.ParamSpec on Python 3.9. The typing implementation has always raised an error, and the typing_extensions implementation has raised an error on Python 3.10+ since typing_extensions v4.6.0. Patch by Brian Schubert.
  • Add the bound, covariant, contravariant, and infer_variance parameters to TypeVarTuple.
  • Officially support the bound, covariant, contravariant and infer_variance parameters to ParamSpec. Improve the validation of these parameters at runtime.
  • Rename typing_extensions.Sentinel to typing_extensions.sentinel, following the name that has been adopted for builtins.sentinel on Python 3.15. typing_extensions.Sentinel is retained as a soft-deprecated alias for backwards compatibility.
  • Add support for pickling sentinels.
  • Sentinels now preserve their identity when copied or deep-copied.
  • Deprecate passing name as a keyword argument or repr as a positional argument to the sentinel constructor.
  • The default repr of a sentinel X = sentinel("X") is now X rather than <X>.
  • Deprecate arbitrary attribute assignments to sentinels.
  • Deprecate subclassing sentinels.
  • Add support for Python 3.15.
  • Avoid a DeprecationWarning when deprecated is applied to a coroutine function on Python 3.14.0.
Changelog

Sourced from typing-extensions's changelog.

Release 4.16.0 (July 2, 2026)

No user-facing changes since 4.16.0rc2.

Release 4.16.0rc2 (June 25, 2026)

  • Avoid a DeprecationWarning when deprecated is applied to a coroutine function on Python 3.14.0.

Release 4.16.0rc1 (June 24, 2026)

  • Make typing_extensions.TypeAliasType's __module__ attribute writable. Backport of CPython PR #149172.
  • Fix setting of __required_keys__ and __optional_keys__ when inheriting keys with the same name.
  • Add support for AsyncIterator, io.Reader, io.Writer and os.PathLike protocols as bases for other protocols.
  • Fix incorrect behaviour on Python 3.9 and Python 3.10 that meant that calling isinstance with typing_extensions.Concatenate[...] or typing_extensions.Unpack[...] as the first argument could have a different result in some situations depending on whether or not a profiling function had been set using sys.setprofile. This affected both CPython and PyPy implementations. Patch by Brian Schubert.
  • Fix __init_subclass__() behavior in the presence of multiple inheritance involving an @deprecated-decorated base class. Backport of CPython PR #138210 by Brian Schubert.
  • Raise TypeError when attempting to subclass typing_extensions.ParamSpec on Python 3.9. The typing implementation has always raised an error, and the typing_extensions implementation has raised an error on Python 3.10+ since typing_extensions v4.6.0. Patch by Brian Schubert.
  • Add the bound, covariant, contravariant, and infer_variance parameters to TypeVarTuple.
  • Officially support the bound, covariant, contravariant and infer_variance parameters to ParamSpec. Improve the validation of these parameters at runtime.
  • Rename typing_extensions.Sentinel to typing_extensions.sentinel, following the name that has been adopted for builtins.sentinel on Python 3.15. typing_extensions.Sentinel is retained as a soft-deprecated alias for backwards compatibility.
  • Add support for pickling sentinels.
  • Sentinels now preserve their identity when copied or deep-copied.
  • Deprecate passing name as a keyword argument or repr as a positional argument to the sentinel constructor.
  • The default repr of a sentinel X = sentinel("X") is now X rather than <X>.
  • Deprecate arbitrary attribute assignments to sentinels.
  • Deprecate subclassing sentinels.
  • Add support for Python 3.15.

Release 4.15.0 (August 25, 2025)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [mypy](https://github.com/python/mypy), [pandas-stubs](https://github.com/pandas-dev/pandas-stubs), [scipy-stubs](https://github.com/scipy/scipy-stubs), [ty](https://github.com/astral-sh/ty), [types-cffi](https://github.com/python/typeshed), [types-psutil](https://github.com/python/typeshed), [types-python-dateutil](https://github.com/python/typeshed), [types-requests](https://github.com/python/typeshed) and [typing-extensions](https://github.com/python/typing_extensions) to permit the latest version.

Updates `mypy` from 2.4.0 to 2.4.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.4.0...v2.4.1)

Updates `pandas-stubs` from 3.0.5.260914 to 3.1.0.261029
- [Changelog](https://github.com/pandas-dev/pandas-stubs/blob/main/docs/release_procedure.md)
- [Commits](pandas-dev/pandas-stubs@v3.0.5.260914...v3.1.0.261029)

Updates `scipy-stubs` from 1.17.1.5 to 1.18.1.1
- [Release notes](https://github.com/scipy/scipy-stubs/releases)
- [Commits](scipy/scipy-stubs@v1.17.1.5...v1.18.1.1)

Updates `ty` from 0.0.99 to 0.0.107
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.99...0.0.107)

Updates `types-cffi` from 2.1.0.20260827 to 2.1.0.20261122
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-psutil` from 7.2.2.20260906 to 7.2.2.20261122
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-python-dateutil` from 2.9.0.20261021 to 2.9.0.20261122
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-requests` from 2.33.0.20261006 to 2.33.0.20261030
- [Commits](https://github.com/python/typeshed/commits)

Updates `typing-extensions` to 4.16.0
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](python/typing_extensions@4.12.0...4.16.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: pandas-stubs
  dependency-version: 3.1.0.261029
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-stubs
- dependency-name: scipy-stubs
  dependency-version: 1.18.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-stubs
- dependency-name: ty
  dependency-version: 0.0.107
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: types-cffi
  dependency-version: 2.1.0.20261122
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: types-psutil
  dependency-version: 7.2.2.20261122
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20261122
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: types-requests
  dependency-version: 2.33.0.20261030
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-stubs
- dependency-name: typing-extensions
  dependency-version: 4.16.0
  dependency-type: direct:production
  dependency-group: python-stubs
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from AlenkaF, raulcd and rok as code owners November 25, 2026 15:38
@dependabot dependabot Bot added dependencies Dependabot-only python Pull requests that update python code labels Nov 25, 2026
@AlenkaF

AlenkaF commented Nov 26, 2026

Copy link
Copy Markdown
Member

@rok @tadeja this is nice! There are some fixes needed, I can look at them later today.

@rok

rok commented Nov 26, 2026

Copy link
Copy Markdown
Member

I suppose this is a good idea to do! Please ping for review.

@AlenkaF

AlenkaF commented Nov 27, 2026

Copy link
Copy Markdown
Member

@rok ping =)

@rok rok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Let's merge!

@AlenkaF

AlenkaF commented Nov 27, 2026

Copy link
Copy Markdown
Member

@rok button already or still merge script? :)

Comment thread python/requirements-stubs.txt Resolved
@rok

rok commented Nov 27, 2026

Copy link
Copy Markdown
Member

Button is ready!

@AlenkaF
AlenkaF marked this pull request as draft November 27, 2026 11:35
@AlenkaF
AlenkaF marked this pull request as ready for review November 27, 2026 12:26
Copilot AI balanced review requested due to automatic review settings November 27, 2026 12:26

This comment was marked as low quality.

@AlenkaF
AlenkaF merged commit 06b0351 into main Nov 27, 2026
37 of 38 checks passed
@AlenkaF
AlenkaF deleted the dependabot/pip/python/python-stubs-03147b0e59 branch November 27, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Python dependencies Dependabot-only python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants