[SRU] Installation fails with Python3.7 SyntaxError on Ubuntu Disco
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Invalid
|
Undecided
|
Unassigned | ||
python-libmaas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
High
|
Adam Collard |
Bug Description
[Impact]
python-libmaas is un-installable with py37
[Test Case]
sudo apt install python3-libmaas
[Regression Potential]
Minimal; internal module already in eoan development.
[Original bug report]
root@direct-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Disco Dingo (development branch)
Release: 19.04
Codename: disco
root@direct-
[ snip ... ]
Setting up python3-libmaas (0.6.0-0ubuntu1) ...
File "/usr/lib/
from .utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import Asynchronous
SyntaxError: invalid syntax
File "/usr/lib/
from ..utils.async import is_loop_running
SyntaxError: invalid syntax
dpkg: error processing package python3-libmaas (--configure):
installed python3-libmaas package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-libmaas
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@direct-
tags: | added: mosci |
tags: | added: uosci |
tags: | added: seg |
Changed in charm-hacluster: | |
status: | New → Invalid |
Changed in python-libmaas (Ubuntu Disco): | |
assignee: | nobody → Adam Collard (adam-collard) |
Changed in python-libmaas (Ubuntu Cosmic): | |
status: | Confirmed → Invalid |
Changed in python-libmaas (Ubuntu Bionic): | |
status: | Confirmed → Invalid |
Changed in python-libmaas (Ubuntu Disco): | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
description: | updated |
summary: |
- Installation fails with Python3.7 SyntaxError on Ubuntu Disco + [SRU] Installation fails with Python3.7 SyntaxError on Ubuntu Disco |
Note that ``python3-libmaas`` is a dependency of ``charm- hacluster` `, which means HA deployments of Ubuntu OpenStack are currently not possible on Ubuntu Disco.