Skip to content

Update dependency charmlibs-snap to v2 (16/edge) - autoclosed - #1952

Closed
renovate[bot] wants to merge 1 commit into
16/edgefrom
renovate/16/edge-major-python-dependencies
Closed

renovate[bot] wants to merge 1 commit into
16/edgefrom
renovate/16/edge-major-python-dependencies

Conversation

@renovate

@renovate renovate Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
charmlibs-snap (source, changelog) ^1.0.1 → ^2.0.0 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.


Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • Between 01:00 AM and 07:59 AM, only on Tuesday (* 1-7 * * 2)
  • Automerge
    • At any time (no schedule defined)

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


  • 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 8, 2026 02:25
@renovate renovate Bot added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Sep 8, 2026
github-actions[bot]
github-actions Bot previously approved these changes Sep 8, 2026
@github-actions github-actions Bot added the Libraries: Out of sync The charm libs used are out-of-sync label Sep 8, 2026
@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch 2 times, most recently from 105c771 to 1271551 Compare September 22, 2026 02:17
@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch 2 times, most recently from 197f2cd to 677d005 Compare October 6, 2026 02:35
@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch from 677d005 to 69f6a2c Compare October 13, 2026 01:02
@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch from 69f6a2c to 797f493 Compare October 20, 2026 03:10
@renovate

renovate Bot commented Oct 20, 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: poetry.lock

Because postgresql-charms-single-kernel[postgresql,vm] (16.3.24) depends on charmlibs-snap (>=1.0.1,<2)
 and non-package-mode depends on charmlibs-snap (^2.0.0), postgresql-charms-single-kernel is forbidden.
So, because non-package-mode depends on postgresql-charms-single-kernel[postgresql,vm] (16.3.24), version solving failed.

@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch from 797f493 to fd1acd2 Compare October 27, 2026 03:03
@renovate
renovate Bot force-pushed the renovate/16/edge-major-python-dependencies branch from fd1acd2 to a6f66e9 Compare November 17, 2026 01:09
@renovate renovate Bot changed the title Update dependency charmlibs-snap to v2 (16/edge) Update dependency charmlibs-snap to v2 (16/edge) - autoclosed Nov 20, 2026
@renovate renovate Bot closed this Nov 20, 2026
@renovate
renovate Bot deleted the renovate/16/edge-major-python-dependencies branch November 20, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Libraries: Out of sync The charm libs used are out-of-sync not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants