From 1dc11a1af71d77e626a26196980ad7129f6310f4 Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Fri, 2 Aug 2024 11:27:32 +0100 Subject: [PATCH 1/3] update note --- pytket/docs/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytket/docs/index.rst b/pytket/docs/index.rst index ded5e283a3..f6bed8ca47 100644 --- a/pytket/docs/index.rst +++ b/pytket/docs/index.rst @@ -13,6 +13,10 @@ Windows. To install, run pip install pytket +.. admonition:: Known issue installing pytket + :class: attention + + Due to the removal of the `types-pkg_resources` package from pypi there will likely be issues when installing old versions of pytket. It is recommend to use pytket `>1.31` where possible. If you have issues installing ``pytket`` please visit the `installation troubleshooting `_ page. From 8ed19efbedec4d3f446a489606118db956fed10a Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:25:00 +0100 Subject: [PATCH 2/3] extend note --- pytket/docs/index.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pytket/docs/index.rst b/pytket/docs/index.rst index f6bed8ca47..638a96bed2 100644 --- a/pytket/docs/index.rst +++ b/pytket/docs/index.rst @@ -13,10 +13,16 @@ Windows. To install, run pip install pytket -.. admonition:: Known issue installing pytket +.. admonition:: Known issue installing pytket (Added 2nd August 2024) :class: attention - Due to the removal of the `types-pkg_resources` package from pypi there will likely be issues when installing old versions of pytket. It is recommend to use pytket `>1.31` where possible. + Due to the removal of the `types-pkg_resources` package from pypi there will likely be issues when installing old versions of pytket. It is recommend to use pytket `>=1.31` where possible. + + If you require using a version of pytket older than 1.31 then you can try the following. + + + `pip install types-pkg-resources==0.1.3 pytket==1.29.1` + If you have issues installing ``pytket`` please visit the `installation troubleshooting `_ page. From f8b78502384f84576846fc460fdf3d1da3846475 Mon Sep 17 00:00:00 2001 From: Callum Macpherson <93673602+CalMacCQ@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:56:08 +0100 Subject: [PATCH 3/3] Update pytket/docs/index.rst Co-authored-by: cqc-melf <70640934+cqc-melf@users.noreply.github.com> --- pytket/docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytket/docs/index.rst b/pytket/docs/index.rst index 638a96bed2..4d1ad7b6d6 100644 --- a/pytket/docs/index.rst +++ b/pytket/docs/index.rst @@ -21,7 +21,7 @@ Windows. To install, run If you require using a version of pytket older than 1.31 then you can try the following. - `pip install types-pkg-resources==0.1.3 pytket==1.29.1` + `pip install types-pkg-resources==0.1.3 pytket==` If you have issues installing ``pytket`` please visit the `installation troubleshooting `_ page.