py3.7 async is a keyword
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Corey Bryant |
Bug Description
I'm working on packaging nova 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: nova.tests.unit
Traceback (most recent call last):
File "/usr/lib/
package = self._get_
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
objects.
File "/<<PKGBUILDDIR
__import_
File "/<<PKGBUILDDIR
from nova.db.sqlalchemy import api as db_api
File "/<<PKGBUILDDIR
reader_mode = get_context_
SyntaxError: invalid syntax
note that this will need to be paired with oslo.db commit df6bf3401266f42 271627c1e408f87 c71a06cef7 "Rename enginefacade.async to enginefacade. async_" .