Python template is Python2
Bug #1438659 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charm Tools |
New
|
Undecided
|
Unassigned |
Bug Description
The 'charm create' command can be used to generate Python charm boiler plate, but it is Python2. Now that charm-helpers supports Python3, we should be encouraging Python3 charm development to avoid tech debt.
It could very easily be generating Python3 instead, by changing the shebang lines to #!/usr/bin/python3 and ensuring that packages like python3-pip are installed instead of python-pip.
To post a comment you must log in.