Skip to content

Wrong version of google-gax is being installed #2291

@geigerj

Description

@geigerj

Expected behavior

Installing gcloud should bring in google-gax 0.12.x as a dependency.

Observed behavior

google-gax 0.13.0 installed, which later can cause a version conflict with google-gax-{logging,pubsub...}-* that still depend on 0.12.x

jgeiger@jgeiger:~/repos/test-gcloud-python$ virtualenv venv
New python executable in /usr/local/google/home/jgeiger/repos/test-gcloud-python/venv/bin/python
Installing setuptools, pip, wheel...done.
jgeiger@jgeiger:~/repos/test-gcloud-python$ . venv/bin/activate
(venv) jgeiger@jgeiger:~/repos/test-gcloud-python$ pip install gcloud
Collecting gcloud
Collecting grpc-google-logging-v2>=0.8.0 (from gcloud)
Collecting httplib2>=0.9.1 (from gcloud)
Collecting gax-google-pubsub-v1>=0.8.0 (from gcloud)
Collecting six (from gcloud)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting grpc-google-pubsub-v1>=0.8.0 (from gcloud)
Collecting google-gax>=0.12.3 (from gcloud)
  Downloading google-gax-0.13.0.tar.gz
Collecting grpcio>=1.0rc1 (from gcloud)
  Using cached grpcio-1.0.0-cp27-cp27m-manylinux1_x86_64.whl
Collecting oauth2client>=2.0.1 (from gcloud)
Collecting googleapis-common-protos (from gcloud)
Collecting gax-google-logging-v2>=0.8.0 (from gcloud)
Collecting protobuf!=3.0.0.b2.post1,>=3.0.0b2 (from gcloud)
  Using cached protobuf-3.0.0-py2.py3-none-any.whl
Collecting future>=0.15.2 (from google-gax>=0.12.3->gcloud)
Collecting ply==3.8 (from google-gax>=0.12.3->gcloud)
Collecting futures>=2.2.0 (from grpcio>=1.0rc1->gcloud)
  Using cached futures-3.0.5-py2-none-any.whl
Collecting enum34>=1.0.4 (from grpcio>=1.0rc1->gcloud)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting rsa>=3.1.4 (from oauth2client>=2.0.1->gcloud)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=2.0.1->gcloud)
  Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from oauth2client>=2.0.1->gcloud)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/lib/python2.7/site-packages (from protobuf!=3.0.0.b2.post1,>=3.0.0b2->gcloud)
Building wheels for collected packages: google-gax
  Running setup.py bdist_wheel for google-gax ... done
  Stored in directory: /usr/local/google/home/jgeiger/.cache/pip/wheels/8c/3a/c5/26f7525c0c4f9f56990c3b3eaadabf8b91d1d1e327475e07f0
Successfully built google-gax
Installing collected packages: pyasn1, rsa, httplib2, six, pyasn1-modules, oauth2client, protobuf, googleapis-common-protos, futures, enum34, grpcio, grpc-google-logging-v2, future, ply, google-gax, grpc-google-pubsub-v1, gax-google-pubsub-v1, gax-google-logging-v2, gcloud
Successfully installed enum34-1.1.6 future-0.15.2 futures-3.0.5 gax-google-logging-v2-0.8.1 gax-google-pubsub-v1-0.8.1 gcloud-0.18.1 google-gax-0.13.0 googleapis-common-protos-1.3.3 grpc-google-logging-v2-0.8.1 grpc-google-pubsub-v1-0.8.1 grpcio-1.0.0 httplib2-0.9.2 oauth2client-3.0.0 ply-3.8 protobuf-3.0.0 pyasn1-0.1.9 pyasn1-modules-0.0.8 rsa-3.4.2 six-1.10.0

I'm not sure why this is happening, since setup.py bounds google-gax as google-gax >= 0.12.3, < 0.13dev

/cc @bjwatson @tseaver

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions