diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index d5ce17a6a9..ccc74621b8 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -13,6 +13,9 @@ ### 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): 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 diff --git a/pennylane_lightning/_version.py b/pennylane_lightning/_version.py index c3d151dd17..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-dev" +__version__ = "0.28.0-dev3"