From c12507e9df8e54af4dff6a2d66ba0ac591ffc21a Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:05:06 -0400 Subject: [PATCH 01/13] bump 3.10 -> 3.11 --- .github/workflows/upload.yml | 2 +- .readthedocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 91da3c2..3461a2b 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Build and install Plugin run: | diff --git a/.readthedocs.yml b/.readthedocs.yml index e5aed12..6042159 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-24.04 tools: - python: "3.10" + python: "3.11" apt_packages: - graphviz From 7bb2bf980afa82ef8e80a63abc7a1b50c858e8a3 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:08:28 -0400 Subject: [PATCH 02/13] setup.py and tests.yml --- .github/workflows/tests.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a3e79ed..e41819a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.11', '3.12', '3.13'] steps: - name: Cancel Previous Runs diff --git a/setup.py b/setup.py index 13a5ae9..89faaa0 100644 --- a/setup.py +++ b/setup.py @@ -71,9 +71,9 @@ "Programming Language :: Python", # Make sure to specify here the versions of Python supported "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering :: Physics", ] From 5c38a2283878b5ec3b0f3b1811cd7dbcad0e4de4 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:11:09 -0400 Subject: [PATCH 03/13] changelog --- CHANGELOG.md | 2 ++ README.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 453442d..7f8f94d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Breaking changes 💔 +* Remove support for Python 3.10 and add support for Python 3.13. + ### Deprecations 👋 ### Documentation 📝 diff --git a/README.rst b/README.rst index 10196fb..44cda46 100644 --- a/README.rst +++ b/README.rst @@ -55,7 +55,7 @@ Features Installation ============ -PennyLane-AQT requires Python >= 3.10. If you currently do not have Python 3 installed, +PennyLane-AQT requires Python >= 3.11. If you currently do not have Python 3 installed, we recommend `Anaconda for Python 3 `_, a distributed version of Python packaged for scientific computation. If you are using Python 3.12, ensure `setuptools` is up to date prior to installation: From 3d740a47b1320a26ece6112bee0ad826a906c089 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:12:02 -0400 Subject: [PATCH 04/13] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f8f94d..2498223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Breaking changes 💔 * Remove support for Python 3.10 and add support for Python 3.13. + [(#93)](https://github.com/PennyLaneAI/pennylane-aqt/pull/93) ### Deprecations 👋 From 2a119fd160dc0d954ccf90779afab9f98bdce77f Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:12:53 -0400 Subject: [PATCH 05/13] readme --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 44cda46..63cb405 100644 --- a/README.rst +++ b/README.rst @@ -57,7 +57,7 @@ Installation PennyLane-AQT requires Python >= 3.11. If you currently do not have Python 3 installed, we recommend `Anaconda for Python 3 `_, a distributed -version of Python packaged for scientific computation. If you are using Python 3.12, +version of Python packaged for scientific computation. If you are using Python >= 3.12, ensure `setuptools` is up to date prior to installation: :: From 2c10a0296dfb830c93eb44d4f70e3fa5205fc619 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 14:21:56 -0400 Subject: [PATCH 06/13] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2498223..9fe4fc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ This release contains contributions from (in alphabetical order): +Andrija Paurevic. + --- # Release 0.42.0 From 894a29cec236212a04532f4bfee0cc73e0322bb3 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Thu, 24 Jul 2025 15:08:29 -0400 Subject: [PATCH 07/13] trigger-ci From 55f12862407cfc77770dff4e9a067534716e5a1d Mon Sep 17 00:00:00 2001 From: andrijapau Date: Mon, 28 Jul 2025 09:44:04 -0400 Subject: [PATCH 08/13] fix requirements.txt --- doc/requirements.txt | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 1d5a207..ae06312 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,30 +1,3 @@ -alabaster==0.7.12 -appdirs==1.4.4 -autograd==1.4 -autoray -Babel==2.10.1 -cachetools==5.0.0 -certifi==2021.10.8 -charset-normalizer==2.0.12 -docutils==0.17.1 -future==0.18.2 -idna==3.7 -imagesize==1.3.0 -importlib-metadata==4.11.3 -Jinja2==3.1.4 -MarkupSafe==2.1.1 -networkx==2.8 -ninja==1.10.2.3 -numpy==1.22.3 -packaging>24 -Pygments==2.11.2 -pyparsing==3.0.8 -pytz==2022.1 -requests==2.27.1 -retworkx==0.11.0 -scipy -semantic-version==2.7.0 -snowballstemmer==2.2.0 Sphinx==4.5.0 sphinx-automodapi==0.14.1 sphinxcontrib-applehelp==1.0.2 From 478f03828707eddb5bd704499c0276557e4c9102 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Mon, 28 Jul 2025 09:58:42 -0400 Subject: [PATCH 09/13] fix requirements.txt --- doc/requirements.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/requirements.txt b/doc/requirements.txt index ae06312..6ba107e 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,29 @@ +alabaster==0.7.12 +appdirs==1.4.4 +autograd==1.4 +autoray +Babel==2.10.1 +cachetools==5.0.0 +certifi==2021.10.8 +charset-normalizer==2.0.12 +docutils==0.17.1 +future==0.18.2 +idna==3.7 +imagesize==1.3.0 +importlib-metadata==4.11.3 +Jinja2==3.1.4 +MarkupSafe==2.1.1 +networkx==2.8 +ninja==1.10.2.3 +numpy==1.22.3 +packaging>24 +Pygments==2.11.2 +pyparsing==3.0.8 +pytz==2022.1 +requests==2.27.1 +scipy +semantic-version==2.7.0 +snowballstemmer==2.2.0 Sphinx==4.5.0 sphinx-automodapi==0.14.1 sphinxcontrib-applehelp==1.0.2 From 9cc2077c722ee5cfd0cec1e2673738d83e84dd2f Mon Sep 17 00:00:00 2001 From: andrijapau Date: Mon, 28 Jul 2025 10:08:59 -0400 Subject: [PATCH 10/13] unpin autograd --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6ba107e..6b7b3a8 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ alabaster==0.7.12 appdirs==1.4.4 -autograd==1.4 +autograd autoray Babel==2.10.1 cachetools==5.0.0 From d8dc84d39228e1c6c53f46d77ee8cf35700d7ee5 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Mon, 28 Jul 2025 10:19:06 -0400 Subject: [PATCH 11/13] reduce requirements to bare bones --- doc/requirements.txt | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6b7b3a8..fb84ad1 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,29 +1,3 @@ -alabaster==0.7.12 -appdirs==1.4.4 -autograd -autoray -Babel==2.10.1 -cachetools==5.0.0 -certifi==2021.10.8 -charset-normalizer==2.0.12 -docutils==0.17.1 -future==0.18.2 -idna==3.7 -imagesize==1.3.0 -importlib-metadata==4.11.3 -Jinja2==3.1.4 -MarkupSafe==2.1.1 -networkx==2.8 -ninja==1.10.2.3 -numpy==1.22.3 -packaging>24 -Pygments==2.11.2 -pyparsing==3.0.8 -pytz==2022.1 -requests==2.27.1 -scipy -semantic-version==2.7.0 -snowballstemmer==2.2.0 Sphinx==4.5.0 sphinx-automodapi==0.14.1 sphinxcontrib-applehelp==1.0.2 @@ -32,9 +6,6 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -toml==0.10.2 -urllib3==1.26.19 # do not pin pennylane-sphinx-theme -zipp==3.19.1 git+https://github.com/PennyLaneAI/pennylane.git@master From 0885ce0320df40ea83e752fe7a9f0eac7c3f8784 Mon Sep 17 00:00:00 2001 From: andrijapau Date: Mon, 28 Jul 2025 15:24:56 -0400 Subject: [PATCH 12/13] make environment and update doc/requirements.txt --- doc/requirements.txt | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index fb84ad1..57b12fb 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,11 +1,46 @@ -Sphinx==4.5.0 +alabaster==0.7.16 +appdirs==1.4.4 +astunparse==1.6.3 +autograd==1.8.0 +autoray==0.7.2 +babel==2.17.0 +cachetools==6.1.0 +certifi==2025.7.14 +charset-normalizer==3.4.2 +diastatic-malt==2.15.2 +docutils==0.17.1 +gast==0.6.0 +idna==3.10 +imagesize==1.4.1 +importlib-resources==6.5.2 +jinja2==3.1.6 +markupsafe==3.0.2 +networkx==3.5 +numpy==2.3.2 +packaging==25.0 +pillow==11.3.0 +pygments==2.19.2 +requests==2.32.4 +rustworkx==0.16.0 +scipy==1.16.1 +scipy-openblas32==0.3.30.0.2 +six==1.17.0 +snowballstemmer==3.0.1 +sphinx==4.5.0 sphinx-automodapi==0.14.1 +sphinx-gallery==0.16.0 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 +termcolor==3.1.0 +tomlkit==0.13.3 +typing-extensions==4.14.1 +urllib3==2.5.0 +wheel==0.45.1 + # do not pin pennylane-sphinx-theme -git+https://github.com/PennyLaneAI/pennylane.git@master +pennylane @ git+https://github.com/PennyLaneAI/pennylane.git@master \ No newline at end of file From 2f986e603951f829a3d5103dec88b6d6f6195df8 Mon Sep 17 00:00:00 2001 From: Andrija Paurevic <46359773+andrijapau@users.noreply.github.com> Date: Mon, 28 Jul 2025 15:25:29 -0400 Subject: [PATCH 13/13] Update doc/requirements.txt --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 57b12fb..7db8f0c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -43,4 +43,4 @@ wheel==0.45.1 # do not pin pennylane-sphinx-theme -pennylane @ git+https://github.com/PennyLaneAI/pennylane.git@master \ No newline at end of file +pennylane @ git+https://github.com/PennyLaneAI/pennylane.git@master