chore(deps-dev): update mypy requirement from !=1.20.2,<1.21,>=1.0.0 to >=2.0.0,<2.4 - #1238
Conversation
f3a51d0 to
2805c1f
Compare
|
@behnazh if we use a SQLite cache for This issue has been around since v2.1.0 (run) and v2.2.0 (run),12 but it hasn’t been reported. It seems independent of the new parallel type-checking. I’m not sure what’s going on or whether I should open an issue with Anyway, for the time being it seems like disabling the SQLite db (docs, commit 2805c1f, successful run) works; it’s ok to do so because we’re not using the cache anyway due to the Footnotes
|
@behnazh try this: rm -fr .mypy_cache/
make check-mypyafter removing/commenting out make nukeand start with a completely fresh setup, like it does in CI. I think I forgot to mention that this happens only with a first run when the SQLite db is created. |
Hm, it still passes. (python-package-template) $ git diff
diff --git a/pyproject.toml b/pyproject.toml
index 87223ad..76d33d4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -145,7 +145,7 @@ disallow_incomplete_defs = true
disallow_untyped_decorators = true
# disable_error_code =
# allow_redefinition =
-no_sqlite_cache = true
+no_sqlite_cache = false
[[tool.mypy.overrides]]
module = [
(python-package-template) $ rm -fr .mypy_cache/
(python-package-template) $ make check-mypy
pre-commit run mypy --all-files
Check typing annotations.................................................Passed |
|
CI on Mac with Python 3.14 passes too (run); Python 3.13 does not. |
|
Opened issue python/mypy#21769. |
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.3.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.3.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
96aac64 to
2bc6c43
Compare
Updates the requirements on mypy to permit the latest version.
Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
8aabf84Drop +dev from version4d8ad2aUpdate changelog for 2.3 release (#21728)2c21546[mypyc] Update documentation of race conditions under free threading (#21726)a9f62a3[mypyc] Make attribute access memory safe on free-threaded builds (#21705)0faa413UsePYODIDEenvironment variable for Emscripten cross-compilation detection...3d75cdb[mypyc] Borrow final attributes more aggressively (#21702)24c237d[mypyc] Improve documentation of Final (#21713)b5be217[mypyc] Update free threading Python compatibility docs (#21711)cbcb51aNarrow for frozendict membership check (#21709)af2bc0fSync typeshed (#21707)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)