-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Upgrade urllib3 dependency #75
Comments
Can you try to update the version and run the tests to make sure it still working? |
Looks like it's not working properly with newer versions because of their implementation of HTTPHeaderDict (https://github.com/shazow/urllib3/blob/118a936e1a44598aa2b2eed0e361310e05e47c6c/urllib3/_collections.py#L101). Last time this happened I had to work on there to fix what we needed. That might be the case again. |
There are problems with the latest urllib3 and the custom pool manager not taking a
For a similar bug report in requests, see psf/requests#4010 |
Also, note that upgrading requests will result in urllib3 being upgraded too. Even if it does break this dependency. |
I believe this fixes jazzband#75
i think fixed jazzband#75
I tried the fix from @aausch and it seems to work (I'm using urllib3 1.22). |
Any news on this ? there is more and more problems with keeping an old urllib3 |
It's become a problem... |
Hi for all! |
I still have the same problem on centos 7 |
Version 0.9.14 included the following change: class PoolManager(PoolManager_):
- def _new_pool(self, scheme, host, port):
+ def _new_pool(self, scheme, host, port, request_context=None):
"""
Create a new :class:`ConnectionPool` based on host, port and scheme.
This method is used to actually create the connection pools handed out Unfortunately, it did not update the bad requirements in Is this change still required? Is django-revproxy now compatible with urllib 1.22? If so, How can we fix the requirement in setup.py? If django-revproxy is still incompatible with urllib 1.22, how do we get this change merged? Is this project dead? |
Ping @seocam, @rougeth, and @matheus-morfi. |
Sergio Oliveira <notifications@github.com> writes:
Hello @Herst and @brianmay!
Honestly I'm not having much time to maintain it. If you or anyone here is interested in help let me know and I'll add you as maintainers as well.
I know the feeling...
If you give me push access to git and pypi, I should be able to have a
look at doing a new release.
My username:
github - brianmay
pypi - penguin_brian
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
|
This version fixes all known issues, and all tests pass: master...brianmay:master If/when I get push access to git, I also plan on merging #76. |
@brianmay for the sake of clarity would you mind doing a PR for each known issue instead of merging your master here? Your access is granted. |
Sergio Oliveira <notifications@github.com> writes:
@brianmay for the the sake of clarity would you mind doing a PR for
each known issue instead of merging your master here? Also please
remember to update the Changelog! ;)
Can do so.
How long did you want me to leave proposed changes as PRs before I merge
them?
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
|
Could the urllib3 dependency be upgraded? This package depends on urllib3 <= version 1.16. However, 1.16 is now 12 months old and the latest version is 1.21.1. Depending on an older version of urllib3 makes it difficult to use django-revproxy in a project that uses other packages that depend on urllib3; for example, the latest version of python-requests depends on urllib3 version 1.21: https://github.com/requests/requests/blob/master/setup.py#L47
The text was updated successfully, but these errors were encountered: