Skip to content

Add Celery extra in Breeze when using CeleryExecutor and --use-airflow - #34089

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:add-celery-extra-for-use-airflow
Sep 5, 2023
Merged

Add Celery extra in Breeze when using CeleryExecutor and --use-airflow#34089
potiuk merged 1 commit into
apache:mainfrom
potiuk:add-celery-extra-for-use-airflow

Conversation

@potiuk

Copy link
Copy Markdown
Member

When using --executor CeleryExecutor and --use-airflow in Airflow 2.7+ you need to also specify --airflow-extras celery to make it works. With this change --airflow-extras celery is added automatically when CeleryExecutor is used and when --use-airflow is specified (unless you manually specify your own extras.

This makes it easier to test RC releases with CeleryExecutor.


^ 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 newsfragments.

Comment threaddev/breeze/src/airflow_breeze/commands/developer_commands.py Outdated
When using `--executor CeleryExecutor` and `--use-airflow` in Airflow
2.7+ you need to also specify `--airflow-extras celery` to make it
works. With this change `--airflow-extras celery` is added
automatically when CeleryExecutor is used and when `--use-airflow`
is specified (unless you manually specify your own extras.
This makes it easier to test RC releases with CeleryExecutor.
@potiuk
potiukforce-pushed the add-celery-extra-for-use-airflow branch from 328b7c2 to cbb9bd0CompareSeptember 5, 2023 06:21
@potiuk
potiuk merged commit 920d641 into apache:mainSep 5, 2023
@potiuk
potiuk deleted the add-celery-extra-for-use-airflow branch September 5, 2023 10:09
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@potiuk@uranusjr@pankajkoti@utkarsharma2