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 2023/08/31 22:58:00 UTC

[airflow] branch main updated: Reinstall CI depdendencies from scratch (#33978)

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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new dd7cc87160 Reinstall CI depdendencies from scratch (#33978)
dd7cc87160 is described below

commit dd7cc871605ad1239b48516c3df889cc7e3f19a8
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Sep 1 00:57:52 2023 +0200

    Reinstall CI depdendencies from scratch (#33978)
    
    With latest change enabling Pydantic #33956 some old dependencies
    (aws-sam-translator) remained in the CI image from cached
    installation and they are breaking `pip check` when refreshing
    the image cache. This PR bumps EPOCH numbers so that the dependencies
    are not installed from cache and we have a clean, new image with
    just those depencies we need.
---
 Dockerfile.ci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile.ci b/Dockerfile.ci
index 0761021304..48e626e570 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1246,7 +1246,7 @@ ARG PYTHON_BASE_IMAGE
 ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow"
 
 # By increasing this number we can do force build of all dependencies
-ARG DEPENDENCIES_EPOCH_NUMBER="8"
+ARG DEPENDENCIES_EPOCH_NUMBER="9"
 
 # Make sure noninteractive debian install is used and language variables set
 ENV PYTHON_BASE_IMAGE=${PYTHON_BASE_IMAGE} \
@@ -1336,7 +1336,7 @@ ARG AIRFLOW_CONSTRAINTS_LOCATION=""
 ARG DEFAULT_CONSTRAINTS_BRANCH="constraints-main"
 # By changing the epoch we can force reinstalling Airflow and pip all dependencies
 # It can also be overwritten manually by setting the AIRFLOW_CI_BUILD_EPOCH environment variable.
-ARG AIRFLOW_CI_BUILD_EPOCH="4"0
+ARG AIRFLOW_CI_BUILD_EPOCH="5"
 ARG AIRFLOW_PRE_CACHED_PIP_PACKAGES="true"
 # By default in the image, we are installing all providers when installing from sources
 ARG INSTALL_PROVIDERS_FROM_SOURCES="true"