⬆ Bump mypy from 1.14.0 to 1.16.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(12 months ago)
(12 months ago)
(12 months ago)
dependencies python internal
Bumps mypy from 1.14.0 to 1.16.0.
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Remove Support for targeting Python 3.8
Mypy now requires
--python-version 3.9or greater. Support for only Python 3.8 is fully removed now. Given an unsupported version, mypy will default to the oldest supported one, currently 3.9.This change is necessary because typeshed stopped supporting Python 3.8 after it reached its End of Life in October 2024.
Contributed by Marc Mueller (PR 19157, PR 19162).
Initial Support for Python 3.14
Mypy is now tested on 3.14 and mypyc works with 3.14.0b3 and later. Mypyc compiled wheels of mypy itself will be available for new versions after 3.14.0rc1 is released.
Note that not all new features might be supported just yet.
Contributed by Marc Mueller (PR 19164)
Deprecated Flag: --force-uppercase-builtins
Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated and a no-op. It will be removed in a future version.
Contributed by Marc Mueller (PR 19176)
Mypy 1.16
We’ve just uploaded mypy 1.16 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
Different Property Getter and Setter Types
Mypy now supports using different types for a property getter and setter:
class A: _value: int@property</tr></table>
... (truncated)
Commits
9e72e96Update version to 1.16.08fe719fAdd changelog for 1.16 (#19138)2a036e7Revert "Infer correct types with overloads ofType[Guard | Is](#19161)b6da4fcAllow enum members to have type objects as values (#19160)334469f[mypyc] Improve documentation of native and non-native classes (#19154)a499d9fDocument --allow-redefinition-new (#19153)96525a2Merge commit '9e45dadcf6d8dbab36f83d9df94a706c0b4f9207' into release-1.169e45dadClear more data in TypeChecker.reset() instead of asserting (#19087)772cd0cAdd --strict-bytes to --strict (#19049)0b65f21Admit that Final variables are never redefined (#19083)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 1499038 |
| UUID: | 2586122573 |
| Node ID: | PR_kwDOL2WVUc6aJRlN |
| Host: | GitHub |
| Repository: | fastapi/fastapi-cli |
| Mergeable: | Yes |
| Merge State: | Unstable |
| Rebaseable: | Yes |