From f968e59f3564f6582ce65c3eb3193afb89b8781c Mon Sep 17 00:00:00 2001 From: Marcelo Duarte Date: Mon, 12 Oct 2026 03:17:46 -0300 Subject: [PATCH 1/2] Build with cibuildwheel 4.3.1 and stable Python 3.15 --- .github/workflows/build-sdist.yml | 2 -- .github/workflows/build-wheel.yml | 1 - .pre-commit-config.yaml | 4 ++-- ci/build-wheel.sh | 2 +- pyproject.toml | 2 +- requirements-dev.txt | 2 +- 6 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-sdist.yml b/.github/workflows/build-sdist.yml index e153b21..d54715d 100644 --- a/.github/workflows/build-sdist.yml +++ b/.github/workflows/build-sdist.yml @@ -28,8 +28,6 @@ jobs: env: UV_NO_PROGRESS: true UV_SYSTEM_PYTHON: true - permissions: - contents: read steps: - name: Harden the runner (Audit all outbound calls) uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1 diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index 241f2c7..d9c1ee5 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -100,7 +100,6 @@ jobs: - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: activate-environment: true - cache-dependency-glob: "pyproject.toml" enable-cache: false - name: Build wheels diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c2ca9d5..9acc3a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: validate-pyproject additional_dependencies: - - validate-pyproject-schema-store[all]==2026.10.06 + - validate-pyproject-schema-store[all]==2026.10.11 - repo: https://github.com/astral-sh/ruff-pre-commit rev: 44b5042edab9382aba712eed4f9c7bab7a3d6a3e # frozen: v0.17.0 @@ -49,7 +49,7 @@ repos: types_or: [c, c++] - repo: https://github.com/rbubley/mirrors-prettier - rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9 + rev: 331f33fa4dfbcbca7c3da3620c137fde0faab273 # frozen: v3.9.10 hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/ci/build-wheel.sh b/ci/build-wheel.sh index e5c1268..0d7b573 100755 --- a/ci/build-wheel.sh +++ b/ci/build-wheel.sh @@ -106,7 +106,7 @@ fi _get_dirty () { local value if which git &>/dev/null; then - value=$(git status --short -uno | wc -l) + value=$(git status --short -uno 2>/dev/null | wc -l) else value=1 fi diff --git a/pyproject.toml b/pyproject.toml index bda43b3..9bfcf9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ Documentation = "https://docs.python.org/3.12/library/msilib.html" [dependency-groups] dev = [ - "cibuildwheel>=4.3.0", + "cibuildwheel>=4.3.1", "prek>=0.5.5,<0.6.0", ] tests = [ diff --git a/requirements-dev.txt b/requirements-dev.txt index b846381..8781c7f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,2 @@ -cibuildwheel>=4.3.0 +cibuildwheel>=4.3.1 prek>=0.5.5,<0.6.0 From 181f1da1981e0a47bebe5e7b0630a7be78a8af3c Mon Sep 17 00:00:00 2001 From: Marcelo Duarte Date: Mon, 12 Oct 2026 03:34:49 -0300 Subject: [PATCH 2/2] update ci workflow --- .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 cd75760..4ec3a42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: matrix: os: [windows] os-version: [latest, 11-arm] - python-version: ["3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"] + python-version: ["3.13", "3.14", "3.14t", "3.15", "3.15t"] defaults: run: