Summary
Currently, the Airflow ruff rules do not fail on certain deprecated imports from airflow.utils for Airflow version 3.1.5. Ideally, the airflow deprecations ruff rules should trigger a failure for these deprecated class imports.
Worth noting: There are other similar __deprecated_classes dictionaries defined in the airflow-core submodules, which may also be worth filing issues for as needed. A good bit of them are already covered by the ruff rules, but I imagine many of these deprecations came about from Airflow 3.1, and those newer deprecations may need to be reflected in ruff accordingly.
Summary
Currently, the Airflow ruff rules do not fail on certain deprecated imports from
airflow.utilsfor Airflow version3.1.5. Ideally, the airflow deprecations ruff rules should trigger a failure for these deprecated class imports.Worth noting: There are other similar
__deprecated_classesdictionaries defined in the airflow-core submodules, which may also be worth filing issues for as needed. A good bit of them are already covered by the ruff rules, but I imagine many of these deprecations came about from Airflow3.1, and those newer deprecations may need to be reflected inruffaccordingly.