8000 Conflicting google-api-core dependency with google-cloud-pubsub · Issue #934 · googleapis/google-api-python-client · GitHub
[go: up one dir, main page]

Skip to content
Conflicting google-api-core dependency with google-cloud-pubsub #934
Closed
@pietermarsman

Description

@pietermarsman

Since the changes in #931 (15 hours ago) the google-api-python-client has conflicting dependencies with google-cloud-pubsub. This package requires google-api-core >= 1.17.0 and google-cloud-pubsub requires google-api-core < 1.17.0.

Related issues: googleapis/python-pubsub#93

Environment details

I am using

  • ubuntu
  • Python 3.8.2
  • pip 20.0.2 from /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages/pip (python 3.8)

Steps to reproduce

$ pip install google-api-python-client google-cloud-pubsub
Collecting google-api-python-client
  Using cached google_api_python_client-1.9.1-py3-none-any.whl (59 kB)
Collecting google-cloud-pubsub
  Using cached google_cloud_pubsub-1.5.0-py2.py3-none-any.whl (137 kB)
Requirement already satisfied: six<2dev,>=1.6.1 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (1.14.0)
Requirement already satisfied: google-auth-httplib2>=0.0.3 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (0.0.3)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (3.0.1)
Requirement already satisfied: google-api-core<2dev,>=1.17.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (1.17.0)
Requirement already satisfied: google-auth>=1.16.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (1.16.0)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-python-client) (0.18.1)
Requirement already satisfied: grpc-google-iam-v1<0.13dev,>=0.12.3 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-cloud-pubsub) (0.12.3)
Requirement already satisfied: setuptools>=34.0.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-core<2dev,>=1.17.0->google-api-python-client) (44.0.0)
Requirement already satisfied: protobuf>=3.4.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-core<2dev,>=1.17.0->google-api-python-client) (3.12.2)
Requirement already satisfied: pytz in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-core<2dev,>=1.17.0->google-api-python-client) (2020.1)
Requirement already satisfied: requests<3.0.0dev,>=2.18.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-core<2dev,>=1.17.0->google-api-python-client) (2.22.0)
Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-api-core<2dev,>=1.17.0->google-api-python-client) (1.51.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-auth>=1.16.0->google-api-python-client) (0.2.8)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-auth>=1.16.0->google-api-python-client) (4.1.0)
Requirement already satisfied: rsa<4.1,>=3.1.4 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from google-auth>=1.16.0->google-api-python-client) (4.0)
Requirement already satisfied: grpcio<2.0.0dev,>=1.0.0 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from grpc-google-iam-v1<0.13dev,>=0.12.3->google-cloud-pubsub) (1.29.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /home/pieter/.local/share/virtualenvs/py37-2dXseUfS/lib/python3.8/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.16.0->google-api-python-client) (0.4.8)
ERROR: google-cloud-pubsub 1.5.0 has requirement google-api-core[grpc]<1.17.0,>=1.14.0, but you'll have google-api-core 1.17.0 which is incompatible.
Installing collected packages: google-api-python-client, google-cloud-pubsub
Successfully installed google-api-python-client-1.9.1 google-cloud-pubsub-1.5.0

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0