From 6251bc362dbdcab43d1d948bbdfbf8b9893d2483 Mon Sep 17 00:00:00 2001 From: Greg Rischbieter Date: Thu, 18 Jul 2024 09:12:59 -0400 Subject: [PATCH] added python 3.11 testing/compatibilty --- .github/workflows/pypi_install.yml | 6 +++--- .github/workflows/test_package.yml | 2 +- HISTORY.md | 1 + setup.py | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi_install.yml b/.github/workflows/pypi_install.yml index 6f8e21a..c8885d1 100644 --- a/.github/workflows/pypi_install.yml +++ b/.github/workflows/pypi_install.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: False matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] os: [ "ubuntu-latest" , "macos-latest", "macos-10.15"] exclude: - python-version: 3.6 @@ -54,11 +54,11 @@ jobs: run: pip install wheel twine # -- Linux -- - - name: Build weels (linux) python 3.8, 3.9, 3.10 + - name: Build weels (linux) python 3.8, 3.9, 3.10, 3.11 if: matrix.os == 'ubuntu-latest' uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64 with: - python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310' + python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' build-requirements: 'numpy==1.21.6' - name: Build legacy weels (linux) python 3.6, 3.7 if: matrix.os == 'ubuntu-latest' diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index 5606c1c..540d37f 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -18,7 +18,7 @@ jobs: fail-fast: False matrix: os: [ "ubuntu-latest" , "macos-latest" ] - python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10" ] + python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", "3.11" ] exclude: - python-version: 3.6 os: "ubuntu-latest" diff --git a/HISTORY.md b/HISTORY.md index 53db5c1..f5dc0fe 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -9,6 +9,7 @@ Patch releases mean (the Z number in X.Y.Z version) that the underlying physics Minor Changes: * Updated workflows for github and pypi tests; restores the ability to upload tagged nestpy releases to PyPi servers. * Updated author contact information + * Added Python 3.11 compatibility 2.0.3 (2024-05-23) ----------------- diff --git a/setup.py b/setup.py index 2589438..9b31051 100644 --- a/setup.py +++ b/setup.py @@ -153,6 +153,7 @@ def build_extension(self, ext): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: C++', 'Intended Audience :: Science/Research', 'Programming Language :: Python :: Implementation :: CPython',