Skip to content

build(deps): require craft-cli 3.5.0 and adopt craft-cli[pytest] - #2998

Open
skdas20 wants to merge 1 commit into
canonical:mainfrom
skdas20:deps/craft-cli-3.5
Open

skdas20 wants to merge 1 commit into
canonical:mainfrom
skdas20:deps/craft-cli-3.5

Conversation

@skdas20

@skdas20 skdas20 commented Nov 23, 2026

Copy link
Copy Markdown

Fixes #2993.

  • pyproject.toml: craft-cli~=3.4.1 → craft-cli>=3.5.0, and craft-cli[pytest]>=3.5.0 added to the dev group.
  • uv.lock: regenerated with uv lock --upgrade-package craft-cli; craft-cli (3.4.1 → 3.5.0) is the only package whose version changes. uv lock --check passes.

I ran the unit tests (everything except tests/integration and tests/spread) with craft-cli 3.4.1 and 3.5.0, in separate environments. The results were identical (1840 passed both times), with the same set of failing tests. Those failures come from my environment (no apt backend, and a fake-filesystem home directory issue).

This unblocks #2988, #2989 and #2991.


  • I've followed the contribution guidelines.
  • I've signed the CLA.
  • I've successfully run make lint && make test. (ran uv lock --check and the unit tests as described above)
  • I've added or updated any relevant documentation. (n/a)
  • In documents I changed, I added a meta description if one was missing. (n/a)
  • I've updated the relevant release notes. (happy to add one if wanted for a dependency bump)

🤖 Generated with Claude Code

Require craft-cli>=3.5.0 and add craft-cli[pytest]>=3.5.0 to the dev
dependencies, bringing the negative emitter assertions,
raises_craft_error and progress bar units to Charmcraft.

Fixes canonical#2993

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@skdas20
skdas20 requested a review from lengau as a code owner November 23, 2026 19:33
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.

Bump craft-cli dependency to >=3.5.0 and adopt craft-cli[pytest]

1 participant