Skip to content

Bump version to 2.5.0+dev - #22065

Merged
KevinRK29 merged 1 commit into
python:masterfrom
KevinRK29:bump-version-2.5
Sep 28, 2026
Merged

KevinRK29 merged 1 commit into
python:masterfrom
KevinRK29:bump-version-2.5

Conversation

@KevinRK29

Copy link
Copy Markdown
Collaborator

The release branch has been cut:
https://github.com/python/mypy/tree/release-2.4

@KevinRK29
KevinRK29 marked this pull request as ready for review September 28, 2026 20:15
@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

core (https://github.com/home-assistant/core)
- Warning: disabling incremental mode may severely reduce performance
- If this is intentional, delete '.mypy_cache' to suppress this warning

pip (https://github.com/pypa/pip)
+ src/pip/_internal/metadata/pkg_resources.py:133: error: Argument "metadata" to "DistInfoDistribution" has incompatible type "InMemoryMetadata"; expected "IResourceProvider | None"  [arg-type]
+ src/pip/_internal/metadata/pkg_resources.py:154: error: Argument "metadata" to "DistInfoDistribution" has incompatible type "InMemoryMetadata"; expected "IResourceProvider | None"  [arg-type]
+ src/pip/_internal/metadata/pkg_resources.py:184: error: Item "IResourceProvider" of "IResourceProvider | EmptyProvider" has no attribute "path"  [union-attr]
+ src/pip/_internal/metadata/pkg_resources.py:184: error: Item "EmptyProvider" of "IResourceProvider | EmptyProvider" has no attribute "path"  [union-attr]
+ src/pip/_internal/resolution/resolvelib/candidates.py:410: error: Incompatible types in assignment (expression has type "Version", variable has type "None")  [assignment]
+ src/pip/_internal/resolution/resolvelib/candidates.py:411: error: Incompatible return value type (got "None", expected "Version")  [return-value]
- error: INTERNAL ERROR -- Please try using mypy master on GitHub:
- https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
- Please report a bug at https://github.com/python/mypy/issues
- version: 2.4.0+dev.cfb16ee741ef4f12ca940d9a3e5e2331a14d5aa5
- note: use --pdb to drop into pdb
- Traceback (most recent call last):
-   File "", line 6, in <module>
-     sys.exit(console_entry())
-   File "/__main__.py", line 16, in console_entry
-     main()
-     ~~~~^^
-   File "/main.py", line 167, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-                               ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   File "/main.py", line 257, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 388, in build
-     metastore = create_metastore(options, parallel_worker=False)
-   File "/build.py", line 1902, in create_metastore
-     mds: MetadataStore = SqliteMetadataStore(
-                          ~~~~~~~~~~~~~~~~~~~^
-         _cache_dir_prefix(options),
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
-         set_journal_mode=not parallel_worker,
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-         num_shards=options.sqlite_num_shards,
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-     )
-     ^
-   File "/metastore.py", line 200, in __init__
-     connect_db(os_path_join(cache_dir_prefix, f"cache.{i}.db"), set_journal_mode)
-     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   File "/metastore.py", line 174, in connect_db
-     db.execute("PRAGMA journal_mode=WAL")
-     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
- sqlite3.OperationalError: database is locked
- 

@ilevkivskyi

Copy link
Copy Markdown
Member

The crash in the primer is probably a result of hauntsaninja/mypy_primer#263 as well. I will try to work on a fix soon.

@KevinRK29

Copy link
Copy Markdown
Collaborator Author

sounds good, thanks!

@KevinRK29
KevinRK29 merged commit bb2a456 into python:master Sep 28, 2026
25 checks passed
@KevinRK29

KevinRK29 commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

@ilevkivskyi any chance you are able to bump the librt version? there were over 10 commits since august and I don't have access to https://github.com/mypyc/librt to do it. I think that's the last thing that might be blocking

@ilevkivskyi

Copy link
Copy Markdown
Member

OK, I started a librt release, but building wheels will take a while (as all CI workers are busy).

Btw @JukkaL what do you think about requesting a CI concurrently increase for mypyc org (at least for macs)? See https://docs.github.com/en/actions/reference/limits#job-concurrency-limits-for-github-hosted-runners

GitHub Support can increase job concurrency limits for GitHub Actions. To request an increase, submit a support ticket.

We can say something like we are on free tier but this org is like important for Python OSS ecosystem or something. What do you think?

@JukkaL

JukkaL commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

We can say something like we are on free tier but this org is like important for Python OSS ecosystem or something. What do you think?

Yeah, seems worth a try.

@ilevkivskyi

Copy link
Copy Markdown
Member

Well, my request has been auto-closed within few seconds. I guess they may be stretched on resources with all the slop flowing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants