From d254c9078e8e66e35df019e7d19176fad5d482be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20B=C3=B6ttcher?= <c.boettcher@fz-juelich.de>
Date: Mon, 4 Sep 2023 09:59:51 +0200
Subject: [PATCH] update requirements for new version

---
 dockers/eflows-airflow.docker | 8 ++++----
 requirements.txt              | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dockers/eflows-airflow.docker b/dockers/eflows-airflow.docker
index 7afe5e6..b653171 100644
--- a/dockers/eflows-airflow.docker
+++ b/dockers/eflows-airflow.docker
@@ -1,9 +1,9 @@
-FROM apache/airflow:slim-2.5.3-python3.8
+FROM apache/airflow:slim-2.7.0-python3.10
 USER root
 RUN apt update && apt install git -y && apt clean && rm -rf /var/lib/apt/lists/*
-COPY ./templates/main.html /home/airflow/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html
-COPY ./templates/navbar_right.html /home/airflow/.local/lib/python3.8/site-packages/airflow/www/templates/appbuilder/navbar_right.html
-COPY ./templates/img/BMBF_gefoerdert_2017_en.jpg /home/airflow/.local/lib/python3.8/site-packages/airflow/www/static/BMBF_gefoerdert_2017_en.jpg
+COPY ./templates/main.html /home/airflow/.local/lib/python3.10/site-packages/airflow/www/templates/airflow/main.html
+COPY ./templates/navbar_right.html /home/airflow/.local/lib/python3.10/site-packages/airflow/www/templates/appbuilder/navbar_right.html
+COPY ./templates/img/BMBF_gefoerdert_2017_en.jpg /home/airflow/.local/lib/python3.10/site-packages/airflow/www/static/BMBF_gefoerdert_2017_en.jpg
 
 USER airflow
 
diff --git a/requirements.txt b/requirements.txt
index cdf4707..c593ee9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,8 +3,8 @@ urllib3
 plyvel
 webdavclient3
 boto3==1.24.32
-apache-airflow[celery]==2.5.3
-apache-airflow[redis]==2.5.3
+apache-airflow[celery]==2.7.0
+apache-airflow[redis]==2.7.0
 apache-airflow-providers-ssh
 apache-airflow-providers-http
 apache-airflow-providers-sftp
-- 
GitLab