Skip to content

Commit 6ae083f

Browse files
authored
Pin the CMAKE version (#387)
* Update the dev version * pin CMake version to ~=3.24.0 * update changelog * Auto update version * Update pennylane_lightning/_version.py
1 parent fff2401 commit 6ae083f

8 files changed

+10
-7
lines changed

.github/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
### Bug fixes
1515

16+
- 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.
17+
[(#387)](https://github.com/PennyLaneAI/pennylane-lightning/pull/387)
18+
1619
### Contributors
1720

1821
This release contains contributions from (in alphabetical order):

.github/workflows/wheel_linux_aarch64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
# Python build settings
160160
CIBW_BEFORE_BUILD: |
161161
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
162-
pip install ninja cmake
162+
pip install ninja cmake~=3.24.0
163163
164164
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
165165

.github/workflows/wheel_linux_ppc64le.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
# Python build settings
160160
CIBW_BEFORE_BUILD: |
161161
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
162-
pip install ninja cmake
162+
pip install ninja cmake~=3.24.0
163163
164164
CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux2014
165165

.github/workflows/wheel_linux_x86_64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
# Python build settings
165165
CIBW_BEFORE_BUILD: |
166166
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
167-
pip install ninja cmake
167+
pip install ninja cmake~=3.24.0
168168
yum clean all -y
169169
yum install centos-release-scl-rh -y
170170
yum install devtoolset-11-gcc-c++ -y

.github/workflows/wheel_macos_arm64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
8989
# Python build settings
9090
CIBW_BEFORE_BUILD: |
91-
pip install pybind11 ninja cmake
91+
pip install pybind11 ninja cmake~=3.24.0
9292
9393
# Testing of built wheels
9494
CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky

.github/workflows/wheel_macos_x86_64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
161161
# Python build settings
162162
CIBW_BEFORE_BUILD: |
163-
pip install pybind11 ninja cmake
163+
pip install pybind11 ninja cmake~=3.24.0
164164
165165
# Testing of built wheels
166166
CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky

.github/workflows/wheel_win_x86_64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145

146146
# Python build settings
147147
CIBW_BEFORE_BUILD: |
148-
pip install pybind11 cmake
148+
pip install pybind11 cmake~=3.24.0
149149
150150
# Testing of built wheels
151151
CIBW_TEST_REQUIRES: numpy~=1.21 scipy pytest pytest-cov pytest-mock flaky

pennylane_lightning/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.28.1-dev"
19+
__version__ = "0.28.0-dev3"

0 commit comments

Comments
 (0)