From 8a04cfe5e1fc99a8616ee17129bb160bd64fcd50 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sun, 10 May 2026 23:06:03 +0200 Subject: [PATCH] fix: downgrade Python version from 3.14 to 3.12 in Airflow installation scripts --- ct/airflow.sh | 2 +- install/airflow-install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/airflow.sh b/ct/airflow.sh index 66f92879..e1564786 100644 --- a/ct/airflow.sh +++ b/ct/airflow.sh @@ -48,7 +48,7 @@ function update_script() { msg_info "Updating Apache Airflow to ${LATEST}" $STD uv pip install --python /opt/airflow/.venv/bin/python \ "apache-airflow[postgres,fab]==${LATEST}" \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${LATEST}/constraints-3.14.txt" + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${LATEST}/constraints-3.12.txt" echo "${LATEST}" >~/.airflow msg_ok "Updated Apache Airflow to ${LATEST}" diff --git a/install/airflow-install.sh b/install/airflow-install.sh index 334e8229..00103293 100644 --- a/install/airflow-install.sh +++ b/install/airflow-install.sh @@ -22,7 +22,7 @@ $STD apt install -y \ python3-dev msg_ok "Installed Dependencies" -UV_PYTHON="3.14" setup_uv +UV_PYTHON="3.12" setup_uv PG_VERSION="16" setup_postgresql PG_DB_NAME="airflow" PG_DB_USER="airflow" setup_postgresql_db @@ -30,10 +30,10 @@ msg_info "Installing Apache Airflow" AIRFLOW_VERSION="3.2.1" mkdir -p /opt/airflow/{dags,logs,plugins} cd /opt/airflow -$STD uv venv --python 3.14 +$STD uv venv --python 3.12 $STD uv pip install --python /opt/airflow/.venv/bin/python \ "apache-airflow[postgres,fab]==${AIRFLOW_VERSION}" \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.14.txt" + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.12.txt" echo "${AIRFLOW_VERSION}" >~/.airflow msg_ok "Installed Apache Airflow"