From ce2f4de6e8877bdd6fe4e0dbe5cc7e7cc3ce7cfe Mon Sep 17 00:00:00 2001 From: Constantinos Eleftheriou Date: Thu, 6 Aug 2026 15:57:07 +0100 Subject: [PATCH] fix(ci): install the project itself for docs deploy, not just its deps --only-group docs (from #104) fixed the lxml build failure, but it also skips installing the mesoscopy package itself -- --only-group behaves like --only-dev and excludes the project. mkdocs-click's CLI reference page imports mesoscopy directly via importlib, so the deploy step still failed: ModuleNotFoundError: No module named 'mesoscopy' Use --no-default-groups --group docs instead, which excludes the dev/types/lxml chain but still installs the project package. Verified locally: `uv run --no-default-groups --group docs mkdocs build --verbose` completes with exit 0 and no lxml/mypy in the resolved env. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 4573255..a5508e1 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,4 +20,4 @@ jobs: run: uv python install - name: Deploy docs - run: uv run --only-group docs mkdocs gh-deploy --force --clean --verbose \ No newline at end of file + run: uv run --no-default-groups --group docs mkdocs gh-deploy --force --clean --verbose \ No newline at end of file