diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf707d07..c5075a32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,13 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - cibw_python: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"] + cibw_python: + - "cp38-*" + - "cp39-*" + - "cp310-*" + - "cp311-*" + - "cp312-*" + - "cp313-*" cibw_arch: ["x86_64", "aarch64", "universal2"] exclude: - os: ubuntu-latest @@ -108,7 +114,7 @@ jobs: run: | brew install gnu-sed libtool autoconf automake - - uses: pypa/cibuildwheel@fff9ec32ed25a9c576750c91e06b410ed0c15db7 # v2.16.2 + - uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0 env: CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD: ${{ matrix.cibw_python }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 345362fd..720b3cef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: + - "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" os: [ubuntu-latest, macos-latest] env: @@ -42,6 +48,7 @@ jobs: if: steps.release.outputs.version == 0 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install macOS deps if: matrix.os == 'macos-latest' && steps.release.outputs.version == 0 @@ -50,6 +57,8 @@ jobs: - name: Install Python Deps if: steps.release.outputs.version == 0 + env: + PIP_PRE: ${{ matrix.python-version == '3.13' && '1' || '0' }} run: | pip install -e .[test] @@ -59,8 +68,8 @@ jobs: make test - name: Test (debug build) - # XXX Re-enable 3.12 once we migrate to Cython 3 - if: steps.release.outputs.version == 0 && matrix.python-version != '3.12' + # XXX Enable 3.12 and 3.13 once we migrate to Cython 3 + if: steps.release.outputs.version == 0 && matrix.python-version != '3.12' && matrix.python-version != '3.13' run: | make distclean && make debug && make test