FS#41807 - [python-requests] livestreamer don't work after python-requests update

Attached to Project: Community Packages
Opened by Artem A Klevtsov (unikum) - Wednesday, 03 September 2014, 14:45 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 04 September 2014, 07:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

After upgrade python-requests package (2.3.0-1 -> 2.4.0-1) livestreamer not work.

Additional info:
* package version(s)
community/python-requests 2.4.0-1
community/livestreamer 1.10.1-1
* config and/or log files etc.
$ livestreamer --help
Traceback (most recent call last):
File "/usr/bin/livestreamer", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2872, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 449, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: certifi


Steps to reproduce:
1. Enter in console:
livestreamer --help
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Thursday, 04 September 2014, 07:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-requests-2.4.0-2
Comment by bill (freestyler7) - Wednesday, 03 September 2014, 14:52 GMT
Seems like python-requests needs python-certifi package to work now.
Comment by Artem A Klevtsov (unikum) - Wednesday, 03 September 2014, 14:59 GMT
After installation python-certifi livestreamer work again but I get following warning:

/usr/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py:730: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)
InsecureRequestWarning)
Comment by Ox HaK (oxhak) - Wednesday, 03 September 2014, 20:57 GMT
All is fine if you install livestreamer-git and python-certifi.
No warning anymore.
Comment by aaaaaaaaaaaaaaaaaaaa (Pyroh) - Thursday, 04 September 2014, 01:44 GMT
Correct me if I'm wrong, but this shouldn't be closed.

python-certifi should still be added as a dep for livestreamer as it crashes without it.
I know this bug report is for python-requests, but I'm not sure if I should open a new bug report.
Comment by Ox HaK (oxhak) - Thursday, 04 September 2014, 01:48 GMT
You are right Michael Reed. This shouldn't be closed. Need to add dependencies changes on the livestreamer in the community repos. I can't cancel a closing request, that's my fault. Sorry.

Loading...