From 68ff738265beaa53c1f5b94465691b7b514f9069 Mon Sep 17 00:00:00 2001 From: altissimo Date: Thu, 5 Nov 2026 15:42:26 -0500 Subject: [PATCH 1/2] fix(ci): install the dev group with plain poetry sync Every CI job failed at the install step with `The option "--group" does not exist`: poetry sync takes --with/--only, not --group. The dev group is not optional, so plain `poetry sync` already installs it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VeRtUXLok9MasZv7KAE7p7 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7d9828..81e3b49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: with: python-version: "3.13" - run: pipx install poetry==2.0.1 - - run: poetry sync --group dev + - run: poetry sync - run: poetry run pre-commit run --all-files test: @@ -29,7 +29,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pipx install poetry==2.0.1 - - run: poetry sync --group dev + - run: poetry sync - run: poetry run pytest --cov=altissimo --cov-report=term-missing --cov-fail-under=80 build: From 0fbc036fccec8e463d04f2dd33796e386978dc72 Mon Sep 17 00:00:00 2001 From: altissimo Date: Thu, 5 Nov 2026 15:47:03 -0500 Subject: [PATCH 2/2] test: import the package in the placeholder test The placeholder test only asserted True, so coverage measured nothing and the 80% minimum failed with 0%. Importing the package gives coverage something to measure until the client has real tests. This also fixes the blank line ruff format wanted after the docstring. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VeRtUXLok9MasZv7KAE7p7 --- tests/test_placeholder.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/test_placeholder.py b/tests/test_placeholder.py index ecaf119..a5cff9a 100644 --- a/tests/test_placeholder.py +++ b/tests/test_placeholder.py @@ -1,5 +1,8 @@ -"""Placeholder tests.""" +"""Placeholder tests until the client has real ones.""" -def test_placeholder() -> None: - """A placeholder test so pytest does not fail.""" - assert True +import altissimo.fastapi_utils + + +def test_package_imports() -> None: + """The package imports, which gives coverage something to measure.""" + assert altissimo.fastapi_utils.__all__ == []