lars
06/28/2021, 10:58 AM2.1.0 with meltano? I'm getting this dependency issue.casey
06/28/2021, 11:41 AMpip_url, but I couldn't get it to run properly.
pip_url: psycopg2 apache-airflow==2.1.0 --constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.1.0/constraints-3.7.txt>casey
06/28/2021, 11:43 AMpsycopg2 reference. This should be omitted if it doesn't apply to your case.charley_guillaume
06/28/2021, 1:08 PMdouwe_maan
06/28/2021, 1:54 PMpip_url Casey has shared, you shouldn’t see any dependency incompatibility issueslars
06/28/2021, 2:15 PMapache-airflow-providers-slack==2.0.0 into the airflow environment to have slack notifications for failures so that was the culprit of why I had dependency issues.douwe_maan
06/28/2021, 2:39 PMpip_url for airflow in meltano.yml instead should make sure it only makes it into the Airflow env, and not Meltano’s ownmonika_rajput
04/19/2022, 4:44 PMapache-airflow-providers-slack ,
I installed via this but it's not working.
- name: airflow
pip_url: apache-airflow-providers-slack==2.0.0 psycopg2 apache-airflow==2.1.2 --constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-${MELTANO__PYTHON_VERSION}.txt>
config:
webserver:
authenticate: true
rbac: true
auth_backend: airflow.contrib.auth.backends.password_authdouwe_maan
04/19/2022, 4:45 PMmonika_rajput
04/19/2022, 5:11 PMmonika_rajput
04/19/2022, 5:12 PMERROR: Cannot install apache-airflow-providers-slack==2.0.0 because these package versions have conflicting dependencies.douwe_maan
04/19/2022, 5:12 PMmonika_rajput
04/19/2022, 5:14 PMmonika_rajput
04/19/2022, 5:16 PMdouwe_maan
04/19/2022, 5:18 PMdouwe_maan
04/19/2022, 5:22 PMdouwe_maan
04/19/2022, 5:22 PMmonika_rajput
04/19/2022, 5:26 PMpip install apache-airflow-providers-slack==4.2.3 psycopg2 apache-airflow==2.1.2, it install the package successfully but in airflow UI giving No module named 'jinja2.debug'douwe_maan
04/19/2022, 5:27 PMdouwe_maan
04/19/2022, 5:28 PMedgar_ramirez_mondragon
04/19/2022, 5:29 PMapache-airflow-providers-slack==4.0.0 is in there and the message I'm seeing is
ERROR: Cannot install apache-airflow-providers-slack==2.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested apache-airflow-providers-slack==2.0.0
The user requested (constraint) apache-airflow-providers-slack==4.0.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit <https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts>monika_rajput
04/19/2022, 5:50 PMfrom airflow.operators.bash_operator import BashOperator
ModuleNotFoundError: No module named 'airflow.operators'douwe_maan
04/19/2022, 5:51 PMmonika_rajput
04/19/2022, 5:58 PM*from* airflow.operators.bash_operator *import* BashOperator
and add *from* airflow.operators.bash *import* BashOperator instead.
Thank you so much.
@douwe_maan , and thank you @edgar_ramirez_mondragon for sharing the version file that really helps me a lot.🙏