Skip to content

fix(deps): update dependency charmlibs-snap to v2 - #125

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/charmlibs-snap-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/charmlibs-snap-2.x

Conversation

@renovate

@renovate renovate Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
charmlibs-snap (source, changelog) >=0.8.0,<2 → >=2,<3 age confidence

Release Notes

canonical/charmlibs (charmlibs-snap)

v2.0.0

A ground-up rewrite of charmlibs.snap. The 1.x library was a straight migration of operator_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 the snap CLI), has no caching layer, and has no runtime dependencies (the opentelemetry-api dependency and its tracing are gone). Function names, argument semantics, and error behaviour follow the snap CLI, 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 Snap objects and no SnapCache. Every error the library raises is a subclass of Error, 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 for operator_libs_linux.v2.snap.

v1.0.1.post0

Update project URLs.

v1.0.1

Update project URLs.

v1.0.0.post0

Update project URLs.

v1.0.0

Update project URLs.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner September 5, 2026 04:19
@renovate
renovate Bot enabled auto-merge (squash) September 5, 2026 04:19
@renovate

renovate Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Using CPython 3.15.0 interpreter at: /opt/containerbase/tools/python/3.15.0/bin/python3
error: No solution found when resolving dependencies for split (markers: python_full_version == '3.9.*')
  cause: Because the requested Python version (>=3.8.6) does not satisfy Python>=3.10 and charmlibs-snap==2.0.0 depends on Python>=3.10, we can conclude that charmlibs-snap==2.0.0 cannot be used.
         And because only charmlibs-snap<=2.0.0 is available and your project depends on charmlibs-snap>=2, we can conclude that your project's requirements are unsatisfiable.

hint: While the active Python version is 3.15, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`.

hint: The `requires-python` value (>=3.8.6) includes Python versions that are not supported by your dependencies (e.g., charmlibs-snap==2.0.0 only supports >=3.10). Consider using a more restrictive `requires-python` value (like >=3.10).

@renovate
renovate Bot force-pushed the renovate/charmlibs-snap-2.x branch from c8eb48d to c1e6f68 Compare October 9, 2026 07:58
@renovate
renovate Bot force-pushed the renovate/charmlibs-snap-2.x branch from c1e6f68 to ac22c0d Compare October 19, 2026 09:48

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants