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
2 changes: 1 addition & 1 deletion .github/actions/breeze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
default: "3.10"
uv-version:
description: 'uv version to use'
default: "0.9.28" # Keep this comment to allow automatic replacement of uv version
default: "0.9.29" # Keep this comment to allow automatic replacement of uv version
outputs:
host-python-version:
description: Python version used in host
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-prek/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
default: "3.10"
uv-version:
description: 'uv version to use'
default: "0.9.28" # Keep this comment to allow automatic replacement of uv version
default: "0.9.29" # Keep this comment to allow automatic replacement of uv version
prek-version:
description: 'prek version to use'
default: "0.3.1" # Keep this comment to allow automatic replacement of prek version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ on: # yamllint disable-line rule:truthy
type: string
uv-version:
description: 'uv version to use'
default: "0.9.28" # Keep this comment to allow automatic replacement of uv version
default: "0.9.29" # Keep this comment to allow automatic replacement of uv version
type: string
platform:
description: 'Platform for the build - linux/amd64 or linux/arm64'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_dockerhub_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.28" # Keep this comment to allow automatic replacement of uv version
UV_VERSION: "0.9.29" # Keep this comment to allow automatic replacement of uv version
if: contains(fromJSON('[
"ashb",
"bugraoz93",
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ repos:
types_or: [python, pyi]
args: [--fix]
require_serial: true
additional_dependencies: ['ruff==0.14.14']
additional_dependencies: ['ruff==0.15.0']
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ARG PYTHON_LTO="true"
# Also use `force pip` label on your PR to swap all places we use `uv` to `pip`
ARG AIRFLOW_PIP_VERSION=26.0
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
ARG AIRFLOW_UV_VERSION=0.9.28
ARG AIRFLOW_UV_VERSION=0.9.29
ARG AIRFLOW_USE_UV="false"
ARG UV_HTTP_TIMEOUT="300"
ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,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=26.0
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
ARG AIRFLOW_UV_VERSION=0.9.28
ARG AIRFLOW_UV_VERSION=0.9.29
ARG AIRFLOW_PREK_VERSION="0.3.1"

# UV_LINK_MODE=copy is needed since we are using cache mounted from the host
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 @@ -310,7 +310,7 @@ Installing and Using ruff

.. code-block:: bash

pip install "ruff>=0.14.14"
pip install "ruff>=0.15.0"

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

Expand Down
6 changes: 4 additions & 2 deletions airflow-core/src/airflow/cli/cli_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,10 @@ def string_lower_type(val):
ARG_DB_TABLES = Arg(
("-t", "--tables"),
help=lazy_object_proxy.Proxy(
lambda: f"Table names to perform maintenance on (use comma-separated list).\n"
f"Options: {import_string('airflow.cli.commands.db_command.all_tables')}"
lambda: (
f"Table names to perform maintenance on (use comma-separated list).\n"
f"Options: {import_string('airflow.cli.commands.db_command.all_tables')}"
)
),
type=string_list_type,
)
Expand Down
5 changes: 3 additions & 2 deletions airflow-core/tests/unit/cli/commands/test_config_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,9 @@ def test_lint_with_invalid_section_option(self, stdout_capture):
def test_lint_detects_multiple_issues(self, stdout_capture):
with mock.patch(
"airflow.configuration.conf.has_option",
side_effect=lambda section, option, lookup_from_deprecated: option
in ["check_slas", "strict_dataset_uri_validation"],
side_effect=lambda section, option, lookup_from_deprecated: (
option in ["check_slas", "strict_dataset_uri_validation"]
),
):
with stdout_capture as temp_stdout:
config_command.lint_config(cli_parser.get_parser().parse_args(["config", "lint"]))
Expand Down
22 changes: 11 additions & 11 deletions airflow-core/tests/unit/utils/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,23 +128,23 @@ def test_database_schema_and_sqlalchemy_model_are_in_sync(self, initialized_db):
# known diffs to ignore
ignores = [
# ignore tables created by celery
lambda t: (t[0] == "remove_table" and t[1].name == "celery_taskmeta"),
lambda t: (t[0] == "remove_table" and t[1].name == "celery_tasksetmeta"),
lambda t: t[0] == "remove_table" and t[1].name == "celery_taskmeta",
lambda t: t[0] == "remove_table" and t[1].name == "celery_tasksetmeta",
# ignore indices created by celery
lambda t: (t[0] == "remove_index" and t[1].name == "task_id"),
lambda t: (t[0] == "remove_index" and t[1].name == "taskset_id"),
lambda t: t[0] == "remove_index" and t[1].name == "task_id",
lambda t: t[0] == "remove_index" and t[1].name == "taskset_id",
# from test_security unit test
lambda t: (t[0] == "remove_table" and t[1].name == "some_model"),
lambda t: t[0] == "remove_table" and t[1].name == "some_model",
# Ignore flask-session table/index
lambda t: (t[0] == "remove_table" and t[1].name == "session"),
lambda t: (t[0] == "remove_index" and t[1].name == "session_id"),
lambda t: (t[0] == "remove_index" and t[1].name == "session_session_id_uq"),
lambda t: t[0] == "remove_table" and t[1].name == "session",
lambda t: t[0] == "remove_index" and t[1].name == "session_id",
lambda t: t[0] == "remove_index" and t[1].name == "session_session_id_uq",
# sqlite sequence is used for autoincrementing columns created with `sqlite_autoincrement` option
lambda t: (t[0] == "remove_table" and t[1].name == "sqlite_sequence"),
lambda t: t[0] == "remove_table" and t[1].name == "sqlite_sequence",
# fab version table
lambda t: (t[0] == "remove_table" and t[1].name == "alembic_version_fab"),
lambda t: t[0] == "remove_table" and t[1].name == "alembic_version_fab",
# Ignore _xcom_archive table
lambda t: (t[0] == "remove_table" and t[1].name == "_xcom_archive"),
lambda t: t[0] == "remove_table" and t[1].name == "_xcom_archive",
]

if skip_fab:
Expand Down
2 changes: 1 addition & 1 deletion dev/breeze/doc/ci/02_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | `26.0` | `pip` version used. |
| `AIRFLOW_UV_VERSION` | `0.9.28` | `uv` version used. |
| `AIRFLOW_UV_VERSION` | `0.9.29` | `uv` version used. |
| `AIRFLOW_PREK_VERSION` | `0.3.1` | `prek` version used. |
| `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. |
| `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class VersionedFile(NamedTuple):


AIRFLOW_PIP_VERSION = "26.0"
AIRFLOW_UV_VERSION = "0.9.28"
AIRFLOW_UV_VERSION = "0.9.29"
AIRFLOW_USE_UV = False
GITPYTHON_VERSION = "3.1.46"
RICH_VERSION = "14.3.2"
Expand Down
2 changes: 1 addition & 1 deletion dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb"]

PIP_VERSION = "26.0"
UV_VERSION = "0.9.28"
UV_VERSION = "0.9.29"

DEFAULT_UV_HTTP_TIMEOUT = 300
DEFAULT_WSL2_HTTP_TIMEOUT = 900
Expand Down
Loading
Loading