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

potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-8-test by this push:
     new effef9add8 Update to Python 3.9 when installing breeze
effef9add8 is described below

commit effef9add822bad13a1dd8a61ba3a0305b583217
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Mar 25 22:20:51 2024 +0100

    Update to Python 3.9 when installing breeze
---
 .github/actions/breeze/action.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.github/actions/breeze/action.yml 
b/.github/actions/breeze/action.yml
index d75152a3fa..427864e403 100644
--- a/.github/actions/breeze/action.yml
+++ b/.github/actions/breeze/action.yml
@@ -21,7 +21,10 @@ description: 'Sets up Python and Breeze'
 inputs:
   python-version:
     description: 'Python version to use'
-    default: "3.8"
+    # Version of Python used for reproducibility of the packages built
+    # Python 3.8 tarfile produces different tarballs than Python 3.9+ tarfile 
that's why we are forcing
+    # Python 3.9 for all release preparation commands to make sure that the 
tarballs are reproducible
+    default: "3.9"
 outputs:
   host-python-version:
     description: Python version used in host
@@ -30,13 +33,13 @@ runs:
   using: "composite"
   steps:
     - name: "Setup python"
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ inputs.python-version }}
         cache: 'pip'
-        cache-dependency-path: ./dev/breeze/setup*
+        cache-dependency-path: ./dev/breeze/pyproject.toml
     - name: Cache breeze
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: ~/.local/pipx
         # README has the latest breeze's hash and python location is used to 
distinguish between

Reply via email to