Skip to content

Commit 273779e

Browse files
committed
Update urllib version for python > 3.6
Update urllib version in requirements.txt so that Infrared could properly work on RHEL9.4 hosts (python 3.9). Related to OSPNW-1100 Change-Id: Ib45e2c9a2975037f8b9fceed65d5c03bb2f2c6c3
1 parent 762495c commit 273779e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ python-bugzilla>=2.3.0 ; python_version >= '3' # Required by 'fetch_bz' Ansible
3030
python-bugzilla<3.0.0 ; python_version < '3' # Required by 'fetch_bz' Ansible module
3131
passlib; sys_platform == 'darwin' # Avoid 'password_hash requires the passlib python module to generate password hashes on Mac OS X/Darwin'
3232
junit_xml>=1.8 # Required by 'junit' callback plugin
33-
# from https://github.com/psf/requests/blob/v2.22.0/setup.py#L47
34-
urllib3>=1.21.1,<1.25 # 1.25 is flaky version
33+
urllib3>=1.21.1,<1.25 ; python_version == '3.6' # 1.25 is flaky version
34+
urllib3>1.25 ; python_version > '3.6'
3535
# requirements for openstack plugin
3636
python-openstackclient>=5.0.0
3737
tenacity # retry decorator used for git cloning plugins

0 commit comments

Comments
 (0)