Skip to content

Commit 0ece461

Browse files
clee2000pytorchmergebot
authored andcommitted
Pin cmake==3.31.6 (pytorch#150158)
I'm not sure if this is the right think to do, but cmake 4.0.0 got released on pypi and our builds are failing with it Example: https://hud.pytorch.org/pytorch/pytorch/commit/aa70d62041c28fe35c416aa932b32ef0e4d5bc33#39555975425-box I guess we have to go change all the cmake_minimum_required to >=3.5? backwards compat still failing because its building with the base commit which this pr can't really change until it gets merged, but at least manywheel binary builds got past where they were originally failing Also pin the conda installation, but the most recent version on conda is 3.31.2 Pull Request resolved: pytorch#150158 Approved by: https://github.com/cyyever, https://github.com/malfet
1 parent 350a479 commit 0ece461

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/docker/common/install_conda.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
8080
# following builds that we know should use conda. Specifically, Ubuntu bionic
8181
# and focal cannot find conda mkl with stock cmake, so we need a cmake from conda
8282
if [ -n "${CONDA_CMAKE}" ]; then
83-
conda_install cmake
83+
conda_install cmake==3.31.2
8484
fi
8585

8686
# Magma package names are concatenation of CUDA major and minor ignoring revision

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python dependencies required for development
22
astunparse
3-
cmake
3+
cmake==3.31.6 # Temp pin until we support 4.0.0?
44
expecttest>=0.3.0
55
filelock
66
fsspec

0 commit comments

Comments
 (0)