This is an automated email from the ASF dual-hosted git repository. ash pushed a commit to branch backport-0ec6653-v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 47abbd9cba0e8054bedd6c686826f9de54033a13 Author: Amogh Desai <[email protected]> AuthorDate: Wed Oct 8 05:08:39 2025 -0700 (cherry picked from commit 0ec6653d304a2c3a965bb1efcf64201308774a61) Co-authored-by: Amogh Desai <[email protected]> --- .github/actions/install-prek/action.yml | 2 +- .github/workflows/basic-tests.yml | 2 +- .github/workflows/release_dockerhub_image.yml | 2 +- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- Dockerfile.ci | 6 +++--- airflow-core/docs/best-practices.rst | 2 +- dev/breeze/doc/ci/02_images.md | 4 ++-- .../src/airflow_breeze/commands/release_management_commands.py | 2 +- dev/breeze/src/airflow_breeze/global_constants.py | 2 +- devel-common/pyproject.toml | 2 +- pyproject.toml | 2 +- scripts/ci/install_breeze.sh | 2 +- scripts/ci/prek/check_imports_in_providers.py | 2 +- scripts/ci/prek/ruff_format.py | 2 +- scripts/tools/setup_breeze | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/actions/install-prek/action.yml b/.github/actions/install-prek/action.yml index ecf2ac7a55c..39083b27c71 100644 --- a/.github/actions/install-prek/action.yml +++ b/.github/actions/install-prek/action.yml @@ -24,7 +24,7 @@ inputs: default: "3.10" uv-version: description: 'uv version to use' - default: "0.8.22" # Keep this comment to allow automatic replacement of uv version + default: "0.9.0" # Keep this comment to allow automatic replacement of uv version prek-version: description: 'prek version to use' default: "0.2.3" # Keep this comment to allow automatic replacement of prek version diff --git a/.github/workflows/basic-tests.yml b/.github/workflows/basic-tests.yml index db9bac6e259..c29228f1cec 100644 --- a/.github/workflows/basic-tests.yml +++ b/.github/workflows/basic-tests.yml @@ -66,7 +66,7 @@ on: # yamllint disable-line rule:truthy type: string uv-version: description: 'uv version to use' - default: "0.8.22" # Keep this comment to allow automatic replacement of uv version + default: "0.9.0" # Keep this comment to allow automatic replacement of uv version type: string platform: description: 'Platform for the build - linux/amd64 or linux/arm64' diff --git a/.github/workflows/release_dockerhub_image.yml b/.github/workflows/release_dockerhub_image.yml index a6b5b45fe01..7b947a917f3 100644 --- a/.github/workflows/release_dockerhub_image.yml +++ b/.github/workflows/release_dockerhub_image.yml @@ -58,7 +58,7 @@ jobs: AIRFLOW_VERSION: ${{ github.event.inputs.airflowVersion }} AMD_ONLY: ${{ github.event.inputs.amdOnly }} LIMIT_PYTHON_VERSIONS: ${{ github.event.inputs.limitPythonVersions }} - UV_VERSION: "0.8.22" # Keep this comment to allow automatic replacement of uv version + UV_VERSION: "0.9.0" # Keep this comment to allow automatic replacement of uv version if: contains(fromJSON('[ "ashb", "eladkal", diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a3a9f2a2f52..0f908098383 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -413,7 +413,7 @@ repos: types_or: [python, pyi] args: [--fix] require_serial: true - additional_dependencies: ['ruff==0.13.3'] + additional_dependencies: ['ruff==0.14.0'] exclude: ^airflow-core/tests/unit/dags/test_imports\.py$|^performance/tests/test_.*\.py$ - id: ruff-format name: Run 'ruff format' diff --git a/Dockerfile b/Dockerfile index f936427ffab..932f4b2948c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ ARG AIRFLOW_PYTHON_VERSION="3.12.11" # Also use `force pip` label on your PR to swap all places we use `uv` to `pip` ARG AIRFLOW_PIP_VERSION=25.2 # ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main" -ARG AIRFLOW_UV_VERSION=0.8.22 +ARG AIRFLOW_UV_VERSION=0.9.0 ARG AIRFLOW_USE_UV="false" ARG UV_HTTP_TIMEOUT="300" ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow" diff --git a/Dockerfile.ci b/Dockerfile.ci index 6b066567736..79b905e068f 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1520,7 +1520,7 @@ ENV DEV_APT_COMMAND=${DEV_APT_COMMAND} \ ARG AIRFLOW_PYTHON_VERSION="3.12.11" ENV AIRFLOW_PYTHON_VERSION=${AIRFLOW_PYTHON_VERSION} -ENV GOLANG_MAJOR_MINOR_VERSION="1.25.1" +ENV GOLANG_MAJOR_MINOR_VERSION="1.25.2" COPY --from=scripts install_os_dependencies.sh /scripts/docker/ @@ -1655,8 +1655,8 @@ COPY --from=scripts common.sh install_packaging_tools.sh install_additional_depe # Also use `force pip` label on your PR to swap all places we use `uv` to `pip` ARG AIRFLOW_PIP_VERSION=25.2 # ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main" -ARG AIRFLOW_UV_VERSION=0.8.22 -ARG AIRFLOW_PREK_VERSION="0.2.3" +ARG AIRFLOW_UV_VERSION=0.9.0 +ARG AIRFLOW_PREK_VERSION="0.2.4" # UV_LINK_MODE=copy is needed since we are using cache mounted from the host ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \ diff --git a/airflow-core/docs/best-practices.rst b/airflow-core/docs/best-practices.rst index bc462d8d02e..76048bcc245 100644 --- a/airflow-core/docs/best-practices.rst +++ b/airflow-core/docs/best-practices.rst @@ -310,7 +310,7 @@ Installing and Using ruff .. code-block:: bash - pip install "ruff>=0.13.3" + pip install "ruff>=0.14.0" 2. **Running ruff**: Execute ``ruff`` to check your Dags for potential issues: diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md index 4cd1ceaa773..affb647e998 100644 --- a/dev/breeze/doc/ci/02_images.md +++ b/dev/breeze/doc/ci/02_images.md @@ -443,8 +443,8 @@ can be used for CI images: | `ADDITIONAL_DEV_APT_DEPS` | | Additional apt dev dependencies installed in the first part of the image | | `ADDITIONAL_DEV_APT_ENV` | | Additional env variables defined when installing dev deps | | `AIRFLOW_PIP_VERSION` | `25.2` | `pip` version used. | -| `AIRFLOW_UV_VERSION` | `0.8.22` | `uv` version used. | -| `AIRFLOW_PREK_VERSION` | `0.2.3` | `prek` version used. | +| `AIRFLOW_UV_VERSION` | `0.9.0` | `uv` version used. | +| `AIRFLOW_PREK_VERSION` | `0.2.4` | `prek` version used. | | `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. | | `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation | diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py index b2d75d42c77..9f45ea2edb9 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -253,7 +253,7 @@ class VersionedFile(NamedTuple): AIRFLOW_PIP_VERSION = "25.2" -AIRFLOW_UV_VERSION = "0.8.22" +AIRFLOW_UV_VERSION = "0.9.0" AIRFLOW_USE_UV = False GITPYTHON_VERSION = "3.1.45" RICH_VERSION = "14.1.0" diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index d6e4ebeaf39..faff6f21a5a 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -201,7 +201,7 @@ if MYSQL_INNOVATION_RELEASE: ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"] PIP_VERSION = "25.2" -UV_VERSION = "0.8.22" +UV_VERSION = "0.9.0" DEFAULT_UV_HTTP_TIMEOUT = 300 DEFAULT_WSL2_HTTP_TIMEOUT = 900 diff --git a/devel-common/pyproject.toml b/devel-common/pyproject.toml index 4147084bdcb..1cea4eceaf9 100644 --- a/devel-common/pyproject.toml +++ b/devel-common/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "kgb>=7.2.0", "requests_mock>=1.11.0", "rich>=13.6.0", - "ruff==0.13.3", + "ruff==0.14.0", "semver>=3.0.2", "time-machine>=2.15.0", "wheel>=0.42.0", diff --git a/pyproject.toml b/pyproject.toml index ee294403f6c..0d70b3ea9fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -535,7 +535,7 @@ packages = [] "apache-airflow-providers-amazon[s3fs]", ] "uv" = [ - "uv>=0.8.22", + "uv>=0.9.0", ] diff --git a/scripts/ci/install_breeze.sh b/scripts/ci/install_breeze.sh index a033e027a39..8a40e4bc315 100755 --- a/scripts/ci/install_breeze.sh +++ b/scripts/ci/install_breeze.sh @@ -22,7 +22,7 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/../../" PYTHON_ARG="" PIP_VERSION="25.2" -UV_VERSION="0.8.22" +UV_VERSION="0.9.0" if [[ ${PYTHON_VERSION=} != "" ]]; then PYTHON_ARG="--python=$(which python"${PYTHON_VERSION}") " fi diff --git a/scripts/ci/prek/check_imports_in_providers.py b/scripts/ci/prek/check_imports_in_providers.py index 08dbc92ed60..326fc265e81 100755 --- a/scripts/ci/prek/check_imports_in_providers.py +++ b/scripts/ci/prek/check_imports_in_providers.py @@ -19,7 +19,7 @@ # requires-python = ">=3.10" # dependencies = [ # "rich>=13.6.0", -# "ruff==0.13.3", +# "ruff==0.14.0", # ] # /// from __future__ import annotations diff --git a/scripts/ci/prek/ruff_format.py b/scripts/ci/prek/ruff_format.py index 1b38de4f375..26f6925d044 100755 --- a/scripts/ci/prek/ruff_format.py +++ b/scripts/ci/prek/ruff_format.py @@ -18,7 +18,7 @@ # /// script # requires-python = ">=3.10" # dependencies = [ -# "ruff==0.13.3", +# "ruff==0.14.0", # ] # /// diff --git a/scripts/tools/setup_breeze b/scripts/tools/setup_breeze index 6821d8f3d49..961d5c4c30f 100755 --- a/scripts/tools/setup_breeze +++ b/scripts/tools/setup_breeze @@ -27,7 +27,7 @@ COLOR_YELLOW=$'\e[33m' COLOR_BLUE=$'\e[34m' COLOR_RESET=$'\e[0m' -UV_VERSION="0.8.22" +UV_VERSION="0.9.0" function manual_instructions() { echo
