Skip to content
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

chore: handle the changes coming in ops 2.17 #191

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

tonyandrewmeyer
Copy link
Collaborator

The Secret._canonicalize_id method requires the model UUID to be passed in ops:main@HEAD.

There are some names that have moved from ops.main to ops._main - they are re-exported so Scenario doesn't actually break, but the static check complains if they are imported from ops.main.

This handles both current ops and ops 2.17 so that it can be merged ahead of the ops release, but the backwards compatibility should just get dropped and the minimum ops version bumped after the release, I think.

Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as soon as the ops change is live, we should consider adding a matrix of ops versions to test against, to maintain backwards compatibility.
This pr LGTM though

@tonyandrewmeyer tonyandrewmeyer merged commit 69b1be2 into canonical:main Sep 12, 2024
2 checks passed
@tonyandrewmeyer tonyandrewmeyer deleted the support-ops-2-17 branch September 12, 2024 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants