mojo requires python < 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
High
|
Unassigned | ||
OpenStack Charm Test Infra |
Confirmed
|
High
|
Unassigned |
Bug Description
Mojo appears to not be python3 compatible. There are some python tools which are py3-only. This prevents usage of mojo in the same environment as the newer tool (such as python-libjuju).
clients runtests: commands[0] | mojo --version
Traceback (most recent call last):
File "/home/
load_
File "/home/
return get_distributio
File "/home/
return ep.load()
File "/home/
return self.resolve()
File "/home/
module = __import_
File "/home/
import mojo.project
File "/home/
mkdirs(
SyntaxError: invalid token
Related branches
- Chris MacNaughton (community): Approve
-
Diff: 39 lines (+19/-1)3 files modified.bzrignore (+1/-0)
requirements.txt (+1/-1)
tox.ini (+17/-0)
- Ryan Beisner: Approve
-
Diff: 543 lines (+66/-66)19 files modifiedcontrib/test/utils.py (+1/-1)
mojo/cli.py (+3/-3)
mojo/contain.py (+1/-1)
mojo/info.py (+2/-2)
mojo/juju/__init__.py (+5/-5)
mojo/juju/check.py (+3/-3)
mojo/juju/parse_status.py (+4/-4)
mojo/juju/status.py (+11/-11)
mojo/phase.py (+10/-10)
mojo/project.py (+15/-15)
mojo/project_destroy.py (+1/-1)
mojo/project_new.py (+1/-1)
mojo/tests/test_debuglogs.py (+1/-1)
mojo/tests/test_juju2.py (+1/-1)
mojo/tests/test_mojo.py (+2/-2)
mojo/tests/utils.py (+1/-1)
mojo/volattach.py (+2/-2)
mojo/workspace.py (+1/-1)
tox.ini (+1/-1)
Changed in mojo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → High |
Octal expression syntax changed for Py3. Numbers with leading zeros are now invalid.