GitHub
03/28/2025, 10:55 AMairflow.cfg issues
Issue created by dan4ikV
### Meltano Version
3.6.0
### Python Version
3.10
### Bug scope
CLI (options, error messages, logging, etc.)
### Operating System
No response
### Description
Meltano uses airflow --help to generate the airflow.cfg file when invoking airflow commands. However, as mentioned in apache/airflow#33951 discussion, this behavior was considered a bug in airflow and since version 2.7.0 the airflow --help command does not generate a config file anymore, and instead airflow config was introduced for that.
Meltano seems to attempt to generate the airflow.cfg using the airflow --help command on every airflow command invocation and, moreover, deletes the file afterwards. So even if we manually generate the airflow.cfg, it get's deleted on the first command invocation and all the subsequent commands fail with:
[Errno 2] No such file or directory: '/project/.meltano/run/airflow/airflow.cfg'
### Code
version: 1
plugins:
extractors:
- name: tap-postgres
variant: transferwise
pip_url: pipelinewise-tap-postgres
loaders:
- name: target-postgres
variant: transferwise
pip_url: pipelinewise-target-postgres
orchestrators:
- name: airflow
variant: apache
pip_url: apache-airflow-providers-postgres psycopg2==2.9.10 apache-airflow==2.10.5 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.10.5/constraints-3.10.txt
### Link to Slack/Linen
No response
meltano/meltanoGitHub
04/10/2025, 4:06 PMairflow.cfg issues
Issue closed as completed by edgarrmondragon
meltano/meltanoGitHub
04/10/2025, 6:37 PMGitHub
04/11/2025, 12:10 AMairflow.cfg issues
Issue closed as completed by edgarrmondragon
meltano/meltanoGitHub
04/11/2025, 12:10 AMairflow.cfg issues
Issue closed as completed by edgarrmondragon
meltano/meltano