charms.openstack/charms_openstack/charm
James Page 97128ae340 py3: add support for switching workloads from py2->py3
For migration of services to execution under Python 3 add support
for a Charm class to declare a set of packages to purge on upgrade.

This allows the target release Charm class to remove Python 2
modules installed as part of prior charm versions.

After the purge call, autoremove will also be called to purge any
other packages that where indirectly installed.

Add new python_version attribute for charm classes, supporting
conditional install of python{3}-memcache for token caching.

Change-Id: I17a93524fb7ec134b4a3a61cd0e86977daf49c4e
2018-09-10 14:18:29 +01:00
..
__init__.py Refactor of charm.py -> charm/*.py and tests 2017-05-19 18:21:09 +01:00
classes.py py3: add support for switching workloads from py2->py3 2018-09-10 14:18:29 +01:00
core.py py3: add support for switching workloads from py2->py3 2018-09-10 14:18:29 +01:00
defaults.py Import statement removed on core.py 2018-08-24 13:27:09 +02:00
utils.py Change some helpers to do less work 2017-08-08 14:46:20 +01:00