You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2025/09/18 23:02:22 UTC
(airflow) 04/04: Bump `uv` to `0.8.18` and `ruff` to `0.13.1` (#55858)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit b3e2ec8d572207766fd26568bb97eb5c7f1486c1
Author: Kaxil Naik <ka...@apache.org>
AuthorDate: Thu Sep 18 23:46:13 2025 +0100
Bump `uv` to `0.8.18` and `ruff` to `0.13.1` (#55858)
New versions: https://github.com/apache/airflow/actions/runs/17840293464/job/50727976145
(cherry picked from commit 77dc1a1b1c923c104ba94ab351863279c4693261)
---
.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 | 2 +-
airflow-core/docs/best-practices.rst | 2 +-
airflow-core/docs/installation/upgrading_to_airflow3.rst | 2 +-
dev/breeze/doc/ci/02_images.md | 2 +-
dev/breeze/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/tools/setup_breeze | 2 +-
15 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/.github/actions/install-prek/action.yml b/.github/actions/install-prek/action.yml
index 5926e0a60b0..64b7f269459 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.17" # Keep this comment to allow automatic replacement of uv version
+ default: "0.8.18" # Keep this comment to allow automatic replacement of uv version
prek-version:
description: 'prek version to use'
default: "0.2.1" # 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 cb3600a70b7..196d0dad701 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.17" # Keep this comment to allow automatic replacement of uv version
+ default: "0.8.18" # 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 b7e381b4ffd..56a139de03b 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.17" # Keep this comment to allow automatic replacement of uv version
+ UV_VERSION: "0.8.18" # 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 4f008939a76..dbe5524c449 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.0']
+ additional_dependencies: ['ruff==0.13.1']
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 113bed816e7..e0f39c42189 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.17
+ARG AIRFLOW_UV_VERSION=0.8.18
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 7a359b344b4..17e519d6b9e 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1655,7 +1655,7 @@ 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.17
+ARG AIRFLOW_UV_VERSION=0.8.18
ARG AIRFLOW_PREK_VERSION="0.2.1"
# UV_LINK_MODE=copy is needed since we are using cache mounted from the host
diff --git a/airflow-core/docs/best-practices.rst b/airflow-core/docs/best-practices.rst
index 8d8f290649b..a71b86aa00d 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.0"
+ pip install "ruff>=0.13.1"
2. **Running ruff**: Execute ``ruff`` to check your Dags for potential issues:
diff --git a/airflow-core/docs/installation/upgrading_to_airflow3.rst b/airflow-core/docs/installation/upgrading_to_airflow3.rst
index 4a9f8a8209c..57fd939ac8d 100644
--- a/airflow-core/docs/installation/upgrading_to_airflow3.rst
+++ b/airflow-core/docs/installation/upgrading_to_airflow3.rst
@@ -89,7 +89,7 @@ Step 3: Dag authors - Check your Airflow Dags for compatibility
To minimize friction for users upgrading from prior versions of Airflow, we have created a Dag upgrade check utility using `Ruff <https://docs.astral.sh/ruff/>`_ combined with `AIR <https://docs.astral.sh/ruff/rules/#airflow-air>`_ rules.
The rules AIR301 and AIR302 indicate breaking changes in Airflow 3, while AIR311 and AIR312 highlight changes that are not currently breaking but are strongly recommended for updates.
-The latest available ``ruff`` version will have the most up-to-date rules, but be sure to use at least version ``0.13.0``. The below example demonstrates how to check
+The latest available ``ruff`` version will have the most up-to-date rules, but be sure to use at least version ``0.13.1``. The below example demonstrates how to check
for Dag incompatibilities that will need to be fixed before they will work as expected on Airflow 3.
.. code-block:: bash
diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md
index cb05c2a1956..e3c73848ae5 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.2` | `pip` version used. |
-| `AIRFLOW_UV_VERSION` | `0.8.17` | `uv` version used. |
+| `AIRFLOW_UV_VERSION` | `0.8.18` | `uv` version used. |
| `AIRFLOW_PREK_VERSION` | `0.2.1` | `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 088d6ea38c3..50e7860b4b3 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.17"
+AIRFLOW_UV_VERSION = "0.8.18"
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 8d688366aa5..157ee505eb4 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.17"
+UV_VERSION = "0.8.18"
DEFAULT_UV_HTTP_TIMEOUT = 300
DEFAULT_WSL2_HTTP_TIMEOUT = 900
diff --git a/devel-common/pyproject.toml b/devel-common/pyproject.toml
index 8ad2311ea6d..470a7f78140 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.0",
+ "ruff==0.13.1",
"semver>=3.0.2",
"time-machine>=2.15.0",
"wheel>=0.42.0",
diff --git a/pyproject.toml b/pyproject.toml
index da8385f0f36..9b62c8a86e8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -535,7 +535,7 @@ packages = []
"apache-airflow-providers-amazon[s3fs]",
]
"uv" = [
- "uv>=0.8.17",
+ "uv>=0.8.18",
]
diff --git a/scripts/ci/install_breeze.sh b/scripts/ci/install_breeze.sh
index 10098ed7a71..44ceade660a 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.17"
+UV_VERSION="0.8.18"
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 6edd6fee08a..47fdefad431 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.17"
+UV_VERSION="0.8.18"
function manual_instructions() {
echo