From e649a01eb0b693209dd734addd453c7e212c4f84 Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Mon, 16 Sep 2024 11:41:40 -0400 Subject: [PATCH 1/4] Fix deprecated import path --- pennylane_ionq/device.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pennylane_ionq/device.py b/pennylane_ionq/device.py index 6f7cd37..6a7f9b3 100644 --- a/pennylane_ionq/device.py +++ b/pennylane_ionq/device.py @@ -19,7 +19,8 @@ import numpy as np -from pennylane import QubitDevice, DeviceError +from pennylane import DeviceError +from pennylane.devices import QubitDevice from .api_client import Job, JobExecutionError from ._version import __version__ From deb25b15a13630738cf281c20bfbadf878000ba2 Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Mon, 16 Sep 2024 16:21:36 -0400 Subject: [PATCH 2/4] pin packaging version --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index c711409..602bb12 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -15,7 +15,7 @@ MarkupSafe==2.1.1 networkx==2.6.0 ninja==1.10.2.3 numpy==1.22.4 -packaging==21.3 +packaging>22.0 PennyLane==0.24.0 PennyLane-Lightning==0.24.0 Pygments==2.15.0 From 03d27609186d04c756ea737575cbea46a588e977 Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Mon, 16 Sep 2024 16:27:42 -0400 Subject: [PATCH 3/4] unpin PL version for docs --- doc/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 602bb12..2592855 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -16,8 +16,8 @@ networkx==2.6.0 ninja==1.10.2.3 numpy==1.22.4 packaging>22.0 -PennyLane==0.24.0 -PennyLane-Lightning==0.24.0 +PennyLane +PennyLane-Lightning Pygments==2.15.0 pyparsing==3.0.9 python-dateutil==2.8.2 From 6773ef001f3f12a36e4a9314b95beb1be6f53e1f Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Mon, 16 Sep 2024 16:35:20 -0400 Subject: [PATCH 4/4] unpin autoray version --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 2592855..9da7983 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,7 +1,7 @@ alabaster==0.7.12 appdirs==1.4.4 autograd==1.4 -autoray==0.3.2 +autoray Babel==2.10.3 cachetools==5.2.0 certifi==2023.7.22