cannot install with python3.7 as default async is a reserved keyword
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Setting up python3-django-maas (2.5.0~
File "/usr/lib/
from maasserver.utils import async
SyntaxError: invalid syntax
File "/usr/lib/
from maasserver.utils import async
SyntaxError: invalid syntax
File "/usr/lib/
from maasserver.utils import async
SyntaxError: invalid syntax
File "/usr/lib/
from maasserver.
SyntaxError: invalid syntax
dpkg: error processing package python3-django-maas (--configure):
installed python3-django-maas package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of maas:
maas depends on python3-django-maas (= 2.5.0~beta2-
Package python3-django-maas is not configured yet.
This thus prevents building disco server subiquity images.
I guess async.py needs to be renamed to something else.
Related branches
- Newell Jensen (community): Approve
-
Diff: 308 lines (+37/-36)8 files modifieddocs/development/rpc.rst (+4/-4)
src/maasserver/clusterrpc/boot_images.py (+4/-4)
src/maasserver/clusterrpc/osystems.py (+3/-3)
src/maasserver/clusterrpc/tests/test_utils.py (+11/-11)
src/maasserver/clusterrpc/utils.py (+3/-2)
src/maasserver/utils/asynchronous.py (+0/-0)
src/maasserver/utils/orm.py (+1/-1)
src/maasserver/utils/tests/test_asynchronous.py (+11/-11)
Changed in maas (Ubuntu): | |
importance: | Undecided → Critical |
Changed in maas: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
status: | Confirmed → In Progress |
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 2.5.0rc1 |
Changed in maas (Ubuntu): | |
status: | New → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Thank you for the quick fix! I will cherrypick this in disco, such that we can start building server iso images.
Obviously will be trumped in the next upload to disco which has a new upstream release.