Skip to content

Upgrade from 2.8.0 to 2.9.0 introduces ImportError: cannot import name 'BaseHTTPResponse' from 'urllib3' #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrpowerus opened this issue Aug 11, 2023 · 8 comments

Comments

@mrpowerus
Copy link

Upgrading to the new version of the databricks package introduces the following error:

ImportError: cannot import name 'BaseHTTPResponse' from 'urllib3'

Environment: DBR 12.2LTS (Unity Catalog Enabled)

@leo-schick
Copy link

Yes, this is fixed by #190 which had not been released yet. See my issue #193

@potiuk
Copy link

potiuk commented Aug 11, 2023

Same for Apache Airflow

@potiuk
Copy link

potiuk commented Aug 11, 2023

Assume it will be fixed in the next version of connector and we can just exclude 2.9.0. I guess you will also yank it ?

@VOVELEE
Copy link

VOVELEE commented Aug 11, 2023

same issue here in 10.4 LTS

@roelschr
Copy link

Is it possible to "yank" version 2.9.0? Otherwise, dependency resolvers may install it (as it is the last version that allows "urllib<2" but doesn't work with it).

@potiuk
Copy link

potiuk commented Aug 16, 2023

Yep. I'd also suggest yanking. This kind of errors is really a "please don't install me at all" case - and also yanking has a very little surface (if at all) to cause any problems. Yanking is as soft as possible when it comes to marking release as problematic and has no side-effects really, other than it will be skipped by automated resolution by pip and others and that it will print a warning when forcefully installed by specifying ==.

@mrpowerus
Copy link
Author

I agree, please yank it.

@susodapop
Copy link
Contributor

This is resolved in #197 and released as version 2.9.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants