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

Valentyn Tymofieiev commented on BEAM-4215:
-------------------------------------------

[https://pypi.org/project/oauth2client/] says oauth2client is now deprecated. 
No more features will be added to the libraries and the core team is turning 
down support. We recommend you use 
[google-auth|https://google-auth.readthedocs.io/] and 
[oauthlib|http://oauthlib.readthedocs.io/]. 
  
 That said, I think we should remove oauth2client as beam Beam dependency here: 
[https://github.com/apache/beam/blob/92fd475afca09da7da1224775342bd668b53d83a/sdks/python/setup.py#L103]
  
 Then, GCP dependencies 
([https://github.com/apache/beam/blob/92fd475afca09da7da1224775342bd668b53d83a/sdks/python/setup.py#L119)]
 will pick up and appropriate version of OAuth client for the dependencies.  
  
 As things are right now, the Beam user experience will not be very nice for 
Pip 10 users, since after installing Apache Beam GCP, every pip operation 
results in warnings:
{panel}
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.
{panel}
 

> 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)

Reply via email to