diff --git a/.github/actions/install-pre-commit/action.yml b/.github/actions/install-pre-commit/action.yml index e053e8e90571c..9f4b091fddcea 100644 --- a/.github/actions/install-pre-commit/action.yml +++ b/.github/actions/install-pre-commit/action.yml @@ -24,7 +24,7 @@ inputs: default: "3.9" uv-version: description: 'uv version to use' - default: "0.7.14" # Keep this comment to allow automatic replacement of uv version + default: "0.7.16" # Keep this comment to allow automatic replacement of uv version pre-commit-version: description: 'pre-commit version to use' default: "4.2.0" # Keep this comment to allow automatic replacement of pre-commit version diff --git a/.github/workflows/ci-amd.yml b/.github/workflows/ci-amd.yml index 6010123c9944f..e1e12ab5df048 100644 --- a/.github/workflows/ci-amd.yml +++ b/.github/workflows/ci-amd.yml @@ -186,7 +186,7 @@ jobs: - name: Install pre-commit, uv, and pre-commit-uv shell: bash env: - UV_VERSION: "0.7.14" # Keep this comment to allow automatic replacement of uv version + UV_VERSION: "0.7.16" # Keep this comment to allow automatic replacement of uv version PRE_COMMIT_VERSION: "4.2.0" # Keep this comment to allow automatic replacement of pre-commit version PRE_COMMIT_UV_VERSION: "4.1.4" # Keep this comment to allow automatic replacement of pre-commit-uv version run: | diff --git a/Dockerfile b/Dockerfile index fbd99bc867906..77a8d681a08d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ ARG PYTHON_BASE_IMAGE="python:3.9-slim-bookworm" ARG AIRFLOW_PIP_VERSION=25.1.1 # ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main" ARG AIRFLOW_SETUPTOOLS_VERSION=80.9.0 -ARG AIRFLOW_UV_VERSION=0.7.14 +ARG AIRFLOW_UV_VERSION=0.7.16 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 beebd98f788ae..017ec20ed33c8 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1389,7 +1389,7 @@ COPY --from=scripts common.sh install_packaging_tools.sh install_additional_depe ARG AIRFLOW_PIP_VERSION=25.1.1 # ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main" ARG AIRFLOW_SETUPTOOLS_VERSION=80.9.0 -ARG AIRFLOW_UV_VERSION=0.7.14 +ARG AIRFLOW_UV_VERSION=0.7.16 # TODO(potiuk): automate with upgrade check (possibly) ARG AIRFLOW_PRE_COMMIT_VERSION="4.2.0" ARG AIRFLOW_PRE_COMMIT_UV_VERSION="4.1.4" diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md index 52fa5cacf83ea..00007ded26e71 100644 --- a/dev/breeze/doc/ci/02_images.md +++ b/dev/breeze/doc/ci/02_images.md @@ -443,7 +443,7 @@ 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.1.1` | `pip` version used. | -| `AIRFLOW_UV_VERSION` | `0.7.14` | `uv` version used. | +| `AIRFLOW_UV_VERSION` | `0.7.16` | `uv` version used. | | `AIRFLOW_PRE_COMMIT_VERSION` | `4.2.0` | `pre-commit` version used. | | `AIRFLOW_PRE_COMMIT_UV_VERSION` | `4.1.4` | `pre-commit-uv` version used. | | `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. | diff --git a/dev/breeze/doc/images/output_run.svg b/dev/breeze/doc/images/output_run.svg index b672a174b29e0..8e7da71af39ac 100644 --- a/dev/breeze/doc/images/output_run.svg +++ b/dev/breeze/doc/images/output_run.svg @@ -195,8 +195,8 @@ Run a command in the Breeze environment without entering the interactive shell. ╭─ Command execution ──────────────────────────────────────────────────────────────────────────────────────────────────╮ ---python-pPython major/minor version used in Airflow image for images.(>3.10< | 3.11 | 3.12) -[default: 3.10]                                              +--python-pPython major/minor version used in Airflow image for images.(>3.9< | 3.10 | 3.11 | 3.12) +[default: 3.9]                                               --backend-bDatabase backend to use. If 'none' is chosen, Breeze will start with an invalid database     configuration, meaning there will be no database available, and any attempts to connect to   the Airflow database will fail.                                                              diff --git a/dev/breeze/doc/images/output_run.txt b/dev/breeze/doc/images/output_run.txt index 53c445f3e151b..2c98fd3c1007d 100644 --- a/dev/breeze/doc/images/output_run.txt +++ b/dev/breeze/doc/images/output_run.txt @@ -1 +1 @@ -820a829e6ae777a8625862d010f8e693 +d7a9f3a14b884f18599a186f129f976f 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 603ec7a59ff82..cad99a3b27129 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -241,7 +241,7 @@ class VersionedFile(NamedTuple): AIRFLOW_PIP_VERSION = "25.1.1" -AIRFLOW_UV_VERSION = "0.7.14" +AIRFLOW_UV_VERSION = "0.7.16" AIRFLOW_USE_UV = False # TODO(potiuk): automate upgrades of these versions (likely via requirements.txt file) GITPYTHON_VERSION = "3.1.44" diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index a81d7cae2e2f8..e1536bdc87325 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -194,7 +194,7 @@ ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"] PIP_VERSION = "25.1.1" -UV_VERSION = "0.7.14" +UV_VERSION = "0.7.16" DEFAULT_UV_HTTP_TIMEOUT = 300 DEFAULT_WSL2_HTTP_TIMEOUT = 900 diff --git a/pyproject.toml b/pyproject.toml index 50c98e6204bfa..9fcc74168c36b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ requires = [ "pluggy==1.5.0", "smmap==5.0.2", "tomli==2.2.1; python_version < '3.11'", - "trove-classifiers==2025.4.11.15", + "trove-classifiers==2025.5.9.12", ] build-backend = "hatchling.build" @@ -518,7 +518,7 @@ packages = [] "apache-airflow-providers-amazon[s3fs]", ] "uv" = [ - "uv>=0.7.8", + "uv>=0.7.16", ] diff --git a/scripts/ci/install_breeze.sh b/scripts/ci/install_breeze.sh index d2ef488d1cca1..1743f549be8f6 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.1.1" -UV_VERSION="0.7.14" +UV_VERSION="0.7.16" if [[ ${PYTHON_VERSION=} != "" ]]; then PYTHON_ARG="--python=$(which python"${PYTHON_VERSION}") " fi diff --git a/scripts/tools/setup_breeze b/scripts/tools/setup_breeze index a7358f2a3315b..bb795c4672356 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.7.8" +UV_VERSION="0.7.16" function manual_instructions() { echo