Skip to content

Releases: canonical/charm-ci

v1.0.1

Choose a tag to compare

@javierdelapuente javierdelapuente released this 27 Aug 06:29
58ae661

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@javierdelapuente javierdelapuente released this 24 Aug 10:51
0eef5b8

What's Changed

Full Changelog: v0.0.1-alpha.10...v1.0.0

v0.0.1-alpha.10

Choose a tag to compare

@javierdelapuente javierdelapuente released this 10 Aug 14:10
f0746f4

What's Changed

Full Changelog: v0.0.1-alpha.9...v0.0.1-alpha.10

v0.0.1-alpha.9

Choose a tag to compare

@javierdelapuente javierdelapuente released this 13 Jul 11:05
5fe9ef7

What's Changed

Full Changelog: v0.0.1-alpha.8...v0.0.1-alpha.9

v0.0.1-alpha.8

Choose a tag to compare

@javierdelapuente javierdelapuente released this 09 Jul 09:13
1903611

What's Changed

Full Changelog: v0.0.1-alpha.7...v0.0.1-alpha.8

v0.0.1-alpha.7

Choose a tag to compare

@javierdelapuente javierdelapuente released this 07 Jul 07:48
2f274a6

What's Changed

Full Changelog: v0.0.1-alpha.6...v0.0.1-alpha.7

v0.0.1-alpha.6

Choose a tag to compare

@javierdelapuente javierdelapuente released this 02 Jul 07:37
7e08ea4

What's Changed

Full Changelog: v0.0.1-alpha.5...v0.0.1-alpha.6

v0.0.1-alpha.5

Choose a tag to compare

@javierdelapuente javierdelapuente released this 25 Jun 09:36
eb9b8de

What's Changed

Full Changelog: v0.0.1-alpha.4...v0.0.1-alpha.5

v0.0.1-alpha.4

Choose a tag to compare

@javierdelapuente javierdelapuente released this 16 Jun 13:50
b478897
fix: make typer and jinja2 optional via [cli] extra (#90)

* fix: make typer and jinja2 optional via [cli] extra

The pytest plugin only needs pydantic and ruamel.yaml at runtime.
Moving typer>=0.15 and jinja2>=3.1 to the [cli] optional extra
allows projects with a conflicting typer pin to install opcli for
the pytest plugin alone without a dependency conflict.

Changes:
- pyproject.toml: move typer + jinja2 to [project.optional-dependencies] cli;
  add both to [dependency-groups] dev so CI and local dev are unaffected
- core/subprocess.py: replace typer.echo() with print(..., file=sys.stderr)
  so the core module has zero typer imports (not just incidentally typer-free)
- app.py: add ImportError guard with a clear install hint when typer is absent
- README.md, AGENTS.md: document the [cli] extra and slim install use case

Install the full CLI:    pip install 'opcli[cli] @ git+...'
Install plugin only:     pip install 'opcli @ git+...'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: add [cli] extra to all uv tool install calls

All workflow files and spread backend templates were installing
bare opcli (without typer), causing 'ModuleNotFoundError: typer'
when running any opcli command in CI.

Update every uv tool install invocation to use the [cli] extra:
  - .github/workflows/*.yml (6 files, 11 occurrences)
  - src/opcli/core/spread.py (local/CI/opcli-minimal templates, 6 occurrences)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

v0.0.1-alpha.3

Choose a tag to compare

@javierdelapuente javierdelapuente released this 12 Jun 18:52
13721e4

What's Changed

  • feat: add pre-build-rock-script input to build and integration-test workflows by @alithethird in #83
  • fix: run charmcraft upload from pack_dir to avoid charmcraft >= 4.x crash by @javierdelapuente in #84

New Contributors

Full Changelog: v0.0.1-alpha.2...v0.0.1-alpha.3