Bug 1589306 - python-requests broken dependency in rawhide
Summary: python-requests broken dependency in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-08 15:55 UTC by Merlin Mathesius
Modified: 2018-06-08 17:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-08 16:22:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.