Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #509 +/- ##
==========================================
- Coverage 96.27% 96.10% -0.17%
==========================================
Files 11 11
Lines 1074 1079 +5
Branches 209 190 -19
==========================================
+ Hits 1034 1037 +3
- Misses 19 21 +2
Partials 21 21
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
TomFaulkner
added a commit
to TomFaulkner/arq
that referenced
this pull request
Feb 21, 2026
Switches to asyncio.new_event_loop() for Python 3.14 and above, as asyncio.get_event_loop() is deprecated. Maintains compatibility with older Python versions by conditionally selecting the event loop method. Incorporated fix from python-arq#509 by https://github.com/a3lme
TomFaulkner
added a commit
to TomFaulkner/arq
that referenced
this pull request
Feb 21, 2026
Switches to asyncio.new_event_loop() for Python 3.14 and above, as asyncio.get_event_loop() is deprecated. Maintains compatibility with older Python versions by conditionally selecting the event loop method. Incorporated fix from python-arq#509 by https://github.com/a3lme Bump version to 0.27.1
TomFaulkner
added a commit
to TomFaulkner/arq
that referenced
this pull request
Feb 21, 2026
Switches to asyncio.new_event_loop() for Python 3.14 and above, as asyncio.get_event_loop() is deprecated. Maintains compatibility with older Python versions by conditionally selecting the event loop method. Incorporated fix from python-arq#509 by https://github.com/a3lme Bump version to 0.27.1 Rename to tomfaulkner-arq.
TomFaulkner
added a commit
to TomFaulkner/arq
that referenced
this pull request
Feb 21, 2026
Switches to asyncio.new_event_loop() for Python 3.14 and above, as asyncio.get_event_loop() is deprecated. Maintains compatibility with older Python versions by conditionally selecting the event loop method. Incorporated fix from python-arq#509 by https://github.com/a3lme Bump version to 0.27.1 Rename to tomfaulkner-arq.
|
Thanks for this, @a3lme. Easy fix and it works. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR handles the following asyncio behavioral changes introduced in python3.14:
asyncio.get_event_loop() now raises a RuntimeError if there is no current event loop, and no longer implicitly creates an event loop.
To support 3.14, this PR: