-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Juju 3.3+ bases instead of or in addition to series #1156
Comments
Need to decide how we do this:
For 3.x series of this library, we have to make a table of series --> bases, like "focal" -> [email protected] For 4.x series, we could force all users to upgrade, maybe? |
I think this is reasonable -- drop series entirely and only use bases in python-libjuju targeting Juju 4.0. If no users are requesting support for bases, do we need to support them in 3.x of this library? I know that we probably should, but for example Juju 3.6 seems to still supports Charms facade version 6, which still uses series instead of bases. |
A recent update to the 'ubuntu' charm requires the use of the v2 metadata format when refreshing from a local charm. The v2 format replaces series with bases, among other changes. Properly supporting this will need to wait on updating python-libjuju to handle bases as well as (or instead of) series -- see issue juju#1156. In the meantime, fix the test breakage by pinning the install of 'ubuntu' in broken tests to the previous revision (24). This revision has a mismatch with the specification of the "focal" series (20.04), so also bump the series in the local charm to "jammy".
…ocal-refresh-integration #1158 #### Description A recent update to the 'ubuntu' charm requires the use of the v2 metadata format when refreshing from a local charm. The v2 format replaces series with bases, among other changes. Properly supporting this will need to wait on updating python-libjuju to handle bases as well as (or instead of) series -- see issue #1156. In the meantime, fix the test breakage by pinning the install of 'ubuntu' in broken tests to the previous revision (24). This revision has a mismatch with the specification of the "focal" series (20.04), so also bump the series in the local charm to "jammy". #### QA Steps CI tests should now pass again.
Description
Older Juju used "series" like "focal"
New Juju uses "bases" like "[email protected]"
See:
https://discourse.charmhub.io/t/transition-from-series-to-base-in-juju-4-0/14127
https://juju.is/docs/juju/base
Urgency
It would save from a weird workaround
Code I'd Like to Run
The text was updated successfully, but these errors were encountered: