You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Valentyn Tymofieiev (JIRA)" <ji...@apache.org> on 2018/05/01 02:33:00 UTC

[jira] [Comment Edited] (BEAM-4215) Update Python SDK dependencies for 2.5.0 release

    [ https://issues.apache.org/jira/browse/BEAM-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459401#comment-16459401 ] 

Valentyn Tymofieiev edited comment on BEAM-4215 at 5/1/18 2:32 AM:
-------------------------------------------------------------------

With Pip 10 I am seeing several warnings about version mismatch for BEAM downstream dependencies:

===

python setup.py sdist

pip install ./dist/apache-beam-2.5.0.dev0.tar.gz[gcp]

...

Successfully built apache-beam

gapic-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.

googledatastore 7.0.1 has requirement oauth2client<4.0.0,>=2.0.1, but you'll have oauth2client 4.1.2 which is incompatible.

proto-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.

proto-google-cloud-datastore-v1 0.90.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible. 

Logs also show that gapic-google-cloud-pubsub-v1 is requred by google-cloud-pubsub==0.26.0

===

Newer versions of google-cloud-pubsub do not require gapic-google-cloud-pubsub, so that warning could be solved by upgrading google-cloud-pubsub. 

However googledatastore, proto-google-cloud-pubsub-v1 and proto-google-cloud-datastore-v1 are already the newest version, and they require oauth2client<4.0.0.

If dependencies are critical for Beam we should reach out to maintainers of those packages and confirm whether oauth2client < 5 is compatible with them. If not we may need to pin the lower version of oauth2client, which may be undesirable.

 

 


was (Author: tvalentyn):
With Pip 10 I am seeing several warnings about version mismatch for BEAM downstream dependencies:

===

python setup.py sdist

pip install ./dist/apache-beam-2.5.0.dev0.tar.gz[gcp]

...

Successfully built apache-beam

gapic-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.

googledatastore 7.0.1 has requirement oauth2client<4.0.0,>=2.0.1, but you'll have oauth2client 4.1.2 which is incompatible.

proto-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.

proto-google-cloud-datastore-v1 0.90.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible. 

Logs also show that gapic-google-cloud-pubsub-v1 is requred by google-cloud-pubsub==0.26.0

===

Newer versions of google-cloud-pubsub do not require gapic-google-cloud-pubsub, so that warning could be solved by upgrading google-cloud-pubsub. 

However googledatastore, proto-google-cloud-pubsub-v1 and proto-google-cloud-datastore-v1 are already the newest version, and they require oauth2client<4.0.0.

If dependencies are critical for Beam we should reach out to maintainers of those packages and confirm whether oauth2client < 5 is compatible with them. If not we may need to pin the lower version of oauth2client, which maybe undesirable.

 

 

> Update Python SDK dependencies for 2.5.0 release
> ------------------------------------------------
>
>                 Key: BEAM-4215
>                 URL: https://issues.apache.org/jira/browse/BEAM-4215
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>    Affects Versions: 2.5.0
>            Reporter: Valentyn Tymofieiev
>            Assignee: Ahmet Altay
>            Priority: Major
>             Fix For: 2.5.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)