Bump mypy from 1.20.2 to 2.1.0#192
Conversation
Bumps [mypy](https://github.com/python/mypy) from 1.20.2 to 2.1.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.20.2...v2.1.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
@copilot please fix the tests for the new mypy version. Please, be sure that tests still test old behavior and new mypy version is supported without any regressions for end users. |
Agent-Logs-Url: https://github.com/typeddjango/pytest-mypy-plugins/sessions/d362aeb8-8460-45d3-a5d0-c9f3cb43219f Co-authored-by: sobolevn <4660275+sobolevn@users.noreply.github.com>
Fixed in commit 80338a4. Three issues were addressed for mypy 2.1.0:
All 97 tests pass with mypy 2.1.0. Old behavior (legacy JSON/FF filesystem caches and single-shard SQLite) is preserved via backward-compatible detection. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
|
@UnknownPlatypus can you please take a look at this issue? We have a cache related problem with the newer mypy :( Looks like we need some proper abstraction for cache / discussion with the mypy team about it. |
|
Copilot was not successful ? |
|
In my assesment it produced some really strange code that I don't understand :) |
Bumps mypy from 1.20.2 to 2.1.0.
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)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 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)