Change8

Migrating to Ruff 0.14.3

Version 0.14.3 introduces 1 breaking change. This guide details how to update your code.

Released: 10/31/2025

1
Breaking Changes
2
Migration Steps
18
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

--output-format flag--watch flagpydoclint rule DOC501pydoclint rule DOC502pyflakes rule F401pylint rule PLR1708ruff rule RUF065airflow.models.Paramairflow.DAG.create_dagrunrefurb rule FURB157ISC001 ruleflake8-django rule DJ001flake8-pyi rule PYI034flake8-type-checking rule TC003pyflakes rule F821pyupgrade rule UP046pyupgrade rule UP047Server pull‑diagnostics handling

Breaking Changes

Issue #1

The Airflow API `airflow.DAG.create_dagrun` has been removed (rule AIR301). Code that calls this method will raise an AttributeError. Update your code to use the new Airflow DAG execution API (e.g., `airflow.DAG.run` or the recommended replacement) to restore functionality.

Migration Steps

  1. 1
    Replace any usage of `airflow.DAG.create_dagrun` with the new Airflow DAG execution method (e.g., `airflow.DAG.run` or the recommended alternative).
  2. 2
    Review your configuration if you rely on the previous behavior of `--output-format` with `--watch`; the new handling may affect output formatting.

Release Summary

Ruff 0.14.3 introduces several preview features such as `--output-format` support with `--watch` and new eager conversion patterns, fixes numerous false‑positive bugs, and adds a breaking change by removing the Airflow `DAG.create_dagrun` API.

Need More Details?

View the full release notes and all changes for Ruff 0.14.3.

View Full Changelog