Skip to content

Commit 4074e3e

Browse files
acn-ericlawclaude
andcommitted
chore(ci): test on the supported floor and the newest Python - a matrix of 3.10 and 3.14
What: the test job runs ruff, basedpyright and pytest on Python 3.10 and 3.14, fail-fast off. Why: the package declares 3.10 to 3.14; the floor catches what a user on it would hit (a typing stub, as the first run of #84 did), the newest the deprecations ahead. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent b4f9c09 commit 4074e3e

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ permissions:
1515
jobs:
1616
test:
1717
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
# the supported floor and the newest release the package declares (pyproject.toml): the
22+
# floor catches what a user on it would hit (a typing stub, a missing method), the newest the
23+
# deprecations ahead; every gate runs on both
24+
python-version: ['3.10', '3.14']
25+
name: test (python ${{ matrix.python-version }})
1826
steps:
1927
- uses: actions/checkout@v7
2028
- uses: actions/setup-python@v7
2129
with:
22-
python-version: '3.10' # the supported floor
30+
python-version: ${{ matrix.python-version }}
2331
- name: Install package with dev extras
2432
run: pip install -e '.[dev]' basedpyright
2533
- name: Lint (ruff)

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@
349349
the Node 20 runtime that `actions/checkout@v4` and `actions/setup-python@v5` declare, and run them on Node 24 with a
350350
deprecation warning. An action declares its own runtime, and Node 24 is the newest GitHub offers, so both move to v7.
351351
In lockstep with the Node pack. **Upgrade note:** none - CI only; nothing in the package changes.
352+
9. **CI tests on the supported floor and the newest Python.** The `test` job runs ruff, basedpyright and pytest on
353+
a matrix of Python 3.10, the floor `pyproject.toml` declares, and 3.14, the newest release it lists; the floor
354+
catches what a user on it would hit (a typing stub, a missing method - as the first run of #84 did), the newest
355+
the deprecations ahead. `fail-fast` is off so both results show.
352356

353357
## Version 4.12.30, 11/16/2026
354358

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Session (2026-11-25T01:38:24.238Z)
2+
**Agent:** Claude Code *lightweight*
3+
CI: the `test` job runs the three gates on a matrix of Python 3.10 (the floor `pyproject.toml` declares) and 3.14 (the
4+
newest it lists), `fail-fast` off - Eric's suggestion after the first run of #84 failed its type check on 3.10 alone
5+
("you may want to update CI pipeline to use newer Python version"); the floor stays tested because the package declares
6+
it. CHANGELOG Unreleased `Changed` 1. Branch `chore/ci-python-matrix`; the pull request's own run is the gate.
7+
## Memory References
8+
(none)

0 commit comments

Comments
 (0)