Reviewed: https://review.openstack.org/582613 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=c58e5e02af76cad3967d22d14c63794c6d60456f Submitter: Zuul Branch: master
commit c58e5e02af76cad3967d22d14c63794c6d60456f Author: Corey Bryant <[email protected]> Date: Fri Jul 13 09:20:04 2018 -0400 Rename async package to async_ In Python 3.7, "async" is a keyword. To prevent it from conflicting, rename the async package to async_. Change-Id: I1eaf87eedb86679d9ca9323aac05f0770c33efea Closes-Bug: #1781617 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1781617 Title: In Py3.7 async is a keyword Status in Glance: Fix Released Bug description: I'm working on packaging glance for rocky on ubuntu cosmic which is now at py3.7. In py3.7 "async" is a keyword, which results in issues such as: Failed to import test module: glance.tests.unit.async.flows.plugins.test_inject_image_metadata Traceback (most recent call last): File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name __import__(name) File "/<<PKGBUILDDIR>>/glance/tests/unit/async/flows/plugins/test_inject_image_metadata.py", line 22 import glance.async.flows.plugins.inject_image_metadata as inject_metadata ^ SyntaxError: invalid syntax Here are some more examples: https://paste.ubuntu.com/p/VHdZsKRkjC/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1781617/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

