hi all, I got this error for adding airflow ```m...
# troubleshooting
f
hi all, I got this error for adding airflow
Copy code
meltano add orchestrator airflow
Added orchestrator 'airflow' to your Meltano project
Variant:	apache (default)
Repository:	<https://github.com/apache/airflow>
Documentation:	<https://hub.meltano.com/orchestrators/airflow--apache>

Added required file bundle 'files-airflow' to your Meltano project
Variant:	meltano (default)
Repository:	<https://github.com/meltano/files-airflow>
Documentation:	<https://hub.meltano.com/files/files-airflow--meltano>

Installing orchestrator 'airflow'...
Installing file bundle 'files-airflow'...
Orchestrator 'airflow' could not be installed: failed to install plugin 'airflow'.
ERROR: 404 Client Error: Not Found for url: <https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-3.10.txt>

Installed file bundle 'files-airflow'
2023-02-24T16:06:17.827878Z [info     ] Adding 'files-airflow' files to project...
2023-02-24T16:06:17.828888Z [info     ] Created orchestrate/dags/meltano.py
Installed 1/2 plugins
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.

Failed to install plugin(s)
I have python 3.10 and manage a fix with this workaround and seems all is working but not sure if this is a correct way or if there is a better way to fix
Copy code
cd .meltano/orchestrators/airflow
 source venv/bin/activate

AIRFLOW_VERSION=2.5.1
PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
CONSTRAINT_URL="<https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt>"
pip install "apache-airflow[async,postgres,google]==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
thanks
Seems tied to this, I wonder if they forgot to push something out to the constraints files? I have no idea I'm not an airflow user!
f
thanks
v
why not just use python 3.9?
f
I realized this is the issue after 3.9 should be fine