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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1841277

Title:
  please drop Py 2 OpenStack dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1841277/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to