puckel / docker-airflow

Docker Apache Airflow
Apache License 2.0
3.77k stars 542 forks source link

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

Open roblevy opened 4 years ago

roblevy commented 4 years ago

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.

nrivasg commented 4 years ago

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?