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: 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