From 507ca0080585e6588d6cf562a728b66e64e8996a Mon Sep 17 00:00:00 2001 From: aaronkanzer <36093535+aaronkanzer@users.noreply.github.com> Date: Sat, 17 Oct 2026 22:02:29 -0400 Subject: [PATCH] publish.yml: typecheck on 3.13 only, as ci.yml does The skip_live_tests dispatch ran mypy on every interpreter; numpy's stubs on 3.10 report 14 ndarray type-arg errors the other four do not, which failed the 3.10 leg of run 39088517858. --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 21bc1fe..a6068cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,11 @@ jobs: - run: | python -m pip install --upgrade pip pip install -e ".[dev,zarr,pandas]" - mypy src/scigantic_bil + - name: Typecheck + # One interpreter, as ci.yml does: numpy's stubs differ across + # versions and 3.10 reports ndarray type-arg errors 3.11+ do not. + if: ${{ matrix.python-version == '3.13' }} + run: mypy src/scigantic_bil - name: Live tests if: ${{ !inputs.skip_live_tests }} run: pytest -q --durations=15