Clean up stale Python 3.9 workaround in airflow-ctl CLI config parser#62206
Merged
bugraoz93 merged 2 commits intoFeb 26, 2026
Merged
Conversation
Contributor
|
Thanks for the PR! We are going to release a new version today. This will be included in the next release, so I will review it in the coming days. Let's see the integration tests. Added tag to fully test |
Contributor
Author
Sounds good! |
Contributor
Author
|
@bugraoz93 Hey, any update on this? |
bugraoz93
approved these changes
Feb 25, 2026
bugraoz93
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me :) Thanks for the PR!
Contributor
Author
|
@bugraoz93 Will this be merged in the next release? |
Contributor
|
No, just taking time for others to check too, we can merge soon |
Contributor
|
It will be released in the next cycle that's true, that doesn't mean we won't merge it |
AkshayArali
pushed a commit
to AkshayArali/airflow_630
that referenced
this pull request
Feb 28, 2026
18 tasks
dominikhei
pushed a commit
to dominikhei/airflow
that referenced
this pull request
Mar 11, 2026
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
airflow-ctlCLI config parser had a workaround for Python 3.9 that used string splitting (split("|")) to parse union return type annotations.Now that Python 3.9 is no longer supported, this replaces it with a
_union_members()helper that walks the AST directly usingast.BinOp(|) nodes instead.