Merge branch 'main' into nogil

This commit is contained in:
Inada Naoki 2025-10-09 18:45:55 +09:00 committed by GitHub
commit 80191651eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 34 additions and 23 deletions

View file

@ -9,11 +9,9 @@ jobs:
test:
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
py: ["3.14", "3.14t", "3.13", "3.13t", "3.12", "3.11", "3.10", "3.9"]
os: ["ubuntu-latest", "windows-latest", "windows-11-arm", "macos-latest"]
py: ["3.14", "3.14t", "3.13", "3.12", "3.11", "3.10"]
exclude:
- os: windows-11-arm
py: "3.9"
- os: windows-11-arm
py: "3.10"
@ -22,10 +20,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.py }}
allow-prereleases: true
@ -34,7 +32,6 @@ jobs:
- name: Prepare
shell: bash
run: |
python -m pip install -U pip
python -m pip install -r requirements.txt pytest
- name: Install pytest-run-parallel under free-threading
@ -75,8 +72,7 @@ jobs:
- name: build packages
shell: bash
run: |
pip install build
python -m build
python -m build -nv
- name: upload packages
uses: actions/upload-artifact@v4

View file

@ -17,8 +17,8 @@ jobs:
name: Build wheels on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.x"
cache: "pip"
@ -33,8 +33,7 @@ jobs:
env:
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/test"
CIBW_SKIP: "pp* cp38-* cp39-win_arm64 cp310-win_arm64"
CIBW_ENABLE: cpython-freethreading
CIBW_SKIP: "pp* cp38-* cp39-* cp310-win_arm64"
- name: Build sdist
if: runner.os == 'Linux' && runner.arch == 'X64'