Skip to content
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

Help: how to upgrade urllib3 for solve "filedescriptor out of range in select()" issue #3797

Closed
abc100m opened this issue Jan 5, 2017 · 3 comments

Comments

@abc100m
Copy link

abc100m commented Jan 5, 2017

requests version: 2.12.4
python version: 2.7.9
platform: linux(CentOS)

issue occured:

ValueError: filedescriptor out of range in select()

detail description : urllib3/urllib3@a49bec5

and this issue have been fixed :
urllib3/urllib3#589
sigmavirus24/urllib3@eb8264f

I wonder why requests don't upgrade urllib3? and how can I upgrade urllib3 for requests?

@Lukasa
Copy link
Member

Lukasa commented Jan 5, 2017

Requests uses a vendored copy of urllib3, so we ship our own updates to it. That means you cannot upgrade urllib3 separately to requests.

While I am here, I should note that there is no released version of urllib3 that contains that fix, you'd have to use urllib3 from master. If that's the case, you are best served by cloning the Requests repository and updating the copy of urllib3 inside it and installing that.

@Lukasa Lukasa closed this as completed Jan 5, 2017
@RobGThai
Copy link

@Lukasa Sorry to bother on closed issue but I'm wondering why should this fix not being updated in Request?

@Lukasa
Copy link
Member

Lukasa commented Jan 24, 2017

@RobGThai We pushed requests v2.13 today which contains that fix.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants