In Py3.7 async is a keyword
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Corey Bryant |
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.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
import glance.
^
SyntaxError: invalid syntax
Here are some more examples: https:/
Changed in glance: | |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in glance: | |
status: | New → In Progress |
Changed in glance: | |
milestone: | none → stein-1 |
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: tests.unit. async.flows. plugins. test_inject_ image_metadata python3/ dist-packages/ unittest2/ loader. py", line 456, in _find_test_path module_ from_name( name) python3/ dist-packages/ unittest2/ loader. py", line 395, in _get_module_ from_name >>/glance/ tests/unit/ async/flows/ plugins/ test_inject_ image_metadata. py", line 22 async.flows. plugins. inject_ image_metadata as inject_metadata /paste. ubuntu. com/p/VHdZsKRkj C/ /bugs.launchpad .net/bugs/ 1781617 tests.unit. async.flows. plugins. test_inject_ image_metadata python3/ dist-packages/ unittest2/ loader. py", line 456, in _find_test_path module_ from_name( name) python3/ dist-packages/ unittest2/ loader. py", line 395, in _get_module_ from_name >>/glance/ tests/unit/ async/flows/ plugins/ test_inject_ image_metadata. py", line 22 async.flows. plugins. inject_ image_metadata as inject_metadata /paste. ubuntu. com/p/VHdZsKRkj C/ /bugs.launchpad .net/glance/ +bug/1781617/ +subscriptions
>
> 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.
> Traceback (most recent call last):
> File "/usr/lib/
> module = self._get_
> File "/usr/lib/
> __import__(name)
> File "/<<PKGBUILDDIR
> import glance.
> ^
> SyntaxError: invalid syntax
>
>
> Here are some more examples: https:/
>
> ** Affects: glance
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Glance.
> Matching subscriptions: peterbs
> https:/
>
> 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.
> Traceback (most recent call last):
> File "/usr/lib/
> module = self._get_
> File "/usr/lib/
> __import__(name)
> File "/<<PKGBUILDDIR
> import glance.
> ^
> SyntaxError: invalid syntax
>
>
> Here are some more examples: https:/
>
> To manage notifications about this bug go to:
> https:/