-
-
Notifications
You must be signed in to change notification settings - Fork 303
Support Python 3.14 #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Python 3.14 #528
Conversation
|
|
``` tenacity/__init__.py:314: error: Returning Any from function declared to return "dict[str, Any]" [no-any-return] tenacity/__init__.py:322: error: Returning Any from function declared to return "IterState" [no-any-return] Found 2 errors in 1 file (checked 19 source files) ``` Signed-off-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
This refactors the original code to work with Python 3.14, leveraging `asyncio.run()` for automatic event loop management, which is the recommended approach in modern asyncio. Fixes jd#527. Signed-off-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
Related-To: jd#527 Signed-off-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
ed0d5ef to
82ddf48
Compare
Signed-off-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
|
Addressed mergify comment. @jd anything else missing? |
|
@jd is mergify supposed to handle the merge after your approval? It seems it's not really doing it. |
|
|
@Mergifyio refresh |
✅ Pull request refreshed |
|
@jd looking at |
|
It's just that you changed the CI list, so it can't be merged automatically, I missed that. |
|
Thanks! |
Add testing with Python 3.14: includes fixes for #527 needed to pass.