From 74e55819bb97f84f74bba9c927afb523d5786aac Mon Sep 17 00:00:00 2001 From: "morten.aslesen" Date: Tue, 1 Nov 2022 15:31:53 +0100 Subject: [PATCH] build: add support for Python 3.11 --- .github/workflows/testing.yml | 4 ++-- ci/github/build_linux_wheel.sh | 1 + setup.py | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 196cafc8a..e347141b9 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -47,7 +47,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest'] - python: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] runs-on: ${{ matrix.os }} @@ -58,7 +58,7 @@ jobs: fetch-depth: 0 - name: Build Linux Wheel - uses: docker://quay.io/pypa/manylinux2010_x86_64 + uses: docker://quay.io/pypa/manylinux2014_x86_64 with: entrypoint: /github/workspace/ci/github/build_linux_wheel.sh args: ${{ matrix.python }} diff --git a/ci/github/build_linux_wheel.sh b/ci/github/build_linux_wheel.sh index 6d5195e42..48e48f964 100755 --- a/ci/github/build_linux_wheel.sh +++ b/ci/github/build_linux_wheel.sh @@ -7,6 +7,7 @@ case "$1" in 3.8) pyver=cp38-cp38 ;; 3.9) pyver=cp39-cp39 ;; 3.10) pyver=cp310-cp310 ;; + 3.11) pyver=cp311-cp311 ;; *) echo "Unknown Python version $1" exit 1 diff --git a/setup.py b/setup.py index a49a1f689..d9a061d04 100644 --- a/setup.py +++ b/setup.py @@ -109,6 +109,7 @@ def utility_wrappers(): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development :: Libraries",