From edb448fa29fe42910fbb81d60d158a8fac418bd7 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 4 Jan 2024 00:01:12 -0500 Subject: [PATCH] Add Python 3.12 to build --- .github/workflows/build-wheels.yml | 11 ++++++----- .github/workflows/run-tests.yml | 5 +++-- .readthedocs.yaml | 2 +- appveyor.yml | 8 ++++++++ 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 4ccaa90..38be8ca 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -5,17 +5,17 @@ jobs: build-linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Build manylinux2014 x86-64 wheels uses: earwig/python-wheels-manylinux-build@latest-manylinux2014_x86_64 with: - python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' + python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' - name: Build manylinux 2014 aarch64 wheels uses: earwig/python-wheels-manylinux-build@latest-manylinux2014_aarch64 with: - python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' + python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' - uses: actions/upload-artifact@v3 with: name: wheels @@ -37,9 +37,10 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Build wheels diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bafe2f5..efe1263 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,11 +11,12 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' with-extension: ['0', '1'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ee3bd73..476cf37 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -2,7 +2,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.12" sphinx: configuration: docs/conf.py diff --git a/appveyor.yml b/appveyor.yml index 4d72126..4764ee1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,6 +53,14 @@ environment: PYTHON_VERSION: "3.11" PYTHON_ARCH: "64" + - PYTHON: "C:\\Python312" + PYTHON_VERSION: "3.12" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python312-x64" + PYTHON_VERSION: "3.12" + PYTHON_ARCH: "64" + install: - "%PIP% install --disable-pip-version-check --user --upgrade pip" - "%PIP% install wheel twine pytest"