From 6e8a54e7d7a1c6e38f6653aa99e83cc9b0675ef3 Mon Sep 17 00:00:00 2001 From: AmintorDusko Date: Mon, 21 Nov 2022 11:07:34 -0500 Subject: [PATCH 1/5] Update dev version --- pennylane_lightning/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/_version.py b/pennylane_lightning/_version.py index 1632b972c8..c3d151dd17 100644 --- a/pennylane_lightning/_version.py +++ b/pennylane_lightning/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.28.0-dev" +__version__ = "0.28.1-dev" From ad1f91a96aed6073024c9174c3c28181d4fa8564 Mon Sep 17 00:00:00 2001 From: AmintorDusko Date: Mon, 21 Nov 2022 11:36:16 -0500 Subject: [PATCH 2/5] pin cmake version to ~=3.24.0 --- .github/workflows/wheel_linux_aarch64.yml | 2 +- .github/workflows/wheel_linux_ppc64le.yml | 2 +- .github/workflows/wheel_linux_x86_64.yml | 2 +- .github/workflows/wheel_macos_arm64.yml | 2 +- .github/workflows/wheel_macos_x86_64.yml | 2 +- .github/workflows/wheel_win_x86_64.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index 2cf56d426d..7055c018cc 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -159,7 +159,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf - pip install ninja cmake + pip install ninja cmake~=3.24.0 CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 diff --git a/.github/workflows/wheel_linux_ppc64le.yml b/.github/workflows/wheel_linux_ppc64le.yml index 5c206c8bfc..7f5bd5dc36 100644 --- a/.github/workflows/wheel_linux_ppc64le.yml +++ b/.github/workflows/wheel_linux_ppc64le.yml @@ -159,7 +159,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf - pip install ninja cmake + pip install ninja cmake~=3.24.0 CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux2014 diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index f98dce0396..73e196f6cb 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -164,7 +164,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf - pip install ninja cmake + pip install ninja cmake~=3.24.0 yum clean all -y yum install centos-release-scl-rh -y yum install devtoolset-11-gcc-c++ -y diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index c5f0d7a445..eca5bb1177 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -88,7 +88,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | - pip install pybind11 ninja cmake + pip install pybind11 ninja cmake~=3.24.0 # Testing of built wheels CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index d610abdf0a..35e4964aa1 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -160,7 +160,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | - pip install pybind11 ninja cmake + pip install pybind11 ninja cmake~=3.24.0 # Testing of built wheels CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index fdf36aa9db..bb3f13e071 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -145,7 +145,7 @@ jobs: # Python build settings CIBW_BEFORE_BUILD: | - pip install pybind11 cmake + pip install pybind11 cmake~=3.24.0 # Testing of built wheels CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky From e0f39a929055d130f8aac3892b64214b70d466ea Mon Sep 17 00:00:00 2001 From: AmintorDusko Date: Mon, 21 Nov 2022 12:38:33 -0500 Subject: [PATCH 3/5] update changelog --- .github/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index f17c7c61f4..e957e0ac07 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -10,10 +10,15 @@ ### Bug fixes +- Pin CMake to 3.24.x in wheel-builder to avoid Python not found error in CMake 3.25, when building wheels for PennyLane-Lightning-GPU. +[(#387)](https://github.com/PennyLaneAI/pennylane-lightning/pull/387) + ### Contributors This release contains contributions from (in alphabetical order): +Amintor Dusko + --- # Release 0.27.0 From 6bcc872c40d9e8b53aaa52ea2eef927721dadd4c Mon Sep 17 00:00:00 2001 From: Dev version update bot Date: Tue, 22 Nov 2022 13:15:01 +0000 Subject: [PATCH 4/5] Auto update version --- pennylane_lightning/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/_version.py b/pennylane_lightning/_version.py index c3d151dd17..123dfdce2f 100644 --- a/pennylane_lightning/_version.py +++ b/pennylane_lightning/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.28.1-dev" +__version__ = "0.28.1-dev1" From 252685e0326f8f7c237679f3784a750b265c6f8b Mon Sep 17 00:00:00 2001 From: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com> Date: Tue, 22 Nov 2022 09:06:03 -0500 Subject: [PATCH 5/5] Update pennylane_lightning/_version.py Co-authored-by: Lee James O'Riordan --- pennylane_lightning/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/_version.py b/pennylane_lightning/_version.py index 123dfdce2f..04fde6a018 100644 --- a/pennylane_lightning/_version.py +++ b/pennylane_lightning/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.28.1-dev1" +__version__ = "0.28.0-dev3"