Bug 1589306

Summary: python-requests broken dependency in rawhide
Product: [Fedora] Fedora Reporter: Merlin Mathesius <mmathesi>
Component: python-requestsAssignee: Fedora Infrastructure SIG <infra-sig>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aurelien, cstratak, infra-sig, jcline, jeremy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-08 16:22:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Merlin Mathesius 2018-06-08 15:55:38 UTC
Description of problem:
Anything using python-requests in Rawhide fails

Version-Release number of selected component (if applicable):
python2-requests-2.18.4-5.fc29.noarch

How reproducible:
always

Steps to Reproduce:
1. python2 -c "import requests"

Actual results:
/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)


Expected results:
success

Additional info:
$ rpm -q python2-requests python2-urllib3 python2-chardet
python2-requests-2.18.4-5.fc29.noarch
python2-urllib3-1.23-1.fc29.noarch
python2-chardet-3.0.4-5.fc29.noarch

Comment 1 Jeremy Cline 2018-06-08 15:59:12 UTC
Hi Merlin,

Thanks for the report. It still works after the warning though, correct? This is a known issue that is because requests hasn't tagged a release that officially supports urllib3 1.23. The requests folks are working on a release so I thought it best to wait for requests-2.19 rather than backporting patches to silence the warning and then immediately dropping them.

Comment 2 Merlin Mathesius 2018-06-08 16:11:45 UTC
Hi, Jeremy,

Thanks for the quick follow-up. I ran across this problem because builds for the python-avocado package started to fail in Rawhide. https://apps.fedoraproject.org/koschei/package/python-avocado?collection=f29

The requests warning is producing output that the avocado self-tests aren't expecting--which cause them to fail. So yes, it may be working--but avocado doesn't know that!

If avocado is the only thing having trouble because of this, I can temporarily disable the offended self-tests until the issue is fully resolved.

Comment 3 Jeremy Cline 2018-06-08 16:22:27 UTC
I hadn't considered tests failing on warnings, I'm sure you're not the only person who'll hit this. python-requests-2.18.4-6 should stop the runtime warnings. Once "koji wait-repo --build=python-requests-2.18.4-6.fc29 rawhide" returns you should be good to go.

Sorry about the inconvenience!

Comment 4 Merlin Mathesius 2018-06-08 17:33:26 UTC
I have confirmed that the python-avocado selftest/build failures are resolved by python-requests-2.18.4-6.fc29.

Thank you for the swift resolution!