Skip to content

[tqdm] Fix regression for contrib.concurrent in 4.70 stubs - #16117

Merged
srittau merged 1 commit into
python:mainfrom
anlambert:tqdm-fix
Jul 30, 2026
Merged

[tqdm] Fix regression for contrib.concurrent in 4.70 stubs#16117
srittau merged 1 commit into
python:mainfrom
anlambert:tqdm-fix

Conversation

@anlambert

Copy link
Copy Markdown
Contributor

One of our CI job started to fail due to type checking error when using the tqdm.contrib.concurrent.thread_map function, see https://jenkins.softwareheritage.org/job/DENV/job/tests/3573/artifact/swh-graph.log.

After some digging, it is due to a regression in recently updated tqdm stubs as TypedDict describing optional keyword arguments must be declared non total or type checking is always failing.

This PR fixes that regression.

TypedDict describing optional keyword arguments must be declared non
total or type checking is always failing.
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau
srittau merged commit 866b546 into python:main Jul 30, 2026
59 checks passed
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.

2 participants