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 54acc0f2d71 CI: Upgrade important CI environment (#62792)
54acc0f2d71 is described below
commit 54acc0f2d7191baa01d71eb40c7d9cf7e08a7250
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Mar 3 16:51:33 2026 +0100
CI: Upgrade important CI environment (#62792)
---
Dockerfile | 2 +-
Dockerfile.ci | 2 +-
chart/values.schema.json | 2 +-
chart/values.yaml | 2 +-
dev/breeze/src/airflow_breeze/global_constants.py | 2 +-
docker-stack-docs/build-arg-ref.rst | 2 +-
.../docker-examples/customizing/add-build-essential-custom.sh | 2 +-
docker-stack-docs/docker-examples/customizing/custom-sources.sh | 2 +-
.../docker-examples/customizing/pypi-dev-runtime-deps.sh | 2 +-
.../docker-examples/customizing/pypi-extras-and-deps.sh | 2 +-
.../docker-examples/customizing/pypi-selected-version.sh | 2 +-
.../docker-examples/restricted/restricted_environments.sh | 2 +-
scripts/ci/prek/update_chart_dependencies.py | 9 +++++++--
scripts/ci/prek/upgrade_important_versions.py | 4 ++--
14 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 35cb80db0e3..b04509c0353 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -51,7 +51,7 @@ ARG AIRFLOW_USER_HOME_DIR=/home/airflow
ARG AIRFLOW_VERSION="3.1.7"
ARG BASE_IMAGE="debian:bookworm-slim"
-ARG AIRFLOW_PYTHON_VERSION="3.12.12"
+ARG AIRFLOW_PYTHON_VERSION="3.12.13"
# PYTHON_LTO: Controls whether Python is built with Link-Time Optimization
(LTO).
#
diff --git a/Dockerfile.ci b/Dockerfile.ci
index c39c854f8da..e641015d57a 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1582,7 +1582,7 @@ ENV DEV_APT_COMMAND=${DEV_APT_COMMAND} \
ADDITIONAL_DEV_APT_COMMAND=${ADDITIONAL_DEV_APT_COMMAND}
-ARG AIRFLOW_PYTHON_VERSION="3.12.12"
+ARG AIRFLOW_PYTHON_VERSION="3.12.13"
ENV AIRFLOW_PYTHON_VERSION=${AIRFLOW_PYTHON_VERSION}
ENV GOLANG_MAJOR_MINOR_VERSION="1.26.0"
diff --git a/chart/values.schema.json b/chart/values.schema.json
index caac8a828f4..8b494c285d2 100644
--- a/chart/values.schema.json
+++ b/chart/values.schema.json
@@ -968,7 +968,7 @@
"tag": {
"description": "The StatsD image tag.",
"type": "string",
- "default": "v0.28.0"
+ "default": "v0.29.0"
},
"pullPolicy": {
"description": "The StatsD image pull policy.",
diff --git a/chart/values.yaml b/chart/values.yaml
index 17b1e14f513..4f85bd83fb8 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -106,7 +106,7 @@ images:
pullPolicy: IfNotPresent
statsd:
repository: quay.io/prometheus/statsd-exporter
- tag: v0.28.0
+ tag: v0.29.0
pullPolicy: IfNotPresent
redis:
repository: redis
diff --git a/dev/breeze/src/airflow_breeze/global_constants.py
b/dev/breeze/src/airflow_breeze/global_constants.py
index 7e2b304c0d9..390af7fcd77 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -760,7 +760,7 @@ PROVIDERS_COMPATIBILITY_TESTS_MATRIX: list[dict[str, str |
list[str]]] = [
ALL_PYTHON_VERSION_TO_PATCHLEVEL_VERSION: dict[str, str] = {
"3.10": "3.10.20",
"3.11": "3.11.15",
- "3.12": "3.12.12",
+ "3.12": "3.12.13",
"3.13": "3.13.12",
}
diff --git a/docker-stack-docs/build-arg-ref.rst
b/docker-stack-docs/build-arg-ref.rst
index 56fc38626c0..cfbed5b423d 100644
--- a/docker-stack-docs/build-arg-ref.rst
+++ b/docker-stack-docs/build-arg-ref.rst
@@ -32,7 +32,7 @@ Those are the most common arguments that you use when you
want to build a custom
+==========================================+===========================================+=============================================+
| ``AIRFLOW_VERSION`` | :subst-code:`|airflow-version|`
| Version of Airflow. |
+------------------------------------------+-------------------------------------------+---------------------------------------------+
-| ``AIRFLOW_PYTHON_VERSION`` | ``3.12.12``
| Version of Python. |
+| ``AIRFLOW_PYTHON_VERSION`` | ``3.12.13``
| Version of Python. |
+------------------------------------------+-------------------------------------------+---------------------------------------------+
| ``AIRFLOW_EXTRAS`` | (see below the table)
| Default extras with which Airflow is |
| |
| installed. |
diff --git
a/docker-stack-docs/docker-examples/customizing/add-build-essential-custom.sh
b/docker-stack-docs/docker-examples/customizing/add-build-essential-custom.sh
index c8560704462..08122186505 100755
---
a/docker-stack-docs/docker-examples/customizing/add-build-essential-custom.sh
+++
b/docker-stack-docs/docker-examples/customizing/add-build-essential-custom.sh
@@ -33,7 +33,7 @@ docker build . \
--pull \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg ADDITIONAL_PYTHON_DEPS="mpi4py==4.1.1" \
--build-arg ADDITIONAL_DEV_APT_DEPS="libopenmpi-dev" \
--build-arg ADDITIONAL_RUNTIME_APT_DEPS="openmpi-common" \
diff --git a/docker-stack-docs/docker-examples/customizing/custom-sources.sh
b/docker-stack-docs/docker-examples/customizing/custom-sources.sh
index 44848e78358..23adb16ca1c 100755
--- a/docker-stack-docs/docker-examples/customizing/custom-sources.sh
+++ b/docker-stack-docs/docker-examples/customizing/custom-sources.sh
@@ -33,7 +33,7 @@ docker build . -f Dockerfile \
--pull \
--platform 'linux/amd64' \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="slack,odbc" \
--build-arg ADDITIONAL_PYTHON_DEPS=" \
diff --git
a/docker-stack-docs/docker-examples/customizing/pypi-dev-runtime-deps.sh
b/docker-stack-docs/docker-examples/customizing/pypi-dev-runtime-deps.sh
index 5846252d7a0..aa92f40cdf9 100755
--- a/docker-stack-docs/docker-examples/customizing/pypi-dev-runtime-deps.sh
+++ b/docker-stack-docs/docker-examples/customizing/pypi-dev-runtime-deps.sh
@@ -33,7 +33,7 @@ export DOCKER_BUILDKIT=1
docker build . \
--pull \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="jdbc" \
--build-arg ADDITIONAL_PYTHON_DEPS="pandas==2.1.2" \
diff --git
a/docker-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh
b/docker-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh
index 542cc29578a..f5a090ebec6 100755
--- a/docker-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh
+++ b/docker-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh
@@ -32,7 +32,7 @@ export DOCKER_BUILDKIT=1
docker build . \
--pull \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="mssql,hdfs" \
--build-arg ADDITIONAL_PYTHON_DEPS="oauth2client" \
diff --git
a/docker-stack-docs/docker-examples/customizing/pypi-selected-version.sh
b/docker-stack-docs/docker-examples/customizing/pypi-selected-version.sh
index 7c6d9be927e..4043291dab9 100755
--- a/docker-stack-docs/docker-examples/customizing/pypi-selected-version.sh
+++ b/docker-stack-docs/docker-examples/customizing/pypi-selected-version.sh
@@ -31,7 +31,7 @@ export DOCKER_BUILDKIT=1
docker build . \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--tag "my-pypi-selected-version:0.0.1"
# [END build]
diff --git
a/docker-stack-docs/docker-examples/restricted/restricted_environments.sh
b/docker-stack-docs/docker-examples/restricted/restricted_environments.sh
index 92ead48fbcc..443789917a9 100755
--- a/docker-stack-docs/docker-examples/restricted/restricted_environments.sh
+++ b/docker-stack-docs/docker-examples/restricted/restricted_environments.sh
@@ -48,7 +48,7 @@ export DOCKER_BUILDKIT=1
docker build . \
--pull \
--build-arg BASE_IMAGE="debian:bookworm-slim" \
- --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.13" \
--build-arg AIRFLOW_INSTALLATION_METHOD="apache-airflow" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--build-arg INSTALL_MYSQL_CLIENT="false" \
diff --git a/scripts/ci/prek/update_chart_dependencies.py
b/scripts/ci/prek/update_chart_dependencies.py
index e65e31a26bb..daf01404002 100755
--- a/scripts/ci/prek/update_chart_dependencies.py
+++ b/scripts/ci/prek/update_chart_dependencies.py
@@ -42,8 +42,13 @@ VALUES_SCHEMA_FILE = AIRFLOW_ROOT_PATH / "chart" /
"values.schema.json"
def get_latest_prometheus_statsd_exporter_version() -> str:
quay_data =
requests.get("https://quay.io/api/v1/repository/prometheus/statsd-exporter/tag/").json()
for version in quay_data["tags"]:
- if version["name"].startswith("v"):
- return version["name"]
+ name = version["name"]
+ if not name.startswith("v"):
+ continue
+ # Skip "v0"
+ if name == "v0":
+ continue
+ return name
raise RuntimeError("ERROR! No version found")
diff --git a/scripts/ci/prek/upgrade_important_versions.py
b/scripts/ci/prek/upgrade_important_versions.py
index d2d6618f032..4a90c3c3d1b 100755
--- a/scripts/ci/prek/upgrade_important_versions.py
+++ b/scripts/ci/prek/upgrade_important_versions.py
@@ -241,8 +241,8 @@ def get_latest_image_version(image: str) -> str:
version_tags = []
for tag in tags:
tag_name = tag["name"]
- # Skip tags like 'latest', 'stable', etc.
- if tag_name in ["latest", "stable", "main", "master"]:
+ # Skip tags like 'latest', 'stable', '0', 'v0', etc.
+ if tag_name in ["latest", "stable", "main", "master", "0", "v0"]:
continue
try:
# Try to parse as version to filter out non-version tags