From a02eab9e27b7e62904e33030c709294b6dc6f111 Mon Sep 17 00:00:00 2001 From: chichun-charlie-liu Date: Tue, 10 Nov 2026 13:04:18 -0500 Subject: [PATCH 1/3] ci: set up Python 3.12 in lint workflow to match tox basepython tox.ini sets basepython = python3.12 for the ruff and lint envs, but lint.yml only installed Python 3.11 via setup-python. tox previously found 3.12 as the preinstalled system Python on ubuntu-latest; that no longer holds, so tox -e ruff / tox -e lint fail with 'could not find python interpreter matching any of the specs python3.12'. Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: chichun-charlie-liu --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 59678d5a..3b05b121 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -60,10 +60,10 @@ jobs: # https://github.com/actions/checkout/issues/249 fetch-depth: 0 - - name: Setup Python 3.11 + - name: Setup Python 3.12 uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: 3.11 + python-version: 3.12 cache: pip cache-dependency-path: | **/pyproject.toml From ebd18725379a5f3d112e0f65eb0d1cc91c08a789 Mon Sep 17 00:00:00 2001 From: chichun-charlie-liu Date: Tue, 10 Nov 2026 13:38:42 -0500 Subject: [PATCH 2/3] ci: bump build-and-inspect-python-package to v3.0.2 v2.14.0 sets up Python '3.x', which now resolves to CPython 3.15, and its pinned tools (pydantic-core==2.41.1, PyO3 0.26) fail to build there, so the 'Build and check packages' job fails before reaching our package. v3.0.2 pins the build Python (default 3.14) and ships newer tool pins (pydantic-core==2.50.1). Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: chichun-charlie-liu --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 8b2c58d4..b64cedfc 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -44,7 +44,7 @@ jobs: # for setuptools-scm fetch-depth: 0 - - uses: hynek/build-and-inspect-python-package@efb823f52190ad02594531168b7a2d5790e66516 # v2.14.0 + - uses: hynek/build-and-inspect-python-package@67230f7b8410ae0052b39c1efc89d89fff43ff10 # v3.0.2 # push to Test PyPI on # - a new GitHub release is published From 179a313c063df6b0273d0f925b77d0fbdcb16b10 Mon Sep 17 00:00:00 2001 From: chichun-charlie-liu Date: Tue, 10 Nov 2026 14:13:09 -0500 Subject: [PATCH 3/3] ci: set up Python 3.12 in spellcheck and coverage workflows Same mismatch as lint.yml: tox.ini sets basepython = python3.12 for the spellcheck and coverage envs, but these workflows only install 3.11 via setup-python and relied on a preinstalled system 3.12. coverage.yml is currently disabled (if: false); changed for consistency. Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: chichun-charlie-liu --- .github/workflows/coverage.yml | 4 ++-- .github/workflows/spellcheck.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 704b0bdd..9c54d554 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -56,10 +56,10 @@ jobs: # https://github.com/actions/checkout/issues/249 fetch-depth: 0 - - name: Setup Python 3.11 + - name: Setup Python 3.12 uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: 3.11 + python-version: 3.12 cache: pip cache-dependency-path: | **/pyproject.toml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 2d51234d..fa79f8e1 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -40,10 +40,10 @@ jobs: sudo sudo apt-get update sudo apt-get install -y aspell aspell-en - - name: Setup Python 3.11 + - name: Setup Python 3.12 uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: 3.11 + python-version: 3.12 cache: pip cache-dependency-path: | **/pyproject.toml