[CT-654] Can not install DBT with airflow because of MarkupSafe dependency #5258
Labels
bug
Something isn't working
dependencies
Changes to the version of dbt dependencies
duplicate
This issue or pull request already exists
Is there an existing issue for this?
Current Behavior
I tried to use pip install -r requirements.txt -c constraints.txt. It keeps failing to install.
My constrains.txt looks like below
MarkupSafe>=0.23,<=2.1
apache-airflow==2.1.1
Cannot install -r requirements.txt (line 32), apache-airflow==2.1.1 and dbt-core because these package versions have conflicting dependencies.
The conflict is caused by:
dbt-core 1.0.4 depends on MarkupSafe==2.0.1
jinja2 2.11.3 depends on MarkupSafe>=0.23
apache-airflow 2.1.1 depends on markupsafe<2.0 and >=1.1.1
The user requested (constraint) markupsafe<=2.1,>=0.23
The text was updated successfully, but these errors were encountered: