Skip to content

Limit FastAPI version to <0.128.4#61579

Merged
bugraoz93 merged 1 commit intoapache:mainfrom
shahar1:limit-fastapi-version
Feb 7, 2026
Merged

Limit FastAPI version to <0.128.4#61579
bugraoz93 merged 1 commit intoapache:mainfrom
shahar1:limit-fastapi-version

Conversation

@shahar1
Copy link
Contributor

@shahar1 shahar1 commented Feb 7, 2026


Recent FastAPI release (0.128.4) breaks all of the system and integration tests.
Cadwyn seems incompatible with these change:

  File "/opt/airflow/airflow-core/src/airflow/utils/db_manager.py", line 169, in __init__
    from airflow.api_fastapi.app import create_auth_manager
  File "/opt/airflow/airflow-core/src/airflow/api_fastapi/app.py", line 36, in <module>
    from airflow.api_fastapi.execution_api.app import create_task_execution_api_app
  File "/opt/airflow/airflow-core/src/airflow/api_fastapi/execution_api/app.py", line 28, in <module>
    from cadwyn import (
  File "/usr/python/lib/python3.10/site-packages/cadwyn/__init__.py", line 3, in <module>
    from .applications import Cadwyn
  File "/usr/python/lib/python3.10/site-packages/cadwyn/applications.py", line 31, in <module>
    from cadwyn.changelogs import CadwynChangelogResource, _generate_changelog
  File "/usr/python/lib/python3.10/site-packages/cadwyn/changelogs.py", line 7, in <module>
    from fastapi._compat import (
ImportError: cannot import name 'get_compat_model_name_map' from 'fastapi._compat' (/usr/python/lib/python3.10/site-packages/fastapi/_compat/__init__.py)

Also, reported the issue in cadwyns's repo: zmievsa/cadwyn#326

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@shahar1 shahar1 added priority:critical Showstopper bug that should be patched immediately dependencies Pull requests that update a dependency file area:CI Airflow's tests and continious integration labels Feb 7, 2026
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Oh, cadwyn again? :-(

@jscheffl
Copy link
Contributor

jscheffl commented Feb 7, 2026

One error seems unrelated, LGTM!

@bugraoz93 bugraoz93 merged commit b3ead50 into apache:main Feb 7, 2026
99 of 100 checks passed
@shahar1 shahar1 deleted the limit-fastapi-version branch February 7, 2026 10:03
@shahar1 shahar1 added backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch and removed backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Feb 7, 2026
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
Ratasa143 pushed a commit to Ratasa143/airflow that referenced this pull request Feb 15, 2026
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
AkshayArali pushed a commit to AkshayArali/airflow_630 that referenced this pull request Feb 27, 2026
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Mar 15, 2026
radhwene pushed a commit to radhwene/airflow that referenced this pull request Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CI Airflow's tests and continious integration dependencies Pull requests that update a dependency file priority:critical Showstopper bug that should be patched immediately

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants