aws / aws-mwaa-local-runner

This repository provides a command line interface (CLI) utility that replicates an Amazon Managed Workflows for Apache Airflow (MWAA) environment locally.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MWAA 2.7.2 - Loosen apache-airflow-providers-google in constraints.txt

marlena-hammond opened this issue · comments

A bug was introduced into apache-airflow-providers-google==10.9.0. Can someone edit the constraints.txt to accept older versions of apache-airflow-providers-google like 10.8.0?

For local airflow, it is easy to remove the constraint command from the requirements.txt and edit the local ../docker/config/constraints.txt file. But, for MWAA 2.7.2 even if the requirements.txt references apache-airflow-providers-google==10.8.0 the constraints.txt is causing a conflict.

Screenshot 2024-01-08 at 8 03 24 PM

Edit constraints.txt line 131 apache-airflow-providers-google==10.9.0 to apache-airflow-providers-google<=10.9.0

used a custom constraints file and put the constraints file in the dag folder. Added --constraint "/usr/local/airflow/dags/constraints.txt" to the top of the requirements.txt