You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by am...@apache.org on 2025/10/09 18:43:24 UTC
(airflow) branch main updated: Bump python 3.9 to 3.9.23 and 3.12 to 3.12.12 (#56505)
This is an automated email from the ASF dual-hosted git repository.
amoghdesai 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 cc16b1ab715 Bump python 3.9 to 3.9.23 and 3.12 to 3.12.12 (#56505)
cc16b1ab715 is described below
commit cc16b1ab715ff17222818f72d0fb1abb331ee5dc
Author: Amogh Desai <am...@gmail.com>
AuthorDate: Thu Oct 9 11:43:16 2025 -0700
Bump python 3.9 to 3.9.23 and 3.12 to 3.12.12 (#56505)
---
Dockerfile | 2 +-
Dockerfile.ci | 2 +-
dev/breeze/src/airflow_breeze/global_constants.py | 4 ++--
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-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh | 2 +-
.../docker-examples/customizing/pypi-selected-version.sh | 2 +-
.../docker-examples/restricted/restricted_environments.sh | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 6838ac92089..a72b627f710 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,7 +49,7 @@ ARG AIRFLOW_USER_HOME_DIR=/home/airflow
ARG AIRFLOW_VERSION="3.1.0"
ARG BASE_IMAGE="debian:bookworm-slim"
-ARG AIRFLOW_PYTHON_VERSION="3.12.11"
+ARG AIRFLOW_PYTHON_VERSION="3.12.12"
# You can swap comments between those two args to test pip from the main version
# When you attempt to test if the version of `pip` from specified branch works for our builds
diff --git a/Dockerfile.ci b/Dockerfile.ci
index 7daf551c1d9..98eb38a4740 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1540,7 +1540,7 @@ ENV DEV_APT_COMMAND=${DEV_APT_COMMAND} \
ADDITIONAL_DEV_APT_DEPS=${ADDITIONAL_DEV_APT_DEPS} \
ADDITIONAL_DEV_APT_COMMAND=${ADDITIONAL_DEV_APT_COMMAND}
-ARG AIRFLOW_PYTHON_VERSION="3.12.11"
+ARG AIRFLOW_PYTHON_VERSION="3.12.12"
ENV AIRFLOW_PYTHON_VERSION=${AIRFLOW_PYTHON_VERSION}
ENV GOLANG_MAJOR_MINOR_VERSION="1.25.2"
diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py
index 27976fdd1d0..e83cea0ed6b 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -802,10 +802,10 @@ PROVIDERS_COMPATIBILITY_TESTS_MATRIX: list[dict[str, str | list[str]]] = [
]
ALL_PYTHON_VERSION_TO_PATCHLEVEL_VERSION: dict[str, str] = {
- "3.9": "3.9.23",
+ "3.9": "3.9.24",
"3.10": "3.10.18",
"3.11": "3.11.13",
- "3.12": "3.12.11",
+ "3.12": "3.12.12",
"3.13": "3.13.8",
}
diff --git a/docker-stack-docs/build-arg-ref.rst b/docker-stack-docs/build-arg-ref.rst
index ec65153d42a..bad7047a326 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.11`` | Version of Python. |
+| ``AIRFLOW_PYTHON_VERSION`` | ``3.12.12`` | 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 e2c0e55692a..8a0aed47c7d 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--build-arg ADDITIONAL_PYTHON_DEPS="mpi4py==4.1.0" \
--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 4ea37142e13..44848e78358 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--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 f6faea085a9..5846252d7a0 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--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 8b90cacc5cb..542cc29578a 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--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 d5660170c04..7c6d9be927e 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--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 d7de8aa86ed..92ead48fbcc 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.11" \
+ --build-arg AIRFLOW_PYTHON_VERSION="3.12.12" \
--build-arg AIRFLOW_INSTALLATION_METHOD="apache-airflow" \
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
--build-arg INSTALL_MYSQL_CLIENT="false" \