Skip to content

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented Jul 8, 2024

See python/cpython#117536 (comment)

Built on #1594


This makes the warning go away. However, perhaps tqdm.close() should try awaiting self.iterable.aclose() if it exists and is awaitable -- that way callers won't need to do that.

Let me know if you prefer that and I can propose an alternate PR.

@sgallagher
Copy link

I can confirm that these patches fix the issues I have with building tqdm on Fedora 41 with Python 3.13.

@casperdcl casperdcl force-pushed the py3.13-await-aclose branch from 9e75283 to 2fbad6a Compare August 3, 2024 22:18
Copy link
Member

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

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

Thanks! Sorry for the delay...

@casperdcl casperdcl merged commit 951a2ba into tqdm:master Aug 3, 2024
16 checks passed
@casperdcl
Copy link
Member

Released in v4.66.5

@reneleonhardt
Copy link

Hi @casperdcl thank you for releasing those fixes!
Can you add py3.13 to your test matrix to catch (CPython) problems before they are released? 😄

@casperdcl
Copy link
Member

oh I tried but 'tis not on GHA yet

@reneleonhardt
Copy link

reneleonhardt commented Sep 1, 2024

Please try the prerelease tag 3.13.0rc1 🙂
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#specifying-a-python-version

The last release candidate should arrive on Tuesday 😉

Unfortunately the project is not tracking milestones, but you can use labels if you want to see all open 3.13 issues.

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.

4 participants