[Bug] Protobuf upgrade breaks MWAA #11222
Labels
bug
Something isn't working
dependency_conflicts
Python dependencies that are too narrow or in conflict
triage
Is this a new bug in dbt-core?
Current Behavior
All versions of dbt-core is not installable in amazon MWAA after pr #10969 was merged.
Reason is that MWAA enforces airflow constraints https://raw.githubusercontent.com/apache/airflow/constraints-2.10.3/constraints-3.11.txt which specifies only a single version of protobuf==4.25.5
Even one step newer airflow 2.10.4 and with python 3.12 still only have that specific version.
This means dbt-core can not install on MWAA.
Expected Behavior
dbt-core (or any adapter using it) should not require such high version of protobuf and at a minimum require only the version that airflow has as constraints.
Steps To Reproduce
Try to install dbt-core (or dbt-snowflake) with the following at the top of requirements.txt file:
--constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.10.3/constraints-3.11.txt
Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: