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

[Bug]: Install fails with Python3.12 due to old grpcio-tools version #30820

Closed
1 of 16 tasks
sehoffmann opened this issue Apr 1, 2024 · 3 comments · Fixed by #30912
Closed
1 of 16 tasks

[Bug]: Install fails with Python3.12 due to old grpcio-tools version #30820

sehoffmann opened this issue Apr 1, 2024 · 3 comments · Fixed by #30912
Assignees

Comments

@sehoffmann
Copy link

What happened?

Installing grpcio-tools==1.53.0 (listed in https://github.com/apache/beam/blob/master/sdks/python/pyproject.toml) fails with Python3.12. See this related issue grpc/grpc#33063 in the grpc project. As a result, it is impossible to install apache-beam on Python3.12.

Solution: Upgrade to a more recent version of grpcio-tools which has this bug fixed by now.

Issue Priority

Priority: 1 (data loss / total loss of function)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@sehoffmann
Copy link
Author

sehoffmann commented Apr 1, 2024

More infomation:

  • The project installs successfully when using pip install --no-build-isolation apache-beam.
  • Executing pip install grpcio-tools==1.53.0 fails, whereas pip install grpcio-tools works

@liferoad
Copy link
Collaborator

liferoad commented Apr 5, 2024

Supporting 3.12 is tracked at #29149

@tvalentyn
Copy link
Contributor

sent #30912

@tvalentyn tvalentyn mentioned this issue Apr 9, 2024
3 tasks
@github-actions github-actions bot added this to the 2.56.0 Release milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants