From 3be953cd3dcf46c0325e6a21d1cfbe76de065270 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Fri, 24 Nov 2023 20:06:34 +0000 Subject: [PATCH] Remove exception code for py 3.11 (#4756) This code was added when coda build was not working properly with python 3.11 --- .../actions/setup-binary-builds/action.yml | 46 ++++--------------- 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/.github/actions/setup-binary-builds/action.yml b/.github/actions/setup-binary-builds/action.yml index 8376a5b14b..05ebbc1c77 100644 --- a/.github/actions/setup-binary-builds/action.yml +++ b/.github/actions/setup-binary-builds/action.yml @@ -109,42 +109,16 @@ runs: set -euxo pipefail CONDA_ENV="${RUNNER_TEMP}/conda_environment_${GITHUB_RUN_ID}" - if [[ "${PYTHON_VERSION}" = "3.11" ]]; then - - if [[ "${PACKAGE_TYPE:-}" == "conda" ]]; then - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=3.8" \ - cmake=3.22 \ - conda-build=3.21 \ - conda=23.7.3 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - else - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=${PYTHON_VERSION}" \ - conda=23.7.3 \ - cmake=3.22 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - fi - else - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=${PYTHON_VERSION}" \ - cmake=3.22 \ - conda-build=3.21 \ - conda=23.7.3 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - fi + conda create \ + --yes --quiet \ + --prefix "${CONDA_ENV}" \ + "python=${PYTHON_VERSION}" \ + cmake=3.22 \ + conda-build=3.21 \ + conda=23.7.3 \ + ninja=1.10 \ + pkg-config=0.29 \ + wheel=0.37 echo "CONDA_ENV=${CONDA_ENV}" >> "${GITHUB_ENV}" echo "CONDA_RUN=conda run -p ${CONDA_ENV}" >> "${GITHUB_ENV}"