From 5c4478cd113c18573fc9cf8a158bb948bdab5beb Mon Sep 17 00:00:00 2001 From: Stuart Axon Date: Tue, 9 Apr 2024 11:16:25 +0100 Subject: [PATCH] Add python 3.12 --- .github/workflows/test.yml | 2 +- .github/workflows/wheels.yml | 8 ++++---- pyproject.toml | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6bdc7a5..8d94066 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install python dependencies run: | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b3e4464..58a2e8a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -26,7 +26,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: install python dependencies run: pip install -U setuptools wheel twine maturin build @@ -54,7 +54,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, windows, macos] - python-version: ['cp311', 'cp310', 'cp39'] + python-version: ['cp312', 'cp311', 'cp310', 'cp39'] include: - os: ubuntu platform: linux @@ -71,7 +71,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - if: matrix.os == 'macos' || matrix.os == 'windows' name: Set up rust toolchain @@ -95,7 +95,7 @@ jobs: rustup target add i686-pc-windows-msvc - name: Build ${{ matrix.platform || matrix.os }} binaries - uses: pypa/cibuildwheel@v2.11.2 + uses: pypa/cibuildwheel@v2.17.0 env: CIBW_BUILD: '${{ matrix.python-version }}-*' # rust doesn't seem to be available for musl linux on i686 diff --git a/pyproject.toml b/pyproject.toml index ba0494f..1cc1e0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,8 @@ classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Version Control", "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython",