-
Bug
-
Resolution: Done-Errata
-
Major
-
CentOS Stream 9
-
None
-
python-urllib3-1.26.5-6.el9
-
None
-
Low
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_core_services
-
19
-
3
-
None
-
None
-
Pass
-
None
-
None
What were you trying to do that didn't work?
The issue is reported upstream in https://github.com/urllib3/urllib3/issues/2534
Please provide the package NVR for which bug is seen:
python3-urllib3-1.26.5-5.el9.noarch
How reproducible:
Allways which PoolManager is used with server_hostname
Steps to reproduce
Reproducer used in the reported upstream issue:
>>> import urllib3
>>> manager = urllib3.PoolManager(server_hostname='foo')
>>> manager.urlopen('GET', 'http://127.0.0.1')
Reports TypeError
TypeError: {}init{}() got an unexpected keyword argument 'server_hostname'
I'd say we need https://github.com/urllib3/urllib3/commit/f1d40fd07f7b5d9cf846a18fb5a920b4be07dfc5 or rebase to 1.25.9
Note that OpenStack uses that via gabbi test runner.
- links to
-
RHSA-2024:135527 python-urllib3 update