diff --git a/.github/workflows/build-mgrs.yml b/.github/workflows/build-mgrs.yml index b8331b289e37..2677e206b2d5 100644 --- a/.github/workflows/build-mgrs.yml +++ b/.github/workflows/build-mgrs.yml @@ -71,10 +71,12 @@ jobs: # Upstream ships this commented out; tests/test.txt is a doctest that # pytest's default --doctest-glob (test*.txt) already picks up. CIBW_TEST_REQUIRES: pytest - # Stage only tests/, not the checkout's own mgrs/ package, or `import mgrs` - # in the doctest resolves to the checkout instead of the installed wheel. - CIBW_TEST_SOURCES: tests - CIBW_TEST_COMMAND: pytest tests + # Stage only tests/ and benchmarks/ (as upstream's own test-sources does; from + # 1.6.0 several tests import `benchmarks`), not the checkout's own mgrs/ + # package, or `import mgrs` in the doctest resolves to the checkout instead + # of the installed wheel. `python -m pytest` puts the staged cwd on sys.path. + CIBW_TEST_SOURCES: tests benchmarks + CIBW_TEST_COMMAND: python -m pytest tests - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: diff --git a/docs/packages/mgrs.yaml b/docs/packages/mgrs.yaml index 2554544b7562..a15abb077a3d 100644 --- a/docs/packages/mgrs.yaml +++ b/docs/packages/mgrs.yaml @@ -17,3 +17,4 @@ versions: - filename: mgrs-1.5.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: cb7e27383eb35c323757587e932afab036961acc1ebb72c23cba94c2b457e0ca requires-python: '>=3.9' +- version: 1.6.0