Skip to content

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

Merged
potiuk merged 1 commit into
drop-py310/3-compat-shimsfrom
drop-py310/4-ruff-core-sdk
Oct 6, 2026
Merged

potiuk merged 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 force-pushed the drop-py310/4-ruff-core-sdk branch from 6f22bf4 to 0ddbca1 Compare October 3, 2026 20:05
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 0ddbca1 to 0cbcbd7 Compare October 4, 2026 17:53
@shahar1 shahar1 added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label Oct 4, 2026
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 0cbcbd7 to 75482f4 Compare October 4, 2026 18:57
@potiuk
potiuk force-pushed the drop-py310/4-ruff-core-sdk branch from 75482f4 to 36cfc7f Compare October 4, 2026 23:43
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 36cfc7f to 0f51ddb Compare October 5, 2026 19:12
@potiuk
potiuk force-pushed the drop-py310/4-ruff-core-sdk branch from 0f51ddb to 9fbe21a Compare October 5, 2026 21:57

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Purely mechanical UP017/UP035 output; TypeIs correctly stays on typing_extensions since it's 3.13+.


Drafted-by: Claude Code (Opus 5.5); reviewed by @potiuk before posting

@potiuk
potiuk force-pushed the drop-py310/4-ruff-core-sdk branch from 9fbe21a to 013834e Compare October 5, 2026 23:04
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch from 013834e to d1adfa6 Compare October 6, 2026 02:34
@shahar1 shahar1 added the backport-to-v3-4-test Backport to v3-4-test label Oct 6, 2026
@shahar1 shahar1 added this to the Airflow 3.4.0 milestone Oct 6, 2026
@shahar1
shahar1 force-pushed the drop-py310/4-ruff-core-sdk branch 2 times, most recently from 2ae3248 to 9648292 Compare October 6, 2026 03:15
@potiuk potiuk removed the backport-to-v3-4-test Backport to v3-4-test label Oct 6, 2026
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.
@potiuk
potiuk force-pushed the drop-py310/4-ruff-core-sdk branch from 9648292 to 27d0e2a Compare October 6, 2026 16:30
@potiuk
potiuk merged commit 30826e6 into main Oct 6, 2026
188 of 199 checks passed
@potiuk
potiuk deleted the drop-py310/4-ruff-core-sdk branch October 6, 2026 21:21
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 ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants