guessit FTBFS: Download error on https://pypi.python.org/simple/argparse/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
guessit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The latest version of guessit (0.10.3-1) currently fails to build from source on Ubuntu Wily with the following error message:
I: pybuild base:170: python3.4 setup.py test
running test
Searching for argparse
Reading https:/
Download error on https:/
Couldn't find index page for 'argparse' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https:/
Download error on https:/
No local packages or download links found for argparse
error: Could not find suitable distribution for Requirement.
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: python3.4 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 3.4 --dir . returned exit code 13
make: *** [build] Error 13
debian/rules:6: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2
see https:/
For some reason, it attempts to pull in an additional dependency which of course fails since the builds are running offline. I investigated this some, and it looks like building the python2 packages runs smoothly, but something fails when it attempts to create the python3 packages.
I set some breakpoints, and was able to trace the problem to a call to self.distributi
It is not clear to me why it would run fine with python2.7 but attempt to fetch the additional dependency when running with python3. More interesting is that this doesn't fail in my Debian Sid vm, so it looks like an Ubuntu-only issue. Though, the packages I've looked at are all synced unpatched from Debian, so I don't see what caused the difference.
description: | updated |
Looks like this has been resolved since newer version of guessit has built succesfully on Ubuntu 16.04 and later releases.