You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "tvalentyn (via GitHub)" <gi...@apache.org> on 2025/12/22 17:19:11 UTC

[I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

tvalentyn opened a new issue, #31676:
URL: https://github.com/apache/beam/issues/31676

   ### What happened?
   
   Installing apache-beam into a clean environment now shows following logs:
   
   
   ```
    pip install --no-cache-dir --pre apache-beam[gcp]==2.56.0
   ...
   
   Collecting grpcio-status>=1.33.2 (from google-cloud-pubsub<3,>=2.1.0->apache-beam[gcp]==2.56.0)
     Downloading grpcio_status-1.64.1-py3-none-any.whl.metadata (1.1 kB)
     Downloading grpcio_status-1.64.0-py3-none-any.whl.metadata (1.1 kB)
     Downloading grpcio_status-1.64.0rc1-py3-none-any.whl.metadata (1.1 kB)
     Downloading grpcio_status-1.63.0-py3-none-any.whl.metadata (1.1 kB)
     Downloading grpcio_status-1.63.0rc2-py3-none-any.whl.metadata (1.1 kB)
     Downloading grpcio_status-1.63.0rc1-py3-none-any.whl.metadata (1.1 kB)
   ```
   
   That means, when analyzing dependency ranges, pip cannot take the latest allowed version for each dependency, and has to do dependency resolution. This is suboptimal and can result in failed installations (https://s.apache.org/beam-python-dependencies-pm). We should check what combination of packages requires the resolution and work with maintainers of Beam dependencies to remove the need for resolution if possible. 
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [X] 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-3541668875

   This issue has been closed due to lack of activity. If you think that is incorrect, you can reopen the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-3683019334

   > Should be fixed by switching to protobuf >=5 
   
   Looks like this is still happening even with protobuf 5 being allowed, most likely due to https://github.com/apache/beam/issues/34081 . We can confirm that [this ](https://github.com/apache/beam/issues/34081) is the culprint. We expect the fix for it to be available early 2026, if not we can proceed with:
    
   > or mitigated by adding a bound "grpcio-status<1.63.0" 
   
   until fix is available
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn closed issue #31676: [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp]
URL: https://github.com/apache/beam/issues/31676


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-3418407376

   This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-3683070971

   > We can confirm that https://github.com/apache/beam/issues/34081is the culprint.
   
   Installing:
   
   `pip install apache-beam[gcp] --use-deprecated=legacy-resolver`
   
   Gives:
   
   
   ```grpcio-status 1.76.0 requires grpcio>=1.76.0, but you'll have grpcio 1.65.5 which is incompatible.```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-2369768237

   ```
   * grpcio-status==1.66.1
    - protobuf [required: >=5.26.1,<6.0dev, installed: 4.25.5]
   ```
   
   Should be fixed  by upgrading Beam to 2.53.0 or mitigated by 
   adding a bound "grpcio-status<1.63.0"
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn closed issue #31676: [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp]
URL: https://github.com/apache/beam/issues/31676


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-4638650154

   This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #31676: [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp]
URL: https://github.com/apache/beam/issues/31676


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Dependency resolution is happening when installing latest version of apache-beam[gcp] [beam]

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #31676:
URL: https://github.com/apache/beam/issues/31676#issuecomment-3683072501

   so yes, once we can upgrade to newer GRPC, this shouldn't be an issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org