-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Meltano stops working with Airflow 2.7.0 #45
Comments
@sswander are you using Airflow as an Either way, the bug is still a bug since the Airflow extension which runs as a utility has the same behavior. https://github.com/meltano/airflow-ext/blob/main/airflow_ext/wrapper.py#L132 |
FYI @pnadolny13. When we upgrade the version of Airflow in this extension we'll need to make this fix. |
@tayloramurphy thanks for checking this! We're using it as And to change it to |
@sswander it was mainly to help with code maintainability as the To migrate you would have to uninstall the orchestrator and install the utility. I think there would be a way to migrate it but I think @edgarrmondragon or @pnadolny13 would know better. |
Thanks @tayloramurphy , this is valuable info 🙏 |
Meltano Version
2.19.0
Python Version
3.10
Bug scope
Configuration (settings parsing, validation, etc.)
Operating System
macOS Ventura
13.5.1 (22G90)
Description
Airflow 2.6.3 had some vulnerability issues that was fixed in 2.7.0, so we attempted to upgrade Meltano to use this version by setting
apache-airflow==2.7.0
in thepip_url
Afterwards, setting logging to debug and calling
meltano install
followed bymeltano invoke airflow --help
returns this errorDebugging
https://github.com/meltano/meltano/blob/e4bdaedab02462e9e19a1bf063cbce26bc3c7581/src/meltano/core/plugin/airflow.py#L114-L116
This code seems to run
airflow --help
to generateairflow.cfg
. Since 2.7.0,airflow --help
no longer createsairflow.cfg
file. This is an intended change and the previous behaviour was accidental. See apache/airflow#33951 (reply in thread)The suggested fix is to use
airflow config list --defaults
to intentionally createairflow.cfg
https://airflow.apache.org/docs/apache-airflow/stable/howto/set-config.htmlCode
No response
The text was updated successfully, but these errors were encountered: