docker-airflow icon indicating copy to clipboard operation
docker-airflow copied to clipboard

Incompatible version of grpc-google-iam-v1 prevents gcp dependency install

Open roblevy opened this issue 4 years ago • 1 comments

When I run:

docker build --rm --build-arg AIRFLOW_DEPS="gcp" -t puckel/docker-airflow .

I get:

ERROR: google-cloud-bigtable 0.33.0 has requirement grpc-google-iam-v1<0.12dev,>=0.11.4, but you'll have grpc-google-iam-v1 0.12.3 which is incompatible.
ERROR: google-cloud-spanner 1.9.0 has requirement grpc-google-iam-v1<0.12dev,>=0.11.4, but you'll have grpc-google-iam-v1 0.12.3 which is incompatible.

And my Airflow web UI is covered in errors like:

Broken plugin: [/usr/local/airflow/plugins/storage_plugin/operators/foo_operator.py] No module named 'google'

It could be related to this google-cloud-python error.

roblevy avatar Feb 14 '20 12:02 roblevy

When I run: docker build --rm --build-arg AIRFLOW_DEPS = "gcp" -t puckel / docker-airflow

I get: "docker build" requires exactly 1 argument. See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile

¿Why is this happening?

nrivasg avatar Sep 08 '20 13:09 nrivasg