[Python-modules-team] Bug#846871: python-sparqlwrapper: requires keeplive==0.5

Hilko Bengen bengen at debian.org
Sat Dec 3 20:25:44 UTC 2016


Package: python-sparqlwrapper
Version: 1.7.6-1
Severity: grave

Dear Maintainer,

I am working on packaging aff4 whose Python bindings require
python-sparqlwrapper via python-rdflib.

The tests cannot be run because pytest notices an unsatisfied
dependency, keepalive>=0.5, as can be seen below. In my build chroot, as
far as I can see, this dependency is only declared in
.../SPARQLWrapper-1.7.6.egg-info/requires.txt.

,----
| dh_auto_test --sourcedirectory=pyaff4 --buildsystem=pybuild
| I: pybuild base:184: python2.7 setup.py test
| running test
| Searching for keepalive>=0.5
| 
| Note: Bypassing https://pypi.python.org/simple/keepalive/ (disallowed
| host; see http://bit.ly/1dg9ijs for details).
| 
| Couldn't find index page for 'keepalive' (maybe misspelled?)
| Scanning index of all packages (this may take a while)
| 
| Note: Bypassing https://pypi.python.org/simple/ (disallowed host; see
| http://bit.ly/1dg9ijs for details).
| 
| No local packages or working download links found for keepalive>=0.5
| error: Could not find suitable distribution for
| Requirement.parse('keepalive>=0.5')
| E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1:
| python2.7 setup.py test
| dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir pyaff4
| returned exit code 13
`----

After preparing and installing a python-keepalive package, the tests
succeed.

I am not sure that the keepalive module is really needed because one
will only get a warning if the module cannot be imported. Removing the
requires.txt line would probably be enough.

Cheers,
-Hilko



More information about the Python-modules-team mailing list