Skip to content
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

gh-124309: Revert eager task factory fix to prevent breaking downstream #124810

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

ZeroIntensity
Copy link
Member

@ZeroIntensity ZeroIntensity commented Sep 30, 2024

cc @Yhg1s

The new implementation using TaskGroup has been causing a number of problems, and I'm not comfortable with it going into 3.12.7. Namely, 3.12.7 will break aiohttp and aiohappyeyeballs downstream. See this issue and some of the discussion from this issue.

@ZeroIntensity
Copy link
Member Author

This is a blocker for 3.12.7

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

I agree. Hopefully it's not too late. @Yhg1s.

@Yhg1s Yhg1s merged commit 133e929 into python:main Oct 1, 2024
38 checks passed
@miss-islington-app
Copy link

Thanks @ZeroIntensity for the PR, and @Yhg1s for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 1, 2024
…wnstream (pythonGH-124810)

* Revert "pythonGH-124639: add back loop param to staggered_race (pythonGH-124700)"

This reverts commit e0a41a5.

* Revert "pythongh-124309: Modernize the `staggered_race` implementation to support eager task factories (pythonGH-124390)"

This reverts commit de929f3.
(cherry picked from commit 133e929)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Oct 1, 2024

GH-124817 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Oct 1, 2024
@ZeroIntensity ZeroIntensity deleted the revert-eager-task-factory-fix branch October 1, 2024 01:40
@ZeroIntensity
Copy link
Member Author

Thank you, Thomas!

Yhg1s pushed a commit that referenced this pull request Oct 1, 2024
…ownstream (GH-124810) (#124817)

gh-124309: Revert eager task factory fix to prevent breaking downstream (GH-124810)

* Revert "GH-124639: add back loop param to staggered_race (GH-124700)"

This reverts commit e0a41a5.

* Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (GH-124390)"

This reverts commit de929f3.
(cherry picked from commit 133e929)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants