I confirmed this on an install of python3-glance on cosmic. It appears
this is a python3.7-only issue as expected, and confirmed below. Cosmic
and Bionic default to python3.6. For some reason the install of
python3-glance in cosmic does

root@c1:~# python3.6
Python 3.6.6+ (default, Sep  1 2018, 01:05:25) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import glance.async.flows.api_image_import
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve 
package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve 
package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve 
package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve 
package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve 
package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
>>> quit()
root@c1:~# python3.7
Python 3.7.0+ (default, Aug 31 2018, 23:21:37) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import glance.async.flows.api_image_import
  File "<stdin>", line 1
    import glance.async.flows.api_image_import
                      ^
SyntaxError: invalid syntax

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

Title:
  python3-glance (2:17.0.0-0ubuntu3) isn't installing in cosmic

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

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

Reply via email to