Skip to content

Remove fab from preinstalled providers - #48457

Merged
potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/fab_optional
Apr 7, 2025
Merged

potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/fab_optional

Conversation

@vincbeck

@vincbeck vincbeck commented Mar 27, 2025 •

Copy link
Copy Markdown
Contributor

Remove fab from preinstalled providers.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@vincbeck

Copy link
Copy Markdown
Contributor Author

I dont think we can rely on tests to test whether fab needs to be preinstalled. As far as I know the CI image is built using sources, so fab is still in the image. @potiuk do you have any idea on how we could test that?

@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch from 2bc6fbb to d29333c Compare March 28, 2025 14:50
@potiuk

potiuk commented Mar 31, 2025

Copy link
Copy Markdown
Member

After #48223 it will be much more straightforward - you will be aable to easily see/test what breaks with uv

@vincbeck

Copy link
Copy Markdown
Contributor Author

After #48223 it will be much more straightforward - you will be aable to easily see/test what breaks with uv

Nice :)

@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch from d29333c to b9b8674 Compare April 2, 2025 13:15
@vincbeck vincbeck added the full tests needed We need to run full set of tests for this PR to merge label Apr 2, 2025
@vincbeck vincbeck closed this Apr 2, 2025
@vincbeck vincbeck reopened this Apr 2, 2025
@vincbeck

vincbeck commented Apr 2, 2025

Copy link
Copy Markdown
Contributor Author

Running all tests

@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch 3 times, most recently from e2e8e0b to e2fb668 Compare April 4, 2025 15:40
Comment thread .pre-commit-config.yaml
@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch from e2fb668 to da8d034 Compare April 4, 2025 16:44
@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch 9 times, most recently from 8001bd7 to 54ebe53 Compare April 7, 2025 16:34
@vincbeck
vincbeck force-pushed the vincbeck/fab_optional branch from 54ebe53 to d566117 Compare April 7, 2025 16:40
@vincbeck
vincbeck marked this pull request as ready for review April 7, 2025 17:27
@vincbeck

vincbeck commented Apr 7, 2025

Copy link
Copy Markdown
Contributor Author

All tests are passing 🎉

@potiuk
potiuk merged commit 139673d into apache:main Apr 7, 2025
simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
@ashb

ashb commented Apr 9, 2025 •

Copy link
Copy Markdown
Member

The move of serve_logs to FAB is not right @potiuk @vincbeck .

Serve logs is called automatically by the celery executor, which means that Celery worker now will not run without FAB installed.

Even worse, it's called in the same way by the triggerer.

FAB != Flask. Serve logs should not have been moved like this. Any chance either of you can fix this before we were hoping to cut the RC2 tomorrow?

potiuk added a commit to potiuk/airflow that referenced this pull request Apr 10, 2025
The `serve_logs` has been moved in apache#48457 to fab provider by mistake.
It should remain in the airflow-core. We still depend on flask
in the core (but as a next step we can replace it by starlette and
unicorn).

Fixes: apache#49028
potiuk added a commit to potiuk/airflow that referenced this pull request Apr 10, 2025
The `serve_logs` has been moved in apache#48457 to fab provider by mistake.
It should remain in the airflow-core. We still depend on flask
in the core (but as a next step we can replace it by starlette and
unicorn).

Fixes: apache#49028
potiuk added a commit to potiuk/airflow that referenced this pull request Apr 10, 2025
The `serve_logs` has been moved in apache#48457 to fab provider by mistake.
It should remain in the airflow-core. We still depend on flask
in the core (but as a next step we can replace it by starlette and
unicorn).

Fixes: apache#49028
kaxil pushed a commit to potiuk/airflow that referenced this pull request Apr 10, 2025
The `serve_logs` has been moved in apache#48457 to fab provider by mistake.
It should remain in the airflow-core. We still depend on flask
in the core (but as a next step we can replace it by starlette and
unicorn).

Fixes: apache#49028
kaxil added a commit that referenced this pull request Apr 10, 2025
The `serve_logs` has been moved in #48457 to fab provider by mistake.
It should remain in the airflow-core. We still depend on flask
in the core (but as a next step we can replace it by starlette and
unicorn).

Fixes: #49028

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@vincbeck
vincbeck deleted the vincbeck/fab_optional branch May 1, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants