chore(deps): update mypy requirement from ==1.* to ==2.* - #315
chore(deps): update mypy requirement from ==1.* to ==2.*#315dependabot[bot] wants to merge 1 commit into
Conversation
ad42c74 to
920484c
Compare
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.0.0...v2.1.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
920484c to
040281c
Compare
| coverage[toml] == 7.* | ||
| mypy == 1.* | ||
| mypy == 2.* | ||
| numpy == 2.* |
There was a problem hiding this comment.
This bumps the mypy pin from 1.* to 2.*. Two concerns worth verifying:
-
Unsatisfiable pin risk. mypy has been on the 1.x line since 1.0.0 (Feb 2023) and I am not aware of a
2.xrelease existing on PyPI. If none exists,mypy == 2.*will fail to resolve and breakpip install -r requirements-testing.txt(and CI) with a "No matching distribution" error. Please confirm a mypy 2.x has actually shipped. -
Unpinned major bump. Even if 2.x exists, jumping across a major version with
== 2.*(rather than a specific tested version) is likely to pull in stricter/changed type-checking behavior that can surface new errors in CI. Consider verifying the type checks still pass and pinning to the specific version you validated against.
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Updates the requirements on mypy to permit the latest version.
Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
c1c336dRemove +dev from version74df14bAdd changelog for mypy 2.1 (#21464)022d9bcRevert "TypeForm: Enable by default (#21262)"8826288[mypyc] Document librt.random (#21463)3f4067bBump librt version to 0.11.0 (#21458)2b1eb58[mypyc] Enable incremental self-compilation (#21369)8152f4aRespect file config comments for stale modules (#21444)116d60bFix nondeterminism from nonassociativity of overload joins (#21455)6c4af8eFix function call message change for small number of args (#21432)4b8fdca[mypyc] Add librt.random module (#21433)