Skip to content

Apply ruff Python 3.11 fixes to core, Task SDK, shared and airflowctl - #74154

Open
shahar1 wants to merge 1 commit into
drop-py310/3-compat-shimsfrom
drop-py310/4-ruff-core-sdk
Open

shahar1 wants to merge 1 commit into
drop-py310/3-compat-shimsfrom
drop-py310/4-ruff-core-sdk

Conversation

@shahar1

@shahar1 shahar1 commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

As titled - this PR applies ruff Python 3.11 fixes to core, task sdk, shared and airflowctl.

@boring-cyborg boring-cyborg Bot added area:airflow-ctl area:API Airflow's REST/HTTP API area:coordinator Coordinator: The interface to spawn Lang-SDK subprocesses area:DAG-processing area:db-migrations PRs with DB migration area:deadline-alerts AIP-86 (former AIP-57) area:logging area:scheduler area:task-sdk area:Triggerer labels Oct 3, 2026
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from eda55b8 to 0a88f7b Compare October 3, 2026 13:07
@shahar1
shahar1 added this pull request to stack #74160 October 3, 2026 13:08
@shahar1 shahar1 mentioned this pull request Oct 3, 2026
1 task done
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 0a88f7b to 6ca6486 Compare October 3, 2026 13:38
@shahar1
shahar1 marked this pull request as ready for review October 3, 2026 13:53
@shahar1

shahar1 commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Part of the Python 3.10 drop tracked in #74148.


Drafted-by: Claude Code (Opus 5.5) (no human review before posting)

@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 6ca6486 to 6f22bf4 Compare October 3, 2026 15:00
Output of ruff --fix with the py311 target for airflow-core, task-sdk,
shared, airflow-ctl and devel-common: timezone.utc becomes
datetime.UTC and typing_extensions imports move to typing. No
behaviour change. Landing these before the requires-python bump keeps
lint green at every layer, because ruff infers its target from the
nearest pyproject.toml.
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 6f22bf4 to 0ddbca1 Compare October 3, 2026 20:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:API Airflow's REST/HTTP API area:coordinator Coordinator: The interface to spawn Lang-SDK subprocesses area:DAG-processing area:db-migrations PRs with DB migration area:deadline-alerts AIP-86 (former AIP-57) area:logging area:scheduler area:task-sdk area:Triggerer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants