Skip to content

Python 3.14 support #88

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Python 3.14 support #88

wants to merge 5 commits into from

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented May 31, 2025

Python 3.14 test fixes and workflow support. That said, workflow support was just copy-paste + guesswork, so not sure if that's right.

mgorny added 5 commits May 31, 2025 10:52
Python 3.14 changes the exception message for passing wrong types
to `await` to:

    TypeError: 'int' object can't be awaited

Loosen the regular expression to accept both the old and the new
exception message.
Ignore `asyncio.set_event_loop_policy()` deprecation warning when called
directly in test.  I have scoped the ignore to the test call rather than
doing that globally in `pytest.ini`, so that it will be caught if
introduced elsewhere in the code.
Copy link

codecov bot commented May 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.59%. Comparing base (499a92b) to head (52481cb).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   92.91%   94.59%   +1.68%     
==========================================
  Files           8        9       +1     
  Lines        2907     3348     +441     
  Branches      103      151      +48     
==========================================
+ Hits         2701     3167     +466     
+ Misses        196      135      -61     
- Partials       10       46      +36     
Flag Coverage Δ
py310-cover 93.87% <100.00%> (?)
py311-cover 93.87% <100.00%> (?)
py312-cover 93.79% <100.00%> (?)
py313-cover 93.79% <100.00%> (?)
py314-cover 94.00% <100.00%> (?)
py39-cover 93.93% <100.00%> (?)
pypy310-cover 92.65% <100.00%> (+0.13%) ⬆️
pypy39-cover 92.82% <100.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant