Skip to content

Commit 90cfb10

Browse files
authored
pin python version for cmake workflows (#7060)
* pin python version for macos cmake * ping python for all OS * revert to only set this for macos * debug * remove debug
1 parent 2b16299 commit 90cfb10

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.circleci/config.yml

+1-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

+1-6
Original file line numberDiff line numberDiff line change
@@ -958,11 +958,6 @@ jobs:
958958
machine:
959959
image: ubuntu-2004-cuda-11.4:202110-01
960960
resource_class: gpu.nvidia.small
961-
environment:
962-
PYTHON_VERSION: << parameters.python_version >>
963-
PYTORCH_VERSION: << parameters.pytorch_version >>
964-
UNICODE_ABI: << parameters.unicode_abi >>
965-
CU_VERSION: << parameters.cu_version >>
966961
steps:
967962
- checkout_merge
968963
- designate_upload_channel
@@ -986,7 +981,7 @@ jobs:
986981
curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
987982
sh conda.sh -b
988983
source $HOME/miniconda3/bin/activate
989-
conda install -yq conda-build cmake
984+
conda install -yq conda-build cmake python=<< parameters.python_version >>
990985
packaging/build_cmake.sh
991986

992987
cmake_windows_cpu:

0 commit comments

Comments
 (0)