Remove all references to series from juju/charm in code
That is, remove series from charm url, bundles, and metadata
For the case of charm urls, to ensure we can still parse existing charm urls, we do not remove the series attribute as such, but instead make it private. It is then only accessible via stringifying a url. This ensures that parsing then stringifying a charm url does not change it's value.
Also remove Deployments from metadata
In latest Juju we will no longer support reading series from charm
metadata. All charms must have manifests
Deployments are only used for podspec charms, which we no longer support
in 4.0
Also remove some unused test charms
QA Steps
Compile into juju 4.0
juju bootstrap lxd lxd
juju add-model m
juju deploy ubuntu
Remove all references to series from juju/charm in code
That is, remove series from charm url, bundles, and metadata
For the case of charm urls, to ensure we can still parse existing charm urls, we do not remove the series attribute as such, but instead make it private. It is then only accessible via stringifying a url. This ensures that parsing then stringifying a charm url does not change it's value.
Also remove Deployments from metadata
In latest Juju we will no longer support reading series from charm metadata. All charms must have manifests
Deployments are only used for podspec charms, which we no longer support in 4.0
Also remove some unused test charms
QA Steps
Compile into juju 4.0