You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/02/14 02:20:14 UTC
(airflow) 01/01: Use Python 3.9 (reproducibility) in relase branch PROD builds
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch add-python-3-9-in-release-branche-prod-build
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 631bb4dc10b7bd07fc90bd4c75f76b4810c8e526
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Feb 14 03:17:28 2024 +0100
Use Python 3.9 (reproducibility) in relase branch PROD builds
The #37401 forced Python 3.9 for all release commands that build
reproducible packages. Thie PR sets Python 3.9 in the PROD image
builds that run in release branches so that they also work.
---
.github/workflows/ci.yml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4c143c54ee..b3ab00bf17 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1866,11 +1866,11 @@ jobs:
needs.build-info.outputs.default-branch == 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch == 'main'
- with:
- python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
- name: >
Build PROD Images
${{needs.build-info.outputs.all-python-versions-list-as-string}}:${{env.IMAGE_TAG}}
@@ -1920,6 +1920,8 @@ jobs:
needs.build-info.outputs.default-branch == 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch == 'main'
@@ -1976,6 +1978,8 @@ jobs:
needs.build-info.outputs.default-branch == 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch == 'main'
@@ -2031,6 +2035,8 @@ jobs:
needs.build-info.outputs.default-branch != 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch != 'main'
@@ -2083,6 +2089,8 @@ jobs:
needs.build-info.outputs.default-branch != 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch != 'main'
@@ -2139,6 +2147,8 @@ jobs:
needs.build-info.outputs.default-branch != 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ with:
+ python-version: ${{ env.REPRODUCIBLE_PYTHON_VERSION }}
if: >
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.default-branch != 'main'