Comment 1 for bug 1781617

Revision history for this message
Peter Steele (peterbss) wrote : Re: [Bug 1781617] [NEW] In Py3.7 async is a keyword

Who do I have to blow to unsubscribe to these mailings???????????
Peter Steele
<email address hidden>

> On Jul 13, 2018, at 10:58 AM, Corey Bryant <email address hidden> wrote:
>
> Public bug reported:
>
> 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/
>
> ** Affects: glance
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Glance.
> Matching subscriptions: peterbs
> https://bugs.launchpad.net/bugs/1781617
>
> Title:
> In Py3.7 async is a keyword
>
> Status in Glance:
> New
>
> 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