Skip to content

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

Merged
Yhg1s merged 2 commits into
python:mainfrom
ZeroIntensity:revert-eager-task-factory-fix
Oct 1, 2024
Merged

gh-124309: Revert eager task factory fix to prevent breaking downstream#124810
Yhg1s merged 2 commits into
python:mainfrom
ZeroIntensity:revert-eager-task-factory-fix

Conversation

@ZeroIntensity

@ZeroIntensityZeroIntensity commented Sep 30, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

This is a blocker for 3.12.7

@gvanrossumgvanrossum left a comment

Copy link
Copy Markdown
Member

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:mainOct 1, 2024
@miss-islington-app

Copy link
Copy Markdown

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
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Oct 1, 2024
@ZeroIntensity
ZeroIntensity deleted the revert-eager-task-factory-fix branch October 1, 2024 01:40
@ZeroIntensity

Copy link
Copy Markdown
MemberAuthor

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 freeto 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

@ZeroIntensity@gvanrossum@Yhg1s