Skip to content

[EventEngine] Disable EventEngine polling in gRPC Python (#33279)#33320

Merged
veblush merged 1 commit intogrpc:v1.55.xfrom
gnossen:backport_33279_1.55
Jun 1, 2023
Merged

[EventEngine] Disable EventEngine polling in gRPC Python (#33279)#33320
veblush merged 1 commit intogrpc:v1.55.xfrom
gnossen:backport_33279_1.55

Conversation

@gnossen
Copy link
Copy Markdown
Contributor

@gnossen gnossen commented Jun 1, 2023

This is a hack to get around an issue on Apple devices caused by the PosixEventEngine's poll poller not supporting fork. This PR disables the EventEngine poller entirely in Python builds. It will therefore prevent the release of the EventEngine generally, and prevent any testing of EventEngine integration with gRPC Python, until the poll poller is fixed.

This is a hack to get around an issue on Apple devices caused by the
PosixEventEngine's `poll` poller not supporting fork. This PR disables
the EventEngine poller entirely in Python builds. It will therefore
prevent the release of the EventEngine generally, and prevent any
testing of EventEngine integration with gRPC Python, until the `poll`
poller is fixed.
@gnossen gnossen added lang/Python release notes: yes Indicates if PR needs to be in release notes labels Jun 1, 2023
@gnossen gnossen requested a review from jtattermusch as a code owner June 1, 2023 23:24
@gnossen gnossen requested a review from veblush as a code owner June 1, 2023 23:24
@gnossen gnossen enabled auto-merge (squash) June 1, 2023 23:32
@veblush veblush disabled auto-merge June 1, 2023 23:39
@veblush veblush merged commit 9c95c4f into grpc:v1.55.x Jun 1, 2023
gnossen added a commit that referenced this pull request Jun 2, 2023
Turns out this is needed in addition to
#33320 to resolve the MacOS fork issues
for Python.

CC @sampajano

Co-authored-by: AJ Heller <hork@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants