Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ repos:
require_serial: true
entry: zizmor
- repo: https://github.com/lycheeverse/lychee
rev: ed088a72e7773e24b3ed72a2c4323f594736aa39 # frozen: nightly
rev: 2bba271688c1abb1503097a064e6c3bc1d1b6a9b # frozen: lychee-lib-v0.24.2
hooks:
# Use the upstream `lychee-docker` variant rather than the script-based
# `lychee` hook because the prebuilt lychee binaries that the script
Expand Down Expand Up @@ -546,7 +546,7 @@ repos:
types_or: [python, pyi]
args: [--fix]
require_serial: true
additional_dependencies: ['ruff==0.15.15']
additional_dependencies: ['ruff==0.15.16']
exclude: ^airflow-core/tests/unit/dags/test_imports\.py$|^performance/tests/test_.*\.py$
- id: ruff-format
name: Run 'ruff format'
Expand Down
2 changes: 1 addition & 1 deletion airflow-core/docs/best-practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ Installing and Using ruff

.. code-block:: bash

pip install "ruff>=0.15.15"
pip install "ruff>=0.15.16"

2. **Running ruff**: Execute ``ruff`` to check your Dags for potential issues:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def _upload_k8s_image(python: str, kubernetes_version: str, output: Output | Non
# turn the scheduled K8s test job red. Auto-bumped by
# scripts/ci/prek/upgrade_important_versions.py.
K8S_TEST_IMAGES_TO_PRELOAD: tuple[str, ...] = (
"alpine:3.23.4", # xcom_sidecar default in providers/cncf/kubernetes
"alpine:3.24.0", # xcom_sidecar default in providers/cncf/kubernetes
"bitnamilegacy/postgresql:16.1.0-debian-11-r15", # chart/values.yaml postgresql subchart
"busybox:1.38.0", # busybox-based system tests in kubernetes-tests/
"ubuntu:24.04", # ubuntu-based system tests in kubernetes-tests/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3774,7 +3774,7 @@ def split_date_version_and_suffix(file_name: str, suffix: str) -> VersionedFile:
AIRFLOW_ROOT_PATH / "airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml"
)
TARGET_API_YAML_PATH = PYTHON_CLIENT_DIR_PATH / "v2.yaml"
OPENAPI_GENERATOR_CLI_VER = "7.22.0"
OPENAPI_GENERATOR_CLI_VER = "7.23.0"

GENERATED_CLIENT_DIRECTORIES_TO_COPY: list[Path] = [
Path("airflow_client") / "client",
Expand Down
18 changes: 9 additions & 9 deletions dev/breeze/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion devel-common/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"kgb>=7.2.0",
"requests_mock>=1.11.0",
"rich>=13.6.0",
"ruff==0.15.15",
"ruff==0.15.16",
"semver>=3.0.2",
"typer>=0.22.0",
"time-machine[dateutil]>=3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def test_pod_template_file(
},
{
"command": ["sh", "-c", 'trap "exit 0" INT; while true; do sleep 1; done;'],
"image": "alpine:3.23.4",
"image": "alpine:3.24.0",
"name": "airflow-xcom-sidecar",
"resources": {
"requests": {"cpu": "1m", "memory": "10Mi"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# does not re-pull on every task — protecting CI and disconnected
# deployments from Docker Hub anonymous-pull rate limits. Tracked by
# scripts/ci/prek/upgrade_important_versions.py.
XCOM_SIDECAR_IMAGE = "alpine:3.23.4"
XCOM_SIDECAR_IMAGE = "alpine:3.24.0"


class PodDefaults:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
# [START howto_operator_k8s_write_xcom]
write_xcom = KubernetesPodOperator(
namespace="default",
image="alpine:3.23.4",
image="alpine:3.24.0",
cmds=["sh", "-c", "mkdir -p /airflow/xcom/;echo '[1,2,3,4]' > /airflow/xcom/return.json"],
name="write-xcom",
do_xcom_push=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
write_xcom_async = KubernetesPodOperator(
task_id="kubernetes_write_xcom_task_async",
namespace="default",
image="alpine:3.23.4",
image="alpine:3.24.0",
cmds=["sh", "-c", "mkdir -p /airflow/xcom/;echo '[1,2,3,4]' > /airflow/xcom/return.json"],
name="write-xcom",
do_xcom_push=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def test_get_or_create_pod_reattach_with_evicted(
assert result == mock_pod_request_obj

def test_xcom_sidecar_container_image_custom(self):
image = "private.repo/alpine:3.23.4"
image = "private.repo/alpine:3.24.0"
with temp_override_attr(PodDefaults.SIDECAR_CONTAINER, "image", image):
k = KubernetesPodOperator(
name="test",
Expand All @@ -899,7 +899,7 @@ def test_xcom_sidecar_container_image_default(self):
do_xcom_push=True,
)
pod = k.build_pod_request_obj(create_context(k))
assert pod.spec.containers[1].image == "alpine:3.23.4"
assert pod.spec.containers[1].image == "alpine:3.24.0"

def test_xcom_sidecar_container_resources_default(self):
k = KubernetesPodOperator(
Expand Down Expand Up @@ -2954,7 +2954,7 @@ def test_async_xcom_sidecar_container_image_default_should_execute_successfully(
deferrable=True,
)
pod = k.build_pod_request_obj(create_context(k))
assert pod.spec.containers[1].image == "alpine:3.23.4"
assert pod.spec.containers[1].image == "alpine:3.24.0"

def test_async_xcom_sidecar_container_resources_default_should_execute_successfully(self):
k = KubernetesPodOperator(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import typing
from typing import cast

from jupyter_client import AsyncKernelManager
from jupyter_client import AsyncKernelManager, KernelConnectionInfo
from papermill.clientwrap import PapermillNotebookClient
from papermill.engines import NBClientEngine
from papermill.utils import merge_kwargs, remove_args
Expand Down Expand Up @@ -113,7 +113,7 @@ def client(self, **kwargs: typing.Any):
"""Create a client configured to connect to our kernel."""
kernel_client = super().client(**kwargs)
# load connection info to set session_key
config: dict[str, int | str | bytes] = dict(
config = KernelConnectionInfo(
ip=self.ip,
shell_port=self.shell_port,
iopub_port=self.iopub_port,
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/prek/check_imports_in_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# requires-python = ">=3.10,<3.11"
# dependencies = [
# "rich>=13.6.0",
# "ruff==0.15.15",
# "ruff==0.15.16",
# ]
# ///
from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/prek/ruff_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# /// script
# requires-python = ">=3.10,<3.11"
# dependencies = [
# "ruff==0.15.15",
# "ruff==0.15.16",
# ]
# ///

Expand Down
Loading
Loading