Repository navigation
Update dependency charmlibs-snap to v2 - #650
Open
renovate[bot] wants to merge 4 commits into
Open
renovate[bot] wants to merge 4 commits into
renovate[bot] wants to merge 4 commits into
Conversation
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
September 5, 2026 08:10
0e6181c to
76040e0
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
September 7, 2026 15:09
76040e0 to
f4d28fd
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
September 9, 2026 08:00
f4d28fd to
b6c1346
Compare
seb4stien
approved these changes
Sep 10, 2026
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
September 11, 2026 03:41
b6c1346 to
296f8a3
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
September 12, 2026 07:29
296f8a3 to
208f68b
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
October 8, 2026 11:58
cdf4fce to
951abb5
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
October 8, 2026 13:27
951abb5 to
123361e
Compare
renovate
Bot
force-pushed
the
renovate/charmlibs-snap-2.x
branch
from
October 9, 2026 12:24
123361e to
840e872
Compare
…to charmlibs-snap v2 API
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
…ournalctl log assertion for up to 30s, since haproxy logs reach journald asynchronously via syslog
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.0.1.post0→==2.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
canonical/charmlibs (charmlibs-snap)
v2.0.0A ground-up rewrite of
charmlibs.snap. The 1.x library was a straight migration ofoperator_libs_linux.v2.snap; 2.0 is a new, deliberately smaller API. It talks to snapd exclusively over the REST API (it no longer shells out to thesnapCLI), has no caching layer, and has no runtime dependencies (theopentelemetry-apidependency and its tracing are gone). Function names, argument semantics, and error behaviour follow thesnapCLI, so what you know from the command line carries over.Every operation is a module-level function that takes the snap's name -- there are no
Snapobjects and noSnapCache. Every error the library raises is a subclass ofError, with typed subclasses for the cases a charm might want to handle. See the reference documentation for the full API, and how to migrate from 1.x to 2.0 for a walkthrough of the changes and a table mapping each 1.x name to its replacement.If you can't migrate yet, pin
charmlibs-snap<2. The 1.x series remains the drop-in replacement foroperator_libs_linux.v2.snap.Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.