From 47b8b919dfa6723449586cac44d91ceb6a7e9a4a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:34:26 +0000 Subject: [PATCH 1/2] rigour: Add version 2.5.0 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- docs/packages/rigour.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/rigour.yaml b/docs/packages/rigour.yaml index 9f5a0e6ae10..6211eee29f2 100644 --- a/docs/packages/rigour.yaml +++ b/docs/packages/rigour.yaml @@ -20,3 +20,4 @@ versions: - filename: rigour-2.4.1-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl sha256: d319f27a4375ec0e6baea25b9b35d0e411e55a061e127afa329ec773b0fdfa17 requires-python: '>=3.10' +- version: 2.5.0 From 66bd9a6a38a884b680c794ceef72d0c19840d244 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 18 Sep 2026 12:51:11 +0000 Subject: [PATCH 2/2] rigour: ignore test_genscripts.py in wheel test command rigour 2.5.0 adds tests/test_genscripts.py, which imports the repo-root genscripts/ dev-tooling package (maintainer-only data-table generators). CIBW_TEST_SOURCES only stages tests/, so genscripts/ is never present in the isolated test cwd, and collection fails on every interpreter with ModuleNotFoundError: No module named 'genscripts'. genscripts/ isn't part of the installed wheel, so ignore that one test file instead of staging more to satisfy an unrelated import. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_011RwtHNpuiuiCk4MstTLu8m --- .github/workflows/build-rigour.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-rigour.yml b/.github/workflows/build-rigour.yml index ee135298b83..7b1bb593026 100644 --- a/.github/workflows/build-rigour.yml +++ b/.github/workflows/build-rigour.yml @@ -121,9 +121,13 @@ jobs: # the checkout's own source (testing-and-shadowing gotcha 25). # test-sources copies just tests/ into an empty cwd to avoid that. CIBW_TEST_SOURCES: tests + # tests/test_genscripts.py imports the repo-root genscripts/ dev-tooling + # package (data-table generators for maintainers), which test-sources + # deliberately doesn't stage; it's not part of the installed wheel, so + # ignore it rather than staging more to satisfy an unrelated import. CIBW_TEST_COMMAND: >- python -c "import rigour._core as m; assert m.__file__.endswith('.so'), m.__file__" && - python -m pytest -v tests -k "${{ matrix.pytest_k }}" + python -m pytest -v tests --ignore=tests/test_genscripts.py -k "${{ matrix.pytest_k }}" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: