From b7ce7739a43681af1acc0bd2e3b8677c98b49dd3 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 29 Jun 2025 17:58:12 +0200 Subject: [PATCH] Fix generate-constraints run on different python than base It turns out that when we are installing Breeze we were using the "Image" python version and not the 'default" python version to install breeze, and Python 3.12 and 3.11 are not installed by default when generate-constraints runs. This change fixes this problem, also it changes the name of the generate-constraints job to only show the python version used. --- .github/actions/breeze/action.yml | 2 ++ .github/workflows/generate-constraints.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/breeze/action.yml b/.github/actions/breeze/action.yml index 03908cd2e3cfc..3fef664b337fa 100644 --- a/.github/actions/breeze/action.yml +++ b/.github/actions/breeze/action.yml @@ -41,6 +41,8 @@ runs: - name: "Install Breeze" shell: bash run: ./scripts/ci/install_breeze.sh + env: + PYTHON_VERSION: "${{ inputs.python-version }}" - name: "Free space" shell: bash run: breeze ci free-space diff --git a/.github/workflows/generate-constraints.yml b/.github/workflows/generate-constraints.yml index 565700a66ea6a..d2d0db0685a58 100644 --- a/.github/workflows/generate-constraints.yml +++ b/.github/workflows/generate-constraints.yml @@ -57,7 +57,7 @@ jobs: permissions: contents: read timeout-minutes: 70 - name: Generate constraints for ${{ inputs.python-versions-list-as-string }} + name: Generate constraints for ${{ matrix.python-version }} on ${{ inputs.platform }} runs-on: ${{ fromJSON(inputs.runners) }} strategy: matrix: