google-cloud-python: Can't install: grpc

Once again, another packaging problem introduced via dependency.

https://travis-ci.org/wal-e/wal-e/builds/156938683

  Could not find a version that satisfies the requirement grpc>=1.0.0 (from googleapis-common-protos->gcloud==0.17.0) (from versions: 0.3.post10, 0.3.post11, 0.3.post12, 0.3.post13, 0.3.post14, 0.3.post15, 0.3.post16, 0.3.post17, 0.3.post18, 0.3.post19)

Notably, this commit is a readme-only change, following yet another text-only change that succeeded three days ago.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 20 (7 by maintainers)

Most upvoted comments

Here’s the error we’re getting when just trying install grpc at all to debug

root@44e8cdd435a5:/app# pip3 install grpc
Collecting grpc
  Using cached grpc-0.3-19.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-84l1xjl8/grpc/setup.py", line 7, in <module>
        version_tuple = __import__('grpc').VERSION
      File "/tmp/pip-build-84l1xjl8/grpc/grpc/__init__.py", line 6, in <module>
        from .rpc import *
      File "/tmp/pip-build-84l1xjl8/grpc/grpc/rpc.py", line 141
        except OSError, ex:
                      ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-84l1xjl8/grpc/

@bjwatson the drones you are looking for are grpcio, not grpc.

Should now be fixed. I pushed https://pypi.python.org/pypi/googleapis-common-protos 1.3.1 with the correct grpcio 1.0.0 dependency.

@tseaver Roger. Just filed https://github.com/googleapis/packman/pull/105 to fix the underlying issue, and am about to build 1.3.1.

^^ seems like a compatibility issue with python3. “pip install grpc” seems to work fine.

@daspecster Yes, I just pushed a 1.3.0 version built with gRPC 1.0.0 GA, and including the LRO service methods. I’ll double check the grpc dependency, and push 1.3.1 if it’s broken.

@fdr Sorry for the trouble. We’ll get this fixed soon.