[Bug 1656333] Re: [SRU] Fix uuid shim in newer Python versions

Brian Murray brian at ubuntu.com
Wed Jan 18 20:51:21 UTC 2017


It would have been helpful to include information about which versions
of Ubuntu this is fixed in, looking at the source code for the version
in Xenial it is fixed there.

** Also affects: kombu (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: kombu (Ubuntu)
       Status: New => Fix Released

** Changed in: kombu (Ubuntu Trusty)
       Status: New => Fix Committed

** Tags added: verification-needed

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

Title:
  [SRU] Fix uuid shim in newer Python versions

Status in kombu package in Ubuntu:
  Fix Released
Status in kombu source package in Trusty:
  Fix Committed

Bug description:
  [Description]
  Rebuilding cinder and glance with python2.7.12 for trusty is resulting in kombu failures such as:

  Traceback (most recent call last):
    ...
    File "/usr/lib/python2.7/dist-packages/kombu/utils/__init__.py", line 17, in <module>
      from uuid import UUID, uuid4 as _uuid4, _uuid_generate_random
  ImportError: cannot import name _uuid_generate_random

  See: http://qa.ubuntuwire.org/ftbfs/rebuilds/test-rebuild-20161216
  -updates-python2712-trusty.html

  This backports a patch from upstream kombu to fix the uuid shim in
  newer Python versions. It is also backward compatible with the current
  version of Python in trusty.

  [Test Case]
  Building cinder and glance will run unit tests that will fail with Python2.7.12 without this patch.

  [Regression Potential]
  Low. The patch is cherry-picked from upstream.

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



More information about the Ubuntu-openstack-bugs mailing list