LaurenzReitsam commented on issue #23982:
URL: https://github.com/apache/beam/issues/23982#issuecomment-1341182804
`grpcio-status` is not an apache-beam dependency. This is just a workaround
for me to fix issues with pipenv.
Just pinning `protobuf<4.0.0` does not solve the issue.
---
Just tried the same procedure with `poetry` as an alternative dependency
solver. Seems like the same error:
```shell
pip install poetry
mkdir foo && cd ./foo
poetry init
poetry add apache-beam[gcp] google-cloud-secret-manager
```
```text
Because no versions of google-cloud-secret-manager match >2.12.6,<3.0.0
and google-cloud-secret-manager (2.12.6) depends on protobuf
(>=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 ||
>4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 ||
>4.21.5,<5.0.0dev), google-cloud-secret-manager (>=2.12.6,<3.0.0) requires
protobuf (>=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 ||
>4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 ||
>4.21.4,<4.21.5 || >4.21.5,<5.0.0dev).
And because apache-beam (2.43.0) depends on protobuf (>3.12.2,<3.19.5)
and no versions of apache-beam match >2.43.0,<3.0.0,
google-cloud-secret-manager (>=2.12.6,<3.0.0) is incompatible with apache-beam
(>=2.43.0,<3.0.0).
So, because foo depends on both apache-beam (^2.43.0) and
google-cloud-secret-manager (^2.12.6), version solving failed.
```
Adding `protobuf<4.0.0` does not change result.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]