Skip to content

Update mypy requirement from >=1.5 to >=1.14.1#23

Merged
Dylan-FMK merged 1 commit into
mainfrom
dependabot/pip/mypy-gte-1.14.1
Apr 28, 2026
Merged

Update mypy requirement from >=1.5 to >=1.14.1#23
Dylan-FMK merged 1 commit into
mainfrom
dependabot/pip/mypy-gte-1.14.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mypy to permit the latest version.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Enabling --local-partial-types by default

This flag affects the inference of types based on assignments in other scopes. For now, explicitly disabling this continues to be supported, but this support will be removed in the future as the legacy behaviour is hard to support with other current and future features in mypy, like the daemon or the new implementation of flexible redefinitions.

Contributed by Ivan Levkivskyi, Jukka Lehtosalo, Shantanu in PR 21163

Enabling --strict-bytes by default

Per PEP 688, mypy no longer treats bytearray and memoryview values as assignable to the bytes type.

Contributed by Shantanu in PR 18371

Drop Support for Targeting Python 3.9

Mypy no longer supports type checking code with --python-version 3.9. Use --python-version 3.10 or newer.

Contributed by Shantanu, Marc Mueller in PR 21243

Remove special casing of legacy bundled stubs

Mypy used to bundle stubs for a few packages in versions 0.812 and earlier. To navigate the transition, mypy used to report missing types for these packages even if --ignore-missing-imports was set. Mypy now consistently respects --ignore-missing-imports for all packages.

Contributed by Shantanu in PR 18372

Prevent assignment to None for non-Optional class variables with type comments

Mypy used to allow assignment to None for class variables when using type comments. This was a common idiom in Python 3.5 and earlier, prior to the introduction of variable annotations. However, this was a soundness hole and has now been removed.

Contributed by Shantanu in PR 20054

Mypy 1.20

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

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 27, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/mypy-gte-1.14.1 branch from 06a29c9 to ecb4ea6 Compare April 28, 2026 14:41
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.14.1...v1.14.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.14.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@Dylan-FMK Dylan-FMK force-pushed the dependabot/pip/mypy-gte-1.14.1 branch from ecb4ea6 to 19674af Compare April 28, 2026 14:42
@Dylan-FMK Dylan-FMK merged commit 3d59ba0 into main Apr 28, 2026
3 of 13 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/mypy-gte-1.14.1 branch April 28, 2026 14:49
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant