From 4609e07283bfb2a03a23cfd121013b6b7f76e243 Mon Sep 17 00:00:00 2001 From: Kieran Prasch Date: Fri, 3 Nov 2023 15:10:05 +0100 Subject: [PATCH] indicate support for python 3.12 and use it as the base version --- .github/workflows/nucypher-core.yml | 2 +- .github/workflows/wheels.yml | 6 +++--- nucypher-core-python/setup.py | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nucypher-core.yml b/.github/workflows/nucypher-core.yml index 9d571959..9d943839 100644 --- a/.github/workflows/nucypher-core.yml +++ b/.github/workflows/nucypher-core.yml @@ -128,7 +128,7 @@ jobs: rust: - stable python: - - "3.10" + - "3.12" steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 12666f52..eb804fcf 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -30,7 +30,7 @@ jobs: - if: runner.os == 'Windows' run: | - echo 'PATH=/c/Python38:/c/Python38/Scripts:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/Strawberry/c/bin:$PATH' >> $GITHUB_ENV + echo 'PATH=/c/Python312:/c/Python312/Scripts:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/Strawberry/c/bin:$PATH' >> $GITHUB_ENV echo 'RUSTFLAGS=-Ctarget-feature=+crt-static' >> $GITHUB_ENV echo 'RUSTFLAGS=-Ctarget-feature=+crt-static' >> $GITHUB_ENV echo 'CIBW_BEFORE_BUILD=python -m pip install --upgrade pip' >> $GITHUB_ENV @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install cibuildwheel run: | @@ -82,7 +82,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install setuptools and setuptools-rust working-directory: ./nucypher-core-python diff --git a/nucypher-core-python/setup.py b/nucypher-core-python/setup.py index 3e65d918..2e57de42 100644 --- a/nucypher-core-python/setup.py +++ b/nucypher-core-python/setup.py @@ -33,6 +33,8 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Security :: Cryptography", ], )