Support Python 3.13 in fab provider#62924
Conversation
potiuk
left a comment
There was a problem hiding this comment.
We need to adapt FAB to 5.2.0, keep == for all versions and transplant changes from Fab security manager to our override.py.
0ccadb9 to
81de7fc
Compare
0b2492f to
e16e41d
Compare
|
@potiuk CI is green. Please see if this iteration is acceptable. |
potiuk
left a comment
There was a problem hiding this comment.
Love it !!!! Fantastic idea with adding tests for FAB alignment ! Kudos!
Backport failed to create: v3-1-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 7003773 v3-1-testThis should apply the commit to the v3-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
|
protm |
Remove FAB Provider Python 3.13 Exclusions
Purpose
Flask AppBuilder (FAB) has recently released a new version with Python 3.13 support.
This PR removes all conditional dependencies, version guards, and CI workarounds that previously excluded the FAB provider from Python 3.13 environments.
What changed
excluded-python-versions: ["3.13"]fromproviders/fab/provider.yamlandgenerated/provider_dependencies.jsonpyproject.tomlrequires-pythonfrom>=3.10,!=3.13to>=3.10, added 3.13 classifier, removed; python_version < '3.13'markers from all dependenciespyproject.tomlfilespyproject.toml,airflow-core, and thegoogle,databricks, andamazonproviders_PY313special-case branch incore_api/app.pythat silently swallowed FAB import errors on 3.13PY313skip guards and deadskip_fabcode intest_db.py; updatedtest_selective_checks.pyexpectation to empty excluded-providers dictDEFAULT_PYTHON_MAJOR_MINOR_VERSION_FOR_IMAGESto the standard default (was pinned to 3.12 due to FAB)docs/index.rstfor FAB, Google, Databricks, and Amazon providersExpected outcome
pip install apache-airflow[fab]no longer silently skips FAB on Python 3.13.closes: #52509
Closes: #52663
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 4.6 following the guidelines
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.