From f51663f466af39e214f2d925315372b81b86de4b Mon Sep 17 00:00:00 2001 From: AmirHossein Date: Fri, 17 May 2024 14:16:12 +0330 Subject: [PATCH] Add support for python3.12 wheels --- .github/workflows/build-wheels.yml | 3 +++ .github/workflows/tests.yml | 2 ++ setup.py | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index a3e7a85c6c..ce43bb3bf5 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -65,17 +65,20 @@ jobs: - {python: '3.9', os: macos-11} - {python: '3.10', os: macos-11} - {python: '3.11', os: macos-11} + - {python: '3.12', os: macos-11} - {python: '3.8', os: ubuntu-20.04} - {python: '3.9', os: ubuntu-20.04} - {python: '3.10', os: ubuntu-20.04} - {python: '3.11', os: ubuntu-20.04} + - {python: '3.12', os: ubuntu-20.04} - {python: '3.8', os: windows-2019} - {python: '3.9', os: windows-2019} - {python: '3.10', os: windows-2019} - {python: '3.11', os: windows-2019} + - {python: '3.12', os: windows-2019} runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 09f9ca988e..64505894b7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,11 +67,13 @@ jobs: - {python: '3.9', os: ubuntu-20.04} - {python: '3.10', os: ubuntu-20.04} - {python: '3.11', os: ubuntu-20.04} + - {python: '3.12', os: ubuntu-20.04} - {python: '3.8', os: windows-2019} - {python: '3.9', os: windows-2019} - {python: '3.10', os: windows-2019} - {python: '3.11', os: windows-2019} + - {python: '3.12', os: windows-2019} # # Don't run this job unless the linters have succeeded. diff --git a/setup.py b/setup.py index 4b51852b92..350869a236 100644 --- a/setup.py +++ b/setup.py @@ -372,6 +372,7 @@ def run(self): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Information Analysis',