-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Version 4.3.7 #2672
Version 4.3.7 #2672
Conversation
Co-authored-by: James R T <[email protected]> Co-authored-by: dvora-h <[email protected]>
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## 4.3 #2672 +/- ##
===========================================
- Coverage 85.92% 59.63% -26.29%
===========================================
Files 110 111 +1
Lines 28489 28623 +134
===========================================
- Hits 24478 17069 -7409
- Misses 4011 11554 +7543
... and 70 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Python 3.6, these calls to asyncio.create_task
should be modified to asyncio.ensure_future
instead.
EDIT: Seems like asyncio.CancelledError
existed in Python 3.6.0's code after all, it was just undocumented (earliest documented page of asyncio exceptions was for Python 3.7). Ignore my previous comment about asyncio.CancelledError
.
will be looking forward to this release |
Using the proxy changes from @drago-balto, combined with the current 4.3 branch yields a sideaffect in this particular case. Given the output errors on RuntimeError - we can now be positive, that the fix is truly caught. However, the byproduct of that is this given case. If you cancel an executing pipeline (as in our test then the pipeline object cannot be reused. Technically, it's always been possible (and works) to reuse the pipeline object, rather than reinitialize it:
However, in 4.3 this won't be possible should the async be canceled. IMHO this is reasonable, it's a security fix we're backporting to a dead branch. Meaning if you end up in this situation, you can easily catch RuntimeError and move along. Thoughts community? |
@auvipy I haven't seen feedback from anyone.. I let it bake for two weeks, to make sure there's real interest here. Can you confirm - is there - and does this fix work happily for you? Anyone else, please feel free to weigh in. This version is old enough, that I want to double-check here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at celery we use mostly the sync versions codes so far
but we are py 3.7+ and pypy 3.8+ |
Right. Since celery is py 3.7+ this PR isn't needed. That's already covered by existing releases. @dvora-h Let's let this bake. If no one needs the change, specifically due to python 3.6, we abandon. |
but we need to calm down pyup |
That sounds like a misconfiguration of pyup and IMHO not a reason to release this. I'd rather not extend a potential issue. Celery releases clearly support Python 3.7+, especially since 3.6 has been end of lifed. I went back through the history of the repository and Pypi, and haven't seen an active version support Python 3.6. This has sat long enough, I think we can close. Thank you everyone who helps us get to this point! |
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Closes #2665