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
Dependency on urllib3? #42
Comments
Yeah, this looks like the culprit from three days ago: b6c62d8 I imagine this will be breaking a fair number of people's systems soon? |
@mlissner Can you be a bit more explicit about how this broke your system? FWIW,
/cc @jonparrott |
We're currently affected by this issue. I was able to track it down to having an explicit dependency to the following:
Updating our requirements to
addresses the issue. |
Yep, we have requests pinned with:
I think the fix here is to require a version of requests that contains urllib3 (or not use urllib3). |
And to respond to this....it broke my system because as part of deployment we always upgrade the packages in our requirements.txt file. In there we have requests pinned, but not |
How do you mean? The dependency is optional because it can only be triggered if the As for Instead, you could depend only on Checking out the actual dependencies of the current
In addition, that version of FWIW, the release ( Can you share the pinned versions? |
Here's the stacktrace. It's a doozy:
I think it just comes from here though: I don't actually use that code, but I guess it gets imported somehow. I honestly don't know how pip handles dependency conflicts. I'd expect that if I tried to upgrade google-cloud and it required a version of |
OK, that stacktrace is what I expect. It really just reflects an "out-of-compliance" dependency on The "fix" is for you is to update your dependency. I doubt (but don't know) that upgrading Unfortunately,
I am going to close this out, as it seems the issue is caused by you explicitly pinning to an earlier version of Let's continue the discussion if you think there is more to resolve. I'm happy to help. |
I guess I'd expect pip to make a dependency graph and sort these things out. Apt can handle such things. Anyway, I've got tests...I already just installed urllib3, but I'll upgrade requests and see what happens. They're pretty careful stewards. Thanks again. |
Sure thing, sorry for the pain! |
I just upgraded the packages on my system, and this package (which must be a dependency for another package) broke my system. I'm getting the error that:
ImportError: No module named urllib3.response
And I don't have urllib3 installed, so that's the problem. However, why don't I have it installed? I only use pip to install things, so I think the fact that urllib3 isn't installed means that it's not listed in a requirements.txt file somewhere.
It doesn't look like this project has a requirements list, but I don't know. It does seem like the urllib3 requirement might be a new one?
The text was updated successfully, but these errors were encountered: