You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/01/21 20:19:58 UTC

[airflow] 33/44: Default python version is used when building image

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit f5efce7b6a2c065ae9b60bf5429ae555523f4f04
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Dec 23 15:46:35 2020 +0100

    Default python version is used when building image
    
    For image build the python version is passed via
    PYTHON_MAJOR_MINOR_VERSION but there is a part of the build
    (preparing airflow package) that uses python installed on host.
    
    This is fine for Master/2.0 to use same version as the image
    but it should be unified (and in 1.10 when trying to build 2.7
    image it would fail).
    
    (cherry picked from commit ba1111a6cc3906480394b22536d5adf8a3846c82)
---
 .github/workflows/build-images-workflow-run.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-images-workflow-run.yml b/.github/workflows/build-images-workflow-run.yml
index 93b2176..ee9c48c 100644
--- a/.github/workflows/build-images-workflow-run.yml
+++ b/.github/workflows/build-images-workflow-run.yml
@@ -327,7 +327,7 @@ jobs:
       - name: "Setup python"
         uses: actions/setup-python@v2
         with:
-          python-version: ${{  matrix.python-version }}
+          python-version: 3.6
         if: steps.defaults.outputs.proceed == 'true'
       - name: >
           Override "scripts/ci" with the "${{ needs.cancel-workflow-runs.outputs.targetBranch }}" branch