From b948f072679f28ff31869532bc1f6359b818d6f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 16:33:40 +0000 Subject: [PATCH 1/3] build(deps): bump actions/cache from 5 to 6 Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5695074..9183738 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: # matrix slot on the same OS. - name: cache wirelog install id: cache-wirelog - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ env.WIRELOG_PREFIX }} key: wirelog-${{ matrix.os }}-${{ steps.wirelog-sha.outputs.sha }}-${{ hashFiles('scripts/build_wirelog.sh', 'scripts/build_wirelog.ps1') }} From ff2575c8f0727bb70831d448ceb5de78396965c9 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 26 Jun 2026 23:38:09 +0900 Subject: [PATCH 2/3] ci: pin numpy<2.5 in lint to keep mypy 3.11 target green numpy 2.5.0 ships .pyi stubs using the PEP 695 `type` statement, which mypy rejects under our python_version="3.11" target (requires-python is >=3.11) with "Type statement is only supported in Python 3.12 and greater", failing the lint gate on every PR. Pin numpy<2.5 in the lint deps so stub-checking uses 2.4.x; runtime numpy stays unpinned (>=1.24). --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9183738..3f2bf0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,13 @@ jobs: # pytest is needed so mypy can find its stubs when type-checking tests/. # numpy is an optional runtime dependency (#22 zero-copy path) but # mypy still needs its types when type-checking src/pyrewire/session.py. - run: pip install black isort flake8 mypy pytest numpy + # numpy is pinned <2.5 here: numpy 2.5.0 ships .pyi stubs that use the + # PEP 695 `type` statement, which mypy rejects under our `python_version + # = "3.11"` target (requires-python is >=3.11) with "Type statement is + # only supported in Python 3.12 and greater". This only affects the + # stub-checking env; runtime numpy stays unpinned (>=1.24). Drop the cap + # once mypy parses PEP 695 stubs independently of the target version. + run: pip install black isort flake8 mypy pytest "numpy<2.5" - name: black --check run: black --check . - name: isort --check From a6c2e9886e2dd06175b34e34636dfc9941772581 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 26 Jun 2026 23:42:25 +0900 Subject: [PATCH 3/3] test: update CI workflow guard to expect actions/cache@v6 test_ci_uses_node24_actions pins the exact action versions the CI workflow must use. The actions/cache bump from v5 to v6 requires updating this assertion in lockstep; without it the guard fails on the version bump. --- tests/test_ci_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ci_workflow.py b/tests/test_ci_workflow.py index e85435f..d2e14a5 100644 --- a/tests/test_ci_workflow.py +++ b/tests/test_ci_workflow.py @@ -48,7 +48,7 @@ def test_ci_uses_node24_actions(): assert "ilammy/msvc-dev-cmd" not in text assert "actions/checkout@v7" in text assert "actions/setup-python@v6" in text - assert "actions/cache@v5" in text + assert "actions/cache@v6" in text def test_all_workflows_use_node24_core_actions():