Reputation: 4630
Using GCP Cloud Composer,trying to add PyPI package google-cloud-data-fusion
Version used: composer-2.2.0-airflow-2.5.1
Issue: trying to add PYPI "google-cloud-data-fusion" and it's throwing the error.
UPDATE operation on this environment failed Just now with the following error message: Failed to install PyPI packages. mysql-connector-python 8.0.33 has requirement protobuf<=3.20.3,>=3.11.0, but you have protobuf 4.23.1.
I have tried to update some of the dependent packages but found some of the packages are having dependency issue and can not find any solution for this.
Dependepent packages can be found here for specified composer version. https://cloud.google.com/composer/docs/concepts/versioning/composer-versions
Upvotes: 3
Views: 1238
Reputation: 2373
Replicated your case and got the same error message:
The error is due to package dependency. After downgrading and upgrading packages such as protfus,protoplus..etc not solved the issue. It seems like an internal issue.
There is a similar issue filed for the same. You can vote for this issue by clicking the "+1" and "STAR" mark to receive updates on it or you can also create a new request thread in Google’s Public Issue Tracker.
Upvotes: 2