From dd26233a6b5cdfe36d855c7127cfad9bcdfc9e68 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 7 Dec 2023 08:54:39 -0800 Subject: [PATCH 1/2] Allow installing for Python 3.12 I have tested qsim on Python 3.12 and everything works just fine. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ed4720c3..70ebca47 100644 --- a/setup.py +++ b/setup.py @@ -114,7 +114,7 @@ def build_extension(self, ext): url="https://github.com/quantumlib/qsim", author="Vamsi Krishna Devabathini", author_email="devabathini92@gmail.com", - python_requires=">=3.7.0,<3.12.0", + python_requires=">=3.7.0", install_requires=requirements, extras_require={ "dev": dev_requirements, From 8434d4f5303b7f3091fab48df655e6dfb7cd6b42 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 7 Dec 2023 08:56:33 -0800 Subject: [PATCH 2/2] Build Python 3.12 wheels --- .github/workflows/release_wheels.yml | 6 +++--- .github/workflows/testing_wheels.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release_wheels.yml b/.github/workflows/release_wheels.yml index d6161a47..11545eeb 100644 --- a/.github/workflows/release_wheels.yml +++ b/.github/workflows/release_wheels.yml @@ -15,16 +15,16 @@ jobs: - os: macos-12 # x86_64 name: mac cibw: - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" - os: macos-13-large # Apple Silicon name: mac_arm64 cibw: - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" - os: ubuntu-20.04 name: manylinux2014 cibw: arch: x86_64 - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" manylinux_image: manylinux2014 - os: windows-2019 name: win_amd64 diff --git a/.github/workflows/testing_wheels.yml b/.github/workflows/testing_wheels.yml index f30921af..263a2669 100644 --- a/.github/workflows/testing_wheels.yml +++ b/.github/workflows/testing_wheels.yml @@ -20,16 +20,16 @@ jobs: - os: macos-12 # x86_64 name: mac cibw: - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" - os: macos-13-large # Apple Silicon name: mac_arm64 cibw: - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" - os: ubuntu-20.04 name: manylinux2014 cibw: arch: x86_64 - build: "cp37* cp38* cp39* cp310* cp311*" + build: "cp37* cp38* cp39* cp310* cp311* cp312*" manylinux_image: manylinux2014 - os: windows-2019 name: win_amd64