Add support for python 3.6 (bionic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-backup-all |
Fix Released
|
Wishlist
|
Jose Guedez |
Bug Description
The module uses python features that require a newer python version than provided in Ubuntu Bionic (18.04), which is 3.6.9 - In particular dataclasses, which became available in python 3.7. The stacktrace below is an example of the unit test suite failing due to this issue.
It would be convenient if the jujubackupall module had support for the python version in Ubuntu Bionic, as it is still used widely.
=======
ERROR: test_process (unittest.
-------
ImportError: Failed to import test module: test_process
Traceback (most recent call last):
File "/home/
module = self._get_
File "/home/
__import_
File "/home/
from jujubackupall.
File "/home/
from jujubackupall.
File "/home/
import dataclasses
ModuleNotFoundE
-------
Ran 19 tests in 0.011s
FAILED (errors=3)
Related branches
- BootStack Reviewers: Pending requested
-
Diff: 171 lines (+26/-22)8 files modifiedMakefile (+1/-1)
README.md (+3/-0)
jujubackupall/backup.py (+16/-17)
requirements.txt (+1/-0)
setup.cfg (+2/-1)
tests/unit/test_process.py (+1/-1)
tests/unit/test_utils.py (+1/-0)
tox.ini (+1/-2)
Changed in juju-backup-all: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
assignee: | nobody → Jose Guedez (jfguedez) |
Changed in juju-backup-all: | |
status: | In Progress → Fix Committed |
Changed in juju-backup-all: | |
status: | Fix Committed → Fix Released |