From 57dd31c8802faf1eec544ac35a4c52eed12ccfd9 Mon Sep 17 00:00:00 2001 From: Vitaly Bogdanov Date: Mon, 12 Feb 2024 18:04:07 +0300 Subject: [PATCH 1/2] Revert "Exclude Python 3.12 from release" This reverts commit 22154e96e8abc5df2add36778c33ba21029eb01a. --- .github/workflows/release-python.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 2149403c2..a00c0758b 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -39,7 +39,6 @@ jobs: env: CIBW_BEFORE_ALL: sh -c "./python/install-hyperonc.sh -u https://github.com/${{github.repository}}.git -r ${{env.COMMIT_HEAD}}" CIBW_SKIP: "*musllinux*" - CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7,<3.12" with: package-dir: ./python From 987669b052a3b3e9539432b37f87b8deeab70c04 Mon Sep 17 00:00:00 2001 From: Vitaly Bogdanov Date: Mon, 12 Feb 2024 18:07:07 +0300 Subject: [PATCH 2/2] Install specific Python version for a install-hyperonc.sh This version should be overriden by cibuildwheel to build specific Python package, but still used to install Conan in install-hyperonc.sh. --- .github/workflows/release-python.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index a00c0758b..d8d4c6bca 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -27,6 +27,11 @@ jobs: - name: Checkout source code uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.8" + - run: | echo "REF_NAME=${{github.ref_name}}" | tee -a $GITHUB_ENV echo "EVENT_NAME=${{github.event_name}}" | tee -a $GITHUB_ENV