Update dependency charmlibs-snap to v2 (16/edge) - #1952
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
carlcsaposs-canonical,
dragomirp,
marceloneppel,
oleksii-buhaiov,
taurus-forever and
xavipg003
and removed request for
a team
September 8, 2026 02:25
renovate
Bot
force-pushed
the
renovate/16/edge-major-python-dependencies
branch
from
September 15, 2026 02:25
cbd4452 to
105c771
Compare
renovate
Bot
force-pushed
the
renovate/16/edge-major-python-dependencies
branch
from
September 22, 2026 02:17
105c771 to
1271551
Compare
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→^2.0.0Release 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: (in timezone Etc/UTC)
* 1-7 * * 2)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.