chore(deps): update all-dev-dependencies #47

Merged
renovate-bot merged 1 commits from renovate/all-dev-dependencies into main 2025-09-24 14:47:57 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
black (changelog) 25.1.0 -> 25.9.0 age confidence
bump-my-version 1.2.1 -> 1.2.3 age confidence
mypy (changelog) 1.17.1 -> 1.18.2 age confidence

Release Notes

psf/black (black)

v25.9.0

Compare Source

Highlights
  • Remove support for pre-python 3.7 await/async as soft keywords/variable names
    (#​4676)
Stable style
  • Fix crash while formatting a long del statement containing tuples (#​4628)
  • Fix crash while formatting expressions using the walrus operator in complex with
    statements (#​4630)
  • Handle # fmt: skip followed by a comment at the end of file (#​4635)
  • Fix crash when a tuple appears in the as clause of a with statement (#​4634)
  • Fix crash when tuple is used as a context manager inside a with statement (#​4646)
  • Fix crash when formatting a \ followed by a \r followed by a comment (#​4663)
  • Fix crash on a \\r\n (#​4673)
  • Fix crash on await ... (where ... is a literal Ellipsis) (#​4676)
  • Fix crash on parenthesized expression inside a type parameter bound (#​4684)
  • Fix crash when using line ranges excluding indented single line decorated items
    (#​4670)
Preview style
  • Fix a bug where one-liner functions/conditionals marked with # fmt: skip would still
    be formatted (#​4552)
  • Improve multiline_string_handling with ternaries and dictionaries (#​4657)
  • Fix a bug where string_processing would not split f-strings directly after
    expressions (#​4680)
  • Wrap the in clause of comprehensions across lines if necessary (#​4699)
  • Remove parentheses around multiple exception types in except and except* without
    as. (#​4720)
  • Add \r style newlines to the potential newlines to normalize file newlines both from
    and to (#​4710)
Parser
  • Rewrite tokenizer to improve performance and compliance (#​4536)
  • Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type
    parameter bounds and defaults. (#​4602)
Performance
  • Avoid using an extra process when running with only one worker (#​4734)
Integrations
  • Fix the version check in the vim file to reject Python 3.8 (#​4567)
  • Enhance GitHub Action psf/black to read Black version from an additional section in
    pyproject.toml: [project.dependency-groups] (#​4606)
  • Build gallery docker image with python3-slim and reduce image size (#​4686)
Documentation
  • Add FAQ entry for windows emoji not displaying (#​4714)
callowayproject/bump-my-version (bump-my-version)

v1.2.3

Compare Source

Compare the full difference.

Fixes
  • Fix is_subpath docstring for clarity and detailed explanation of functionality. 68041e8

  • Refactor tests to improve readability by using Arrange-Act-Assert pattern and updating httpserver methods. 164c99d

  • Fix: set "click<8.3" and adjust some pytest_httpserver methods to latest. 8374073

Other
Updates
  • Update uv.lock and pyproject.toml to refactor dependency groups and align formatting. 8b4d8aa

v1.2.2

Compare Source

Compare the full difference.

Fixes
  • Fix is_subpath docstring for clarity and detailed explanation of functionality. 68041e8

  • Refactor tests to improve readability by using Arrange-Act-Assert pattern and updating httpserver methods. 164c99d

  • Fix: set "click<8.3" and adjust some pytest_httpserver methods to latest. 8374073

Other
Updates
  • Update uv.lock and pyproject.toml to refactor dependency groups and align formatting. 8b4d8aa
python/mypy (mypy)

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, PR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, PR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR 19846)

v1.18.1

Compare Source

We’ve just uploaded mypy 1.18.1 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.

Mypy Performance Improvements

Mypy 1.18.1 includes numerous performance improvements, resulting in about 40% speedup
compared to 1.17 when type checking mypy itself. In extreme cases, the improvement
can be 10x or higher. The list below is an overview of the various mypy optimizations.
Many mypyc improvements (discussed in a separate section below) also improve performance.

Type caching optimizations have a small risk of causing regressions. When
reporting issues with unexpected inferred types, please also check if
--disable-expression-cache will work around the issue, as it turns off some of
these optimizations.

  • Improve self check performance by 1.8% (Jukka Lehtosalo, PR 19768, 19769, 19770)
  • Optimize fixed-format deserialization (Ivan Levkivskyi, PR 19765)
  • Use macros to optimize fixed-format deserialization (Ivan Levkivskyi, PR 19757)
  • Two additional micro‑optimizations (Ivan Levkivskyi, PR 19627)
  • Another set of micro‑optimizations (Ivan Levkivskyi, PR 19633)
  • Cache common types (Ivan Levkivskyi, PR 19621)
  • Skip more method bodies in third‑party libraries for speed (Ivan Levkivskyi, PR 19586)
  • Simplify the representation of callable types (Ivan Levkivskyi, PR 19580)
  • Add cache for types of some expressions (Ivan Levkivskyi, PR 19505)
  • Use cache for dictionary expressions (Ivan Levkivskyi, PR 19536)
  • Use cache for binary operations (Ivan Levkivskyi, PR 19523)
  • Cache types of type objects (Ivan Levkivskyi, PR 19514)
  • Avoid duplicate work when checking boolean operations (Ivan Levkivskyi, PR 19515)
  • Optimize generic inference passes (Ivan Levkivskyi, PR 19501)
  • Speed up the default plugin (Jukka Lehtosalo, PRs 19385 and 19462)
  • Remove nested imports from the default plugin (Ivan Levkivskyi, PR 19388)
  • Micro‑optimize type expansion (Jukka Lehtosalo, PR 19461)
  • Micro‑optimize type indirection (Jukka Lehtosalo, PR 19460)
  • Micro‑optimize the plugin framework (Jukka Lehtosalo, PR 19464)
  • Avoid temporary set creation in subtype checking (Jukka Lehtosalo, PR 19463)
  • Subtype checking micro‑optimization (Jukka Lehtosalo, PR 19384)
  • Return early where possible in subtype check (Stanislav Terliakov, PR 19400)
  • Deduplicate some types before joining (Stanislav Terliakov, PR 19409)
  • Speed up type checking by caching argument inference context (Jukka Lehtosalo, PR 19323)
  • Optimize binding method self argument type and deprecation checks (Ivan Levkivskyi, PR 19556)
  • Keep trivial instance types/aliases during expansion (Ivan Levkivskyi, PR 19543)
Fixed‑Format Cache (Experimental)

Mypy now supports a new cache format used for faster incremental builds. It makes
incremental builds up to twice as fast. The feature is experimental and
currently only supported when using a compiled version of mypy. Use --fixed-format-cache
to enable the new format, or fixed_format_cache = True in a configuration file.

We plan to enable this by default in a future mypy release, and we'll eventually
deprecate and remove support for the original JSON-based format.

Unlike the JSON-based cache format, the new binary format is currently
not easy to parse and inspect by mypy users. We are planning to provide a tool to
convert fixed-format cache files to JSON, but details of the output JSON may be
different from the current JSON format. If you rely on being able to inspect
mypy cache files, we recommend creating a GitHub issue and explaining your use
case, so that we can more likely provide support for it. (Using
MypyFile.read(binary_data) to inspect cache data may be sufficient to support
some use cases.)

This feature was contributed by Ivan Levkivskyi (PR 19668, 19735, 19750, 19681, 19752, 19815).

Flexible Variable Definitions: Update

Mypy 1.16.0 introduced --allow-redefinition-new, which allows redefining variables
with different types, and inferring union types for variables from multiple assignments.
The feature is now documented in the --help output, but the feature is still experimental.

We are planning to enable this by default in mypy 2.0, and we will also deprecate the
older --allow-redefinition flag. Since the new behavior differs significantly from
the older flag, we encourage users of --allow-redefinition to experiment with
--allow-redefinition-new and create a GitHub issue if the new functionality doesn't
support some important use cases.

This feature was contributed by Jukka Lehtosalo.

Inferred Type for Bare ClassVar

A ClassVar without an explicit type annotation now causes the type of the variable
to be inferred from the initializer:

from typing import ClassVar

class Item:

### Type of 'next_id' is now 'int' (it was 'Any')
    next_id: ClassVar = 1

    ...

This feature was contributed by Ivan Levkivskyi (PR 19573).

Disjoint Base Classes (@​disjoint_base, PEP 800)

Mypy now understands disjoint bases (PEP 800): it recognizes the @disjoint_base
decorator, and rejects class definitions that combine mutually incompatible base classes,
and takes advantage of the fact that such classes cannot exist in reachability and
narrowing logic.

This class definition will now generate an error:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | `25.1.0` -> `25.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/black/25.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/25.1.0/25.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [bump-my-version](https://github.com/callowayproject/bump-my-version) | `1.2.1` -> `1.2.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/bump-my-version/1.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/bump-my-version/1.2.1/1.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://github.com/python/mypy) ([changelog](https://mypy.readthedocs.io/en/latest/changelog.html)) | `1.17.1` -> `1.18.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.17.1/1.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v25.9.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2590) [Compare Source](https://github.com/psf/black/compare/25.1.0...25.9.0) ##### Highlights - Remove support for pre-python 3.7 `await/async` as soft keywords/variable names ([#&#8203;4676](https://github.com/psf/black/issues/4676)) ##### Stable style - Fix crash while formatting a long `del` statement containing tuples ([#&#8203;4628](https://github.com/psf/black/issues/4628)) - Fix crash while formatting expressions using the walrus operator in complex `with` statements ([#&#8203;4630](https://github.com/psf/black/issues/4630)) - Handle `# fmt: skip` followed by a comment at the end of file ([#&#8203;4635](https://github.com/psf/black/issues/4635)) - Fix crash when a tuple appears in the `as` clause of a `with` statement ([#&#8203;4634](https://github.com/psf/black/issues/4634)) - Fix crash when tuple is used as a context manager inside a `with` statement ([#&#8203;4646](https://github.com/psf/black/issues/4646)) - Fix crash when formatting a `\` followed by a `\r` followed by a comment ([#&#8203;4663](https://github.com/psf/black/issues/4663)) - Fix crash on a `\\r\n` ([#&#8203;4673](https://github.com/psf/black/issues/4673)) - Fix crash on `await ...` (where `...` is a literal `Ellipsis`) ([#&#8203;4676](https://github.com/psf/black/issues/4676)) - Fix crash on parenthesized expression inside a type parameter bound ([#&#8203;4684](https://github.com/psf/black/issues/4684)) - Fix crash when using line ranges excluding indented single line decorated items ([#&#8203;4670](https://github.com/psf/black/issues/4670)) ##### Preview style - Fix a bug where one-liner functions/conditionals marked with `# fmt: skip` would still be formatted ([#&#8203;4552](https://github.com/psf/black/issues/4552)) - Improve `multiline_string_handling` with ternaries and dictionaries ([#&#8203;4657](https://github.com/psf/black/issues/4657)) - Fix a bug where `string_processing` would not split f-strings directly after expressions ([#&#8203;4680](https://github.com/psf/black/issues/4680)) - Wrap the `in` clause of comprehensions across lines if necessary ([#&#8203;4699](https://github.com/psf/black/issues/4699)) - Remove parentheses around multiple exception types in `except` and `except*` without `as`. ([#&#8203;4720](https://github.com/psf/black/issues/4720)) - Add `\r` style newlines to the potential newlines to normalize file newlines both from and to ([#&#8203;4710](https://github.com/psf/black/issues/4710)) ##### Parser - Rewrite tokenizer to improve performance and compliance ([#&#8203;4536](https://github.com/psf/black/issues/4536)) - Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type parameter bounds and defaults. ([#&#8203;4602](https://github.com/psf/black/issues/4602)) ##### Performance - Avoid using an extra process when running with only one worker ([#&#8203;4734](https://github.com/psf/black/issues/4734)) ##### Integrations - Fix the version check in the vim file to reject Python 3.8 ([#&#8203;4567](https://github.com/psf/black/issues/4567)) - Enhance GitHub Action `psf/black` to read Black version from an additional section in pyproject.toml: `[project.dependency-groups]` ([#&#8203;4606](https://github.com/psf/black/issues/4606)) - Build gallery docker image with python3-slim and reduce image size ([#&#8203;4686](https://github.com/psf/black/issues/4686)) ##### Documentation - Add FAQ entry for windows emoji not displaying ([#&#8203;4714](https://github.com/psf/black/issues/4714)) </details> <details> <summary>callowayproject/bump-my-version (bump-my-version)</summary> ### [`v1.2.3`](https://github.com/callowayproject/bump-my-version/blob/HEAD/CHANGELOG.md#123-2025-09-19) [Compare Source](https://github.com/callowayproject/bump-my-version/compare/1.2.2...1.2.3) [Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/1.2.2...1.2.3) ##### Fixes - Fix `is_subpath` docstring for clarity and detailed explanation of functionality. [68041e8](https://github.com/callowayproject/bump-my-version/commit/68041e84d0eabe89b534fb6a86960a193fc088eb) - Refactor tests to improve readability by using Arrange-Act-Assert pattern and updating `httpserver` methods. [164c99d](https://github.com/callowayproject/bump-my-version/commit/164c99d3c8bff8bb56d32516fd7c91ffcd9e239e) - Fix: set "click<8.3" and adjust some pytest\_httpserver methods to latest. [8374073](https://github.com/callowayproject/bump-my-version/commit/8374073936def435305e8a06a48bf1d691bc9bd0) ##### Other - \[pre-commit.ci] pre-commit autoupdate. [58946b2](https://github.com/callowayproject/bump-my-version/commit/58946b2e49922d90f54b9170075eae4f384c2d9f) **updates:** - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.1) ##### Updates - Update `uv.lock` and `pyproject.toml` to refactor dependency groups and align formatting. [8b4d8aa](https://github.com/callowayproject/bump-my-version/commit/8b4d8aaf1d6397738ebc477094e342c9e623dd2f) ### [`v1.2.2`](https://github.com/callowayproject/bump-my-version/blob/HEAD/CHANGELOG.md#123-2025-09-19) [Compare Source](https://github.com/callowayproject/bump-my-version/compare/1.2.1...1.2.2) [Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/1.2.2...1.2.3) ##### Fixes - Fix `is_subpath` docstring for clarity and detailed explanation of functionality. [68041e8](https://github.com/callowayproject/bump-my-version/commit/68041e84d0eabe89b534fb6a86960a193fc088eb) - Refactor tests to improve readability by using Arrange-Act-Assert pattern and updating `httpserver` methods. [164c99d](https://github.com/callowayproject/bump-my-version/commit/164c99d3c8bff8bb56d32516fd7c91ffcd9e239e) - Fix: set "click<8.3" and adjust some pytest\_httpserver methods to latest. [8374073](https://github.com/callowayproject/bump-my-version/commit/8374073936def435305e8a06a48bf1d691bc9bd0) ##### Other - \[pre-commit.ci] pre-commit autoupdate. [58946b2](https://github.com/callowayproject/bump-my-version/commit/58946b2e49922d90f54b9170075eae4f384c2d9f) **updates:** - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.1) ##### Updates - Update `uv.lock` and `pyproject.toml` to refactor dependency groups and align formatting. [8b4d8aa](https://github.com/callowayproject/bump-my-version/commit/8b4d8aaf1d6397738ebc477094e342c9e623dd2f) </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.18.2`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1182) [Compare Source](https://github.com/python/mypy/compare/v1.18.1...v1.18.2) - Fix crash on recursive alias (Ivan Levkivskyi, PR [19845](https://github.com/python/mypy/pull/19845)) - Add additional guidance for stubtest errors when runtime is `object.__init__` (Stephen Morton, PR [19733](https://github.com/python/mypy/pull/19733)) - Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR [19846](https://github.com/python/mypy/pull/19846)) ### [`v1.18.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1181) [Compare Source](https://github.com/python/mypy/compare/v1.17.1...v1.18.1) We’ve just uploaded mypy 1.18.1 to the Python Package Index ([PyPI](https://pypi.org/project/mypy/)). 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](http://mypy.readthedocs.io). ##### Mypy Performance Improvements Mypy 1.18.1 includes numerous performance improvements, resulting in about 40% speedup compared to 1.17 when type checking mypy itself. In extreme cases, the improvement can be 10x or higher. The list below is an overview of the various mypy optimizations. Many mypyc improvements (discussed in a separate section below) also improve performance. Type caching optimizations have a small risk of causing regressions. When reporting issues with unexpected inferred types, please also check if `--disable-expression-cache` will work around the issue, as it turns off some of these optimizations. - Improve self check performance by 1.8% (Jukka Lehtosalo, PR [19768](https://github.com/python/mypy/pull/19768), [19769](https://github.com/python/mypy/pull/19769), [19770](https://github.com/python/mypy/pull/19770)) - Optimize fixed-format deserialization (Ivan Levkivskyi, PR [19765](https://github.com/python/mypy/pull/19765)) - Use macros to optimize fixed-format deserialization (Ivan Levkivskyi, PR [19757](https://github.com/python/mypy/pull/19757)) - Two additional micro‑optimizations (Ivan Levkivskyi, PR [19627](https://github.com/python/mypy/pull/19627)) - Another set of micro‑optimizations (Ivan Levkivskyi, PR [19633](https://github.com/python/mypy/pull/19633)) - Cache common types (Ivan Levkivskyi, PR [19621](https://github.com/python/mypy/pull/19621)) - Skip more method bodies in third‑party libraries for speed (Ivan Levkivskyi, PR [19586](https://github.com/python/mypy/pull/19586)) - Simplify the representation of callable types (Ivan Levkivskyi, PR [19580](https://github.com/python/mypy/pull/19580)) - Add cache for types of some expressions (Ivan Levkivskyi, PR [19505](https://github.com/python/mypy/pull/19505)) - Use cache for dictionary expressions (Ivan Levkivskyi, PR [19536](https://github.com/python/mypy/pull/19536)) - Use cache for binary operations (Ivan Levkivskyi, PR [19523](https://github.com/python/mypy/pull/19523)) - Cache types of type objects (Ivan Levkivskyi, PR [19514](https://github.com/python/mypy/pull/19514)) - Avoid duplicate work when checking boolean operations (Ivan Levkivskyi, PR [19515](https://github.com/python/mypy/pull/19515)) - Optimize generic inference passes (Ivan Levkivskyi, PR [19501](https://github.com/python/mypy/pull/19501)) - Speed up the default plugin (Jukka Lehtosalo, PRs [19385](https://github.com/python/mypy/pull/19385) and [19462](https://github.com/python/mypy/pull/19462)) - Remove nested imports from the default plugin (Ivan Levkivskyi, PR [19388](https://github.com/python/mypy/pull/19388)) - Micro‑optimize type expansion (Jukka Lehtosalo, PR [19461](https://github.com/python/mypy/pull/19461)) - Micro‑optimize type indirection (Jukka Lehtosalo, PR [19460](https://github.com/python/mypy/pull/19460)) - Micro‑optimize the plugin framework (Jukka Lehtosalo, PR [19464](https://github.com/python/mypy/pull/19464)) - Avoid temporary set creation in subtype checking (Jukka Lehtosalo, PR [19463](https://github.com/python/mypy/pull/19463)) - Subtype checking micro‑optimization (Jukka Lehtosalo, PR [19384](https://github.com/python/mypy/pull/19384)) - Return early where possible in subtype check (Stanislav Terliakov, PR [19400](https://github.com/python/mypy/pull/19400)) - Deduplicate some types before joining (Stanislav Terliakov, PR [19409](https://github.com/python/mypy/pull/19409)) - Speed up type checking by caching argument inference context (Jukka Lehtosalo, PR [19323](https://github.com/python/mypy/pull/19323)) - Optimize binding method self argument type and deprecation checks (Ivan Levkivskyi, PR [19556](https://github.com/python/mypy/pull/19556)) - Keep trivial instance types/aliases during expansion (Ivan Levkivskyi, PR [19543](https://github.com/python/mypy/pull/19543)) ##### Fixed‑Format Cache (Experimental) Mypy now supports a new cache format used for faster incremental builds. It makes incremental builds up to twice as fast. The feature is experimental and currently only supported when using a compiled version of mypy. Use `--fixed-format-cache` to enable the new format, or `fixed_format_cache = True` in a configuration file. We plan to enable this by default in a future mypy release, and we'll eventually deprecate and remove support for the original JSON-based format. Unlike the JSON-based cache format, the new binary format is currently not easy to parse and inspect by mypy users. We are planning to provide a tool to convert fixed-format cache files to JSON, but details of the output JSON may be different from the current JSON format. If you rely on being able to inspect mypy cache files, we recommend creating a GitHub issue and explaining your use case, so that we can more likely provide support for it. (Using `MypyFile.read(binary_data)` to inspect cache data may be sufficient to support some use cases.) This feature was contributed by Ivan Levkivskyi (PR [19668](https://github.com/python/mypy/pull/19668), [19735](https://github.com/python/mypy/pull/19735), [19750](https://github.com/python/mypy/pull/19750), [19681](https://github.com/python/mypy/pull/19681), [19752](https://github.com/python/mypy/pull/19752), [19815](https://github.com/python/mypy/pull/19815)). ##### Flexible Variable Definitions: Update Mypy 1.16.0 introduced `--allow-redefinition-new`, which allows redefining variables with different types, and inferring union types for variables from multiple assignments. The feature is now documented in the `--help` output, but the feature is still experimental. We are planning to enable this by default in mypy 2.0, and we will also deprecate the older `--allow-redefinition` flag. Since the new behavior differs significantly from the older flag, we encourage users of `--allow-redefinition` to experiment with `--allow-redefinition-new` and create a GitHub issue if the new functionality doesn't support some important use cases. This feature was contributed by Jukka Lehtosalo. ##### Inferred Type for Bare ClassVar A ClassVar without an explicit type annotation now causes the type of the variable to be inferred from the initializer: ```python from typing import ClassVar class Item: ### Type of 'next_id' is now 'int' (it was 'Any') next_id: ClassVar = 1 ... ``` This feature was contributed by Ivan Levkivskyi (PR [19573](https://github.com/python/mypy/pull/19573)). ##### Disjoint Base Classes (@&#8203;disjoint\_base, PEP 800) Mypy now understands disjoint bases (PEP 800): it recognizes the `@disjoint_base` decorator, and rejects class definitions that combine mutually incompatible base classes, and takes advantage of the fact that such classes cannot exist in reachability and narrowing logic. This class definition will now generate an error: ```python ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MC4yIiwidXBkYXRlZEluVmVyIjoiNDEuNzAuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
renovate-bot added the dependencies label 2025-09-24 14:45:14 +02:00
renovate-bot added 1 commit 2025-09-24 14:45:15 +02:00
chore(deps): update all-dev-dependencies
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Python Linters / formatting (pull_request) Successful in 36s
Python Linters / pylint (pull_request) Successful in 40s
Python Linters / mypy (pull_request) Successful in 37s
REUSE Compliance / reuse (pull_request) Successful in 15s
Selftests / test-build-install (pull_request) Successful in 38s
Selftests / test-sync (pull_request) Successful in 57s
399ed7fd48
renovate-bot merged commit 5d8b63e883 into main 2025-09-24 14:47:57 +02:00
Sign in to join this conversation.