I tried a build with the above named Build-Depends dropped but that results in a failure [1]. It looks like at least keystoneclient is also a run-time dependency. Can the python-simplestreams binary package be dropped at this point? That would solve that issue. I was able to successfully build the package after removing the python-simplestreams binary package and Python 2 support. Please see the attached debdiff. Note the patch should get forwarded upstream. If the approach sounds reasonable I can do that.
[1]
======================================================================
ERROR: Failure: ImportError (No module named keystoneclient.v2_0)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/build/simplestreams-0.1.0-25-gba75825b/tests/unittests/test_openstack.py", line 4, in <module>
import simplestreams.openstack as s_openstack
File "/build/simplestreams-0.1.0-25-gba75825b/simplestreams/openstack.py", line 21, in <module>
from keystoneclient.v2_0 import client as ksclient_v2
ImportError: No module named keystoneclient.v2_0
I tried a build with the above named Build-Depends dropped but that results in a failure [1]. It looks like at least keystoneclient is also a run-time dependency. Can the python- simplestreams binary package be dropped at this point? That would solve that issue. I was able to successfully build the package after removing the python- simplestreams binary package and Python 2 support. Please see the attached debdiff. Note the patch should get forwarded upstream. If the approach sounds reasonable I can do that.
[1] ======= ======= ======= ======= ======= ======= ======= ======= ======= v2_0) ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 7/dist- packages/ nose/loader. py", line 418, in loadTestsFromName python2. 7/dist- packages/ nose/importer. py", line 47, in importFromPath Dir(dir_ path, fqname) python2. 7/dist- packages/ nose/importer. py", line 94, in importFromDir part_fqname, fh, filename, desc) simplestreams- 0.1.0-25- gba75825b/ tests/unittests /test_openstack .py", line 4, in <module> openstack as s_openstack simplestreams- 0.1.0-25- gba75825b/ simplestreams/ openstack. py", line 21, in <module>
=======
ERROR: Failure: ImportError (No module named keystoneclient.
-------
Traceback (most recent call last):
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/build/
import simplestreams.
File "/build/
from keystoneclient.v2_0 import client as ksclient_v2
ImportError: No module named keystoneclient.v2_0