Skip to content

⬆ Bump the python-packages group across 1 directory with 5 updates - #510

Merged
YuriiMotov merged 1 commit into
mainfrom
dependabot/uv/python-packages-645bccf6d3
Nov 2, 2026
Merged

YuriiMotov merged 1 commit into
mainfrom
dependabot/uv/python-packages-645bccf6d3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the python-packages group with 5 updates in the / directory:

Package From To
fastapi 0.141.1 0.162.0
mypy 2.3.1 2.4.0
ruff 0.16.9 0.17.2
ty 0.0.84 0.0.92
prek 0.5.4 0.5.7

Updates fastapi from 0.141.1 to 0.162.0

Release notes

Sourced from fastapi's releases.

0.162.0

Omitted bool and bool | None form fields now use their declared defaults or produce missing-field errors, consistent with other fields and Pydantic behavior. FastAPI no longer infers False for omitted booleans. This applies to individual form parameters, form models, and unions of form models.

Omitted boolean model fields are excluded from model_dump(exclude_unset=True), and their defaults no longer count as submitted fields during union selection. Default factories and validate_default follow the usual rules.

For HTML checkboxes, declare a boolean with a default of False. See Boolean Form Fields.

Breaking Changes

  • 🐛 Restore default handling for omitted boolean form fields. PR #16605 by @​tiangolo.

0.161.1

Fixes

  • 🐛 Fix OpenAPI schemas for standalone nullable form unions. PR #16598 by @​tiangolo.

0.161.0

Features

0.160.0

Query, header, cookie, and form parameter models now apply their extra configuration to all submitted fields in the same parameter location, consistent with Pydantic behavior. This includes fields declared in other models, individual parameters, or dependencies, which were previously excluded.

With extra="forbid", fields outside the model are rejected even if another parameter declares them. With extra="allow", those fields are included as model extras. With the default extra="ignore", they are ignored.

Breaking Changes

  • 🐛 Apply each parameter model's extra configuration to sibling fields. PR #16594 by @​tiangolo.

Internal

0.159.1

Features

0.159.0

Features

  • ✨ Add support for optional query, header, and cookie parameter models. PR #16584 by @​tiangolo.

0.158.2

Features

0.158.1

... (truncated)

Commits

Updates mypy from 2.3.1 to 2.4.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Mypy 2.4

We've just uploaded mypy 2.4.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.

Python 3.15 Support

Mypy 2.4 supports running on Python 3.15 and type checking most Python 3.15 features. This includes the new builtin sentinel type for sentinel values (PEP 661), which mypy now supports (see below for details). Lazy imports (PEP 810) and unpacking in comprehensions (PEP 798) are also supported. Closed TypedDicts (PEP 728) have been supported since mypy 2.2, but the extra_items TypedDict argument, also introduced in PEP 728, is still unsupported. Support for extra_items will be added in a future mypy release.

Native Parser Enabled by Default

Mypy now uses the new native parser by default. It's based on the Ruff parser, and it's significantly faster than the legacy parser, which uses the stdlib ast module. The native parser also has other benefits:

  • You can target newer Python versions and use recent Python syntax even when running mypy on an older Python version. For example, you can use --python-version 3.15 when running mypy on Python 3.14.
  • Stub files can use syntax that is newer than the target Python version. For example, stubs can use the PEP 695 generic class syntax (class Box[T]: ...) when running on or targeting Python 3.10.
  • Parallel type checking requires the native parser.

The legacy parser is still available through --no-native-parser, or native_parser = False in the config file (native_parser = false under [tool.mypy] in pyproject.toml). We are planning to remove the legacy parser in early 2027. If you run into a problem with the native parser, please report it on the issue tracker.

Unlike the legacy parser, the native parser doesn't support type comments for variables defined by for and with statements. These type comments are silently ignored, and the types of the variables are

... (truncated)

Commits

Updates ruff from 0.16.9 to 0.17.2

Release notes

Sourced from ruff's releases.

0.17.2

Release Notes

Released on 2026-10-22.

Preview features

  • [complexity] Add unnecessary-regular-expression-compile (#25533)

Bug fixes

  • Avoid syntax errors for type variables with starred constraints (UP040, UP046, UP047, RUF053) (#28362)
  • [pydocstyle] Treat backslash-escaped *args and **kwargs as documented (D417) (#29536)
  • [pylint] Avoid false positive on starred elements (PLE0643) (#29483)
  • [pylint] Mark fixes unsafe when deleting comments (PLR5501, PLW0120) (#29414)
  • [pyupgrade] Mark fix unsafe when deleting comments (UP035) (#29413)

Performance

  • Avoid intermediate names in lint name resolution (#29506)
  • Prefilter bidirectional Unicode checks by UTF-8 leading bytes (#29561)
  • Share postfix parsing and reduce expression copies (#29480)

Configuration

  • [pylint] Add a configurable allowlist for magic-value-comparison (PLR2004) (#18961)

Documentation

  • Clarify documentation and correct stale guidance (#29374)
  • [pyupgrade] Remove mentions of variance related to fix safety (UP040, UP047) (#29592)

Contributors

Install ruff 0.17.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.17.2/ruff-installer.sh | sh
</tr></table> 

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.2

Released on 2026-10-22.

Preview features

  • [complexity] Add unnecessary-regular-expression-compile (#25533)

Bug fixes

  • Avoid syntax errors for type variables with starred constraints (UP040, UP046, UP047, RUF053) (#28362)
  • [pydocstyle] Treat backslash-escaped *args and **kwargs as documented (D417) (#29536)
  • [pylint] Avoid false positive on starred elements (PLE0643) (#29483)
  • [pylint] Mark fixes unsafe when deleting comments (PLR5501, PLW0120) (#29414)
  • [pyupgrade] Mark fix unsafe when deleting comments (UP035) (#29413)

Performance

  • Avoid intermediate names in lint name resolution (#29506)
  • Prefilter bidirectional Unicode checks by UTF-8 leading bytes (#29561)
  • Share postfix parsing and reduce expression copies (#29480)

Configuration

  • [pylint] Add a configurable allowlist for magic-value-comparison (PLR2004) (#18961)

Documentation

  • Clarify documentation and correct stale guidance (#29374)
  • [pyupgrade] Remove mentions of variance related to fix safety (UP040, UP047) (#29592)

Contributors

0.17.1

Released on 2026-10-15.

Preview features

  • [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#29322)

... (truncated)

Commits
  • 30516b4 Bump version to 0.17.2 (#29637)
  • 59a9e85 [ty] Generalize nested types in inferred return types (#29488)
  • 0d562aa [ty] Check inherited attribute conflicts (#28559)
  • 48dcdd0 [ty] Restrict range implications from gradual equivalence (#29577)
  • 734d75a [ty] Check for unsatisfiable bodies before existentially quantifying (#29504)
  • b0f9526 [ty] Preserve checks for recursive descriptor setter types (#29148)
  • 32869b4 Avoid creating deployments for automation jobs (#29626)
  • ec891ba Link the commit in pull request report footers (#29621)
  • 8958748 [ty] Publish ecosystem reports from GitHub Actions (#29609)
  • 01f5394 [ty] Publish typing conformance reports from GitHub Actions (#29608)
  • Additional commits viewable in compare view

Updates ty from 0.0.84 to 0.0.92

Release notes

Sourced from ty's releases.

0.0.92

Release Notes

Released on 2026-10-26.

Core type checking

  • Infer the types of Django model primary keys (pk and the automatic id) with django-types (#29642)
  • Infer Django foreign key <field>_id types from the referenced field (#29664)
  • Recognize get_<field>_display() on Django model fields with choices (#29651)
  • Recognize get_next_by_<field>() and get_previous_by_<field>() on non-nullable Django date and datetime fields (#29653)

Bug fixes

  • Preserve generic callback parameters when forwarding overloaded functions through a ParamSpec (#29649)
  • Check implicit and PEP 613 type aliases as type expressions at their definitions (#29200)

CLI

  • Emit SARIF reports with ty check --output-format sarif (#29635)

LSP server

  • Skip scanning for scripts at startup and reload when uv script environments are disabled (#29697)

Diagnostic improvements

  • Abbreviate large nested tuple types in diagnostics and inlay hints (#29691)
  • Point to the expression that makes a type alias invalid, even when the alias is imported (#29654)

Performance

  • Avoid redundant work when checking inherited attributes (#29699)
  • Check for instance storage without inferring method assignments (#29709)
  • Collect receiver annotations once per class (#29703)
  • Check non-recursive protocol members before recursive ones (#29542)
  • Reuse class member lookups when checking overrides (#29716)
  • Reuse each generic context's inferable type variables (#29700)
  • Short-circuit comparisons involving top and bottom callable signatures (#29537)
  • Skip inferred writes when a declaration determines an instance member (#29702)
  • Skip method signature inference for concrete decorator results (#29708)

Contributors

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.92

Released on 2026-10-26.

Core type checking

  • Infer the types of Django model primary keys (pk and the automatic id) with django-types (#29642)
  • Infer Django foreign key <field>_id types from the referenced field (#29664)
  • Recognize get_<field>_display() on Django model fields with choices (#29651)
  • Recognize get_next_by_<field>() and get_previous_by_<field>() on non-nullable Django date and datetime fields (#29653)

Bug fixes

  • Preserve generic callback parameters when forwarding overloaded functions through a ParamSpec (#29649)
  • Check implicit and PEP 613 type aliases as type expressions at their definitions (#29200)

CLI

  • Emit SARIF reports with ty check --output-format sarif (#29635)

LSP server

  • Skip scanning for scripts at startup and reload when uv script environments are disabled (#29697)

Diagnostic improvements

  • Abbreviate large nested tuple types in diagnostics and inlay hints (#29691)
  • Point to the expression that makes a type alias invalid, even when the alias is imported (#29654)

Performance

  • Avoid redundant work when checking inherited attributes (#29699)
  • Check for instance storage without inferring method assignments (#29709)
  • Collect receiver annotations once per class (#29703)
  • Check non-recursive protocol members before recursive ones (#29542)
  • Reuse class member lookups when checking overrides (#29716)
  • Reuse each generic context's inferable type variables (#29700)
  • Short-circuit comparisons involving top and bottom callable signatures (#29537)
  • Skip inferred writes when a declaration determines an instance member (#29702)
  • Skip method signature inference for concrete decorator results (#29708)

Contributors

0.0.91

... (truncated)

Commits

Updates prek from 0.5.4 to 0.5.7

Release notes

Sourced from prek's releases.

0.5.7

Release Notes

Released on 2026-10-21.

Enhancements

  • Support system Rust toolchains without rustup (#2887)

Performance

  • Use blocking file checks for CPU-heavy builtin hooks (#2910)

Other changes

  • Update CA root crates and uv for the eMudhra intermediate CA compromise (#2919)

Contributors

Install prek 0.5.7

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.7/prek-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.7/prek-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install prek

Download prek 0.5.7

File Platform Checksum
prek-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
prek-x86_64-apple-darwin.tar.gz Intel macOS checksum
prek-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
prek-x86_64-pc-windows-msvc.zip x64 Windows checksum

... (truncated)

Changelog

Sourced from prek's changelog.

0.5.7

Released on 2026-10-21.

Enhancements

  • Support system Rust toolchains without rustup (#2887)

Performance

  • Use blocking file checks for CPU-heavy builtin hooks (#2910)

Other changes

  • Update CA root crates and uv for the eMudhra intermediate CA compromise (#2919)

Contributors

0.5.6

Released on 2026-10-19.

Enhancements

  • Add builtin hook check-commit-trailers (#2885)
  • Add builtin hook check-signed-commit (#2725)

Performance

  • Enable PGO for native release builds (#2890)
  • Reduce hook process launches with balanced batches (#2907)
  • Resolve hook commands before batching (#2840)

Bug fixes

  • Accept UTF-8 BOM in check-json (#2879)
  • Preserve unquoted dotted revisions in prek update (#2853)

Documentation

  • Document standalone installer options (#2859)
  • Update benchmarks for prek 0.5.5 (#2786)

Other changes

  • Enable ICF for release builds (#2891)
  • Update uv to 0.13.0 (#2856)

... (truncated)

Commits
  • 8569a4a Bump version to 0.5.7 (#2920)
  • c290bac Bump certifi from 2026.7.22 to 2026.10.19 (#2921)
  • 40287b8 Temporarily skip Aliyun uv download in CI (#2922)
  • 062c8a0 Update CA root crates and uv for the eMudhra intermediate CA compromise (#2919)
  • 5b66378 Log download and archive extraction stages (#2917)
  • c369353 Share tar extraction across compression formats (#2916)
  • 1c82a0d Move managed Rust toolchain discovery into the installer (#2914)
  • 2bf1958 Support system Rust toolchains without rustup (#2887)
  • 812e80f Move shared hook helpers and rename run to concurrency (#2911)
  • 615a001 Use blocking file checks for CPU-heavy builtin hooks (#2910)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 1, 2026
@latest-changes latest-changes Bot added the internal Internal changes label Nov 1, 2026
Bumps the python-packages group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.141.1` | `0.162.0` |
| [mypy](https://github.com/python/mypy) | `2.3.1` | `2.4.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.16.9` | `0.17.2` |
| [ty](https://github.com/astral-sh/ty) | `0.0.84` | `0.0.92` |
| [prek](https://github.com/j178/prek) | `0.5.4` | `0.5.7` |



Updates `fastapi` from 0.141.1 to 0.162.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.141.1...0.162.0)

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

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

Updates `ty` from 0.0.84 to 0.0.92
- [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.84...0.0.92)

Updates `prek` from 0.5.4 to 0.5.7
- [Release notes](https://github.com/j178/prek/releases)
- [Changelog](https://github.com/j178/prek/blob/main/CHANGELOG.md)
- [Commits](j178/prek@v0.5.4...v0.5.7)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.162.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-version: 2.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: prek
  dependency-version: 0.5.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ruff
  dependency-version: 0.17.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ty
  dependency-version: 0.0.91
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title ⬆ Bump the python-packages group with 5 updates ⬆ Bump the python-packages group across 1 directory with 5 updates Nov 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/python-packages-645bccf6d3 branch from 229e6ec to c20fae0 Compare November 2, 2026 12:10
@YuriiMotov
YuriiMotov merged commit 2016fbc into main Nov 2, 2026
21 of 22 checks passed
@YuriiMotov
YuriiMotov deleted the dependabot/uv/python-packages-645bccf6d3 branch November 2, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal Internal changes python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant