Skip to content

[tqdm] Update to 4.68.*#15876

Merged
srittau merged 2 commits into
python:mainfrom
brianschubert:gh-15872-update-tqdm
Jun 7, 2026
Merged

[tqdm] Update to 4.68.*#15876
srittau merged 2 commits into
python:mainfrom
brianschubert:gh-15872-update-tqdm

Conversation

@brianschubert
Copy link
Copy Markdown
Collaborator

Closes #15872

Added an allowlist entry as a workaround for the tqdm._util module now being unimportable (seems to be an upstream bug):

$ uv run -w tqdm==4.68.0 python3 -c 'import tqdm._utils'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import tqdm._utils
  File "/home/brian/.cache/uv/archive-v0/vSixbcDfu_MnLexX/lib/python3.14/site-packages/tqdm/_utils.py", line 4, in <module>
    from .utils import (  # noqa: F401, pylint: disable=unused-import
    ...<2 lines>...
        _screen_shape_windows, _screen_shape_wrapper, _supports_unicode, _term_move_up, colorama)
ImportError: cannot import name '_screen_shape_linux' from 'tqdm.utils' (/home/brian/.cache/uv/archive-v0/vSixbcDfu_MnLexX/lib/python3.14/site-packages/tqdm/utils.py)

Leaving more detailed overloads for the new itertools-esque functions as future work.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

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

@srittau srittau merged commit 000e990 into python:main Jun 7, 2026
44 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