googleapis / google-api-python-client

🐍 The official Python client library for Google's discovery based APIs.
https://googleapis.github.io/google-api-python-client/docs/
Apache License 2.0
7.83k stars 2.42k forks source link

Remove dependencies on httplib2 and google-auth-httplib2 #1118

Open hiranya911 opened 4 years ago

hiranya911 commented 4 years ago

This library still has dependencies on httplib2 and google-auth-httplib2. Most of the other Google Python libs have migrated away from these. Specifically, httplib2 has known thread-safety problems, and google-auth-httplib2 seems to have been developed as a backward compat package. Are there any plans for migrating these dependencies out?

busunkim96 commented 4 years ago

Hi @hiranya911,

We're looking at putting something related to this (moving off of httplib2) on our 2021 Q1 OKRs. We'll update this issue when we have more concrete plans.

GabrieleCalarota commented 3 years ago

Any update on this? I'm having trouble with firebase send multicast message (SSL and thread safety of httplib2)

busunkim96 commented 3 years ago

This work was deprioritized in favor of investments on the modern google-cloud-* clients. @hiranya911 If you have issues from customers please do share them with us internally.

hiranya911 commented 3 years ago

Internal issue for future reference: 181689506

mroblesm commented 3 years ago

Is there any update on this issue? We use Google API Client to interact with Dataflow API, and couldn't find any reference to dataflow support on Google Cloud Client...

parthea commented 3 years ago

Hi @mroblesm,

I've filed a bug internally to inquire about the status of a Google Cloud Client for dataflow. Googlers see b/190586207

GabrieleCalarota commented 3 years ago

Thanks for investigating guys! Very appreciated ;)

taiki-okano commented 3 years ago

I think this issue is important. I am using Google Drive API with this library, but when I try to copy a folder which contains multiple files, it is super slow. Sometimes it takes about 5 minutes. So, I changed it to execute in parallel, but I needed to authenticate before every single request.

I hope geniuses in Google realize this issue and do something for this...

GabrieleCalarota commented 3 years ago

Any update on this?

ZupoLlask commented 8 months ago

Any update on this? @dhermes @theacodes