From 0fbc29bb6619407de8bda4ce3bc28426828e6a86 Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Wed, 24 Jun 2026 11:37:50 -0400 Subject: [PATCH 1/8] remove 3.11 from wheels CI --- .github/workflows/set_wheel_build_matrix.yml | 2 +- .github/workflows/upload-nightly-rc-release.yml | 2 +- .github/workflows/wheel_linux_aarch64.yml | 8 ++++---- .github/workflows/wheel_linux_aarch64_cuda.yml | 8 ++++---- .github/workflows/wheel_linux_x86_64.yml | 8 ++++---- .github/workflows/wheel_linux_x86_64_cuda.yml | 8 ++++---- .github/workflows/wheel_linux_x86_64_rocm.yml | 8 ++++---- .github/workflows/wheel_macos_arm64.yml | 8 ++++---- .github/workflows/wheel_win_x86_64.yml | 8 ++++---- 9 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/set_wheel_build_matrix.yml b/.github/workflows/set_wheel_build_matrix.yml index a33fc01d49..87be95aeb4 100644 --- a/.github/workflows/set_wheel_build_matrix.yml +++ b/.github/workflows/set_wheel_build_matrix.yml @@ -4,7 +4,7 @@ permissions: contents: read env: - PYTHON3_MIN_VERSION: "11" + PYTHON3_MIN_VERSION: "12" PYTHON3_MAX_VERSION: "14" on: diff --git a/.github/workflows/upload-nightly-rc-release.yml b/.github/workflows/upload-nightly-rc-release.yml index d52a4f458d..c4d666d01b 100644 --- a/.github/workflows/upload-nightly-rc-release.yml +++ b/.github/workflows/upload-nightly-rc-release.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" # Ensure setuptools is up-to-date for pyproject.toml processing - name: Install latest setuptools diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index d79535efb4..0983054454 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -1,7 +1,7 @@ name: Wheel::Linux::ARM # **What it does**: Builds python wheels for Linux (ubuntu-24.04) architecture ARM 64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -118,7 +118,7 @@ jobs: kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux_2_28_aarch64"] timeout-minutes: 45 - name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp311-*":"3.11", "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) + name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} steps: @@ -214,7 +214,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -245,7 +245,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_linux_aarch64_cuda.yml b/.github/workflows/wheel_linux_aarch64_cuda.yml index f5ddbcdec9..99d00bb336 100644 --- a/.github/workflows/wheel_linux_aarch64_cuda.yml +++ b/.github/workflows/wheel_linux_aarch64_cuda.yml @@ -1,7 +1,7 @@ name: Wheel::Linux::ARM::CUDA # **What it does**: Builds python wheels for Linux (ubuntu-24.04) architecture ARM 64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -53,7 +53,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version_gpu) }} container_img: ["quay.io/pypa/manylinux_2_28_aarch64"] timeout-minutes: 90 # FIXME: temporarily increased from 60 - name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp311-*":"3.11", "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) + name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) runs-on: - single-gpu-arm steps: @@ -189,7 +189,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -228,7 +228,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index ac6d6720cb..42247ec640 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -1,7 +1,7 @@ name: Wheel::Linux::x86_64 # **What it does**: Builds python wheels for Linux (ubuntu-24.04) architecture x86_64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -118,7 +118,7 @@ jobs: kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux_2_28_x86_64"] timeout-minutes: 30 - name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp311-*":"3.11","cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) + name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) runs-on: blacksmith-4vcpu-ubuntu-2404 container: image: ${{ matrix.container_img }} @@ -213,7 +213,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -244,7 +244,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_linux_x86_64_cuda.yml b/.github/workflows/wheel_linux_x86_64_cuda.yml index e77ea5221e..ac2ffc67b1 100644 --- a/.github/workflows/wheel_linux_x86_64_cuda.yml +++ b/.github/workflows/wheel_linux_x86_64_cuda.yml @@ -1,7 +1,7 @@ name: Wheel::Linux::x86_64::CUDA # **What it does**: Builds python wheels for Linux (ubuntu-24.04) architecture x86_64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning-gpu installation. # **Who does it impact**: Wheels to be uploaded to PyPI. on: @@ -56,7 +56,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version_gpu) }} container_img: ["quay.io/pypa/manylinux_2_28_x86_64"] timeout-minutes: 30 - name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} CUDA ${{ matrix.cuda_version }} (Python ${{ fromJson('{"cp311-*":"3.11","cp312-*":"3.12","cp313-*":"3.13","cp314-*":"3.14"}')[matrix.cibw_build] }}) + name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} CUDA ${{ matrix.cuda_version }} (Python ${{ fromJson('{"cp312-*":"3.12","cp313-*":"3.13","cp314-*":"3.14"}')[matrix.cibw_build] }}) runs-on: blacksmith-4vcpu-ubuntu-2404 container: image: ${{ matrix.container_img }} @@ -132,7 +132,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -164,7 +164,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_linux_x86_64_rocm.yml b/.github/workflows/wheel_linux_x86_64_rocm.yml index 45d0aec349..76812558f6 100644 --- a/.github/workflows/wheel_linux_x86_64_rocm.yml +++ b/.github/workflows/wheel_linux_x86_64_rocm.yml @@ -1,7 +1,7 @@ name: Wheel::Linux::x86_64::ROCm # **What it does**: Builds python wheels for Linux (ubuntu-24.04) architecture x86_64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14 +# Python versions: 3.12, 3.13, 3.14 # **Why we have it**: To build wheels for pennylane-lightning-amdgpu installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -118,7 +118,7 @@ jobs: kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux_2_28_x86_64"] timeout-minutes: 30 - name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} ROCm ${{ matrix.rocm_version }} (Python ${{ fromJson('{"cp311-*":"3.11","cp312-*":"3.12","cp313-*":"3.13" }')[matrix.cibw_build] }}) + name: Linux::${{ matrix.arch }} - ${{ matrix.pl_backend }} ROCm ${{ matrix.rocm_version }} (Python ${{ fromJson('{"cp312-*":"3.12","cp313-*":"3.13" }')[matrix.cibw_build] }}) runs-on: blacksmith-4vcpu-ubuntu-2404 container: image: ${{ matrix.container_img }} @@ -200,7 +200,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-rocm${{ matrix.rocm_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-rocm${{ matrix.rocm_version }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -232,7 +232,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-rocm${{ matrix.rocm_version }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}-rocm${{ matrix.rocm_version }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index 198b13d88c..25e100cf63 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -1,7 +1,7 @@ name: Wheel::MacOS::ARM # **What it does**: Builds python wheels for MacOS (11) architecture ARM 64 and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -59,7 +59,7 @@ jobs: pl_backend: ["lightning_kokkos", "lightning_qubit"] cibw_build: ${{fromJson(needs.set_wheel_build_matrix.outputs.python_version)}} timeout-minutes: 30 - name: macos-latest::arm64 - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp311-*":"3.11","cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) + name: macos-latest::arm64 - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp312-*":"3.12", "cp313-*":"3.13", "cp314-*":"3.14" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} steps: @@ -131,7 +131,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -162,7 +162,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: macOS-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: macOS-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312", "cp313-*":"py313", "cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: dist - name: Upload wheels to TestPyPI diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 857abf3e82..1a3194d3a8 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -1,7 +1,7 @@ name: Wheel::Windows::x86_64 # **What it does**: Builds python wheels for Windows (windows-latest) and store it as artifacts. -# Python versions: 3.11, 3.12, 3.13, 3.14. +# Python versions: 3.12, 3.13, 3.14. # **Why we have it**: To build wheels for pennylane-lightning installation. # **Who does it impact**: Wheels to be uploaded to PyPI. @@ -110,7 +110,7 @@ jobs: exec_model: ["SERIAL"] kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} timeout-minutes: 30 - name: ${{ matrix.os }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp311-*":"3.11","cp312-*":"3.12","cp313-*":"3.13","cp314-*":"3.14" }')[matrix.cibw_build] }}) + name: ${{ matrix.os }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp312-*":"3.12","cp313-*":"3.13","cp314-*":"3.14" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} steps: @@ -226,7 +226,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl retention-days: 1 include-hidden-files: true @@ -255,7 +255,7 @@ jobs: github.ref == 'refs/heads/main' || steps.rc_build.outputs.match != '' with: - name: Windows-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp311-*":"py311","cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip + name: Windows-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp312-*":"py312","cp313-*":"py313","cp314-*":"py314" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: dist - name: Upload wheels to PyPI From 0a34848c097bb1993f2607c2e8bc0914c6c6f64f Mon Sep 17 00:00:00 2001 From: ringo-but-quantum Date: Wed, 24 Jun 2026 15:42:12 +0000 Subject: [PATCH 2/8] Auto update version from '0.46.0-dev14' to '0.46.0-dev15' --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 11d711445f..815a99c1ab 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.46.0-dev14" +__version__ = "0.46.0-dev15" From 74e9f0cc632aee7bbbbab235cde4617573f12329 Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Wed, 24 Jun 2026 14:07:46 -0400 Subject: [PATCH 3/8] https://github.com/PennyLaneAI/pennylane-lightning/pull/1395#pullrequestreview-4564532554 --- .github/CHANGELOG.md | 3 +++ README.md | 2 +- setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index b5f2898900..c90cb853a3 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -16,6 +16,9 @@

Breaking changes 💔

+- Python 3.11 is no longer supported. The minimum required Python version is now 3.12. + [(#1395)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1395) +

Deprecations 👋

Documentation 📝

diff --git a/README.md b/README.md index 5e1cebb94d..f133ded3cb 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The Lightning plugin ecosystem provides fast state-vector and tensor-network sim [PennyLane](https://docs.pennylane.ai) is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations. -PennyLane supports Python 3.11 and above. +PennyLane supports Python 3.12 and above. ## Backends diff --git a/setup.py b/setup.py index d504ea1856..f73495ed8a 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ "A TOML parser is required to configure 'pyproject.toml'. " f"We support any of the following TOML parsers: {toml_libs} " "You can install tomlkit via `pip install tomlkit`, or tomli via `pip install tomli`, " - "or use Python 3.11 or above which natively offers the tomllib library." + "or use Python 3.12 or above which natively offers the tomllib library." ) try: From b4bee95d56fc70d1de6582bba1c8fe9d73f4cd8d Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Mon, 29 Jun 2026 13:38:40 -0400 Subject: [PATCH 4/8] remove 3.11 from the pyproject --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f92cb8dbdf..b0de8152ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "pennylane_lightning" description = "PennyLane-Lightning plugin" readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.12" license = "Apache-2.0" classifiers = [ "Development Status :: 4 - Beta", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", From d80b8e3bbac9fc00181b36cdf7f3381fdad3d22d Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Mon, 29 Jun 2026 15:21:18 -0400 Subject: [PATCH 5/8] index.rst --- doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.rst b/doc/index.rst index 6509f6f3a7..81a6ab9954 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -12,7 +12,7 @@ The Lightning plugin ecosystem provides fast state-vector and tensor-network sim `PennyLane `_ is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations. -PennyLane supports Python 3.11 and above. +PennyLane supports Python 3.12 and above. Backends ******** From c435b2df9e51bb0f2fd87a94e4e3179df1a28843 Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Mon, 29 Jun 2026 15:53:19 -0400 Subject: [PATCH 6/8] add name --- .github/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index c90cb853a3..0ab9b9dc81 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -60,6 +60,7 @@ This release contains contributions from (in alphabetical order): Runor Agbaire, +Yushao Chen, Jeffrey Kam, Joseph Lee, Jake Zaia From db54e1deb7ac86ff372694fd6c09f6bd1e4c2dad Mon Sep 17 00:00:00 2001 From: ringo-but-quantum Date: Thu, 2 Jul 2026 14:45:34 +0000 Subject: [PATCH 7/8] Auto update version from '0.46.0-dev15' to '0.46.0-dev16' --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 815a99c1ab..59098351f2 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.46.0-dev15" +__version__ = "0.46.0-dev16" From dda13d7dc8de2bb1a374fcc77493c56f1abd50b8 Mon Sep 17 00:00:00 2001 From: ringo-but-quantum Date: Thu, 9 Jul 2026 16:25:11 +0000 Subject: [PATCH 8/8] Auto update version from '0.46.0-dev16' to '0.46.0-dev17' --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 59098351f2..5a9946c8be 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.46.0-dev16" +__version__ = "0.46.0-dev17"