migrate to Python 3
Bug #1890205 reported by
Paul Collins
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This charm is written in Python 2. We should migrate to Python 3.
Canonical IS's deployment currently uses 18.04 LTS (bionic). In 20.04 LTS (focal) Python 2 has been moved to universe.
Changed in ubuntu-mirror-charm: | |
status: | New → Confirmed |
To post a comment you must log in.
We'll also likely need to migrate templating from cheetah to jinja2 if we want to keep bionic compatibility, since there's no python3-cheetah pre-focal:
https:/ /packages. ubuntu. com/focal/ python3- cheetah
vs
https:/ /packages. ubuntu. com/bionic/ python3- jinja2
And it may be better to just bite the bullet and port to operator while we're at it.