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.
- google-cloud-data-fusion 1.8.1 has requirement protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.0.
- mysql-connector-python 8.0.33 has requirement protobuf<=3.20.3,>=3.11.0, but you have protobuf 4.23.1.
- google-ads 20.0.0+composer has requirement proto-plus==1.19.6, but you have proto-plus 1.22.2.
- google-ads 21.1.0 has requirement protobuf>=4.21.5, but you have protobuf 3.20.3.
- google-ads 21.0.0 has requirement protobuf>=4.21.5, but you have protobuf 3.20.3.
Dependepent packages can be found here for specified composer version. https://cloud.google.com/composer/docs/concepts/versioning/composer-versions