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](https://private-user-images.githubusercontent.com/35352082/295096927-7edcceba-086f-42fb-acd2-adf7b998fb46.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4MDk1ODQsIm5iZiI6MTcxMTgwOTI4NCwicGF0aCI6Ii8zNTM1MjA4Mi8yOTUwOTY5MjctN2VkY2NlYmEtMDg2Zi00MmZiLWFjZDItYWRmN2I5OThmYjQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzMwVDE0MzQ0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1NDZhMWE5MWQ0N2NmM2JmODE5M2RjNDY3ZDdmMzJkZjY4YTg0N2I4YjEwNmExMDhkYTlhZGMyZGU1ZjZmOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MYJkX5BmVZNkwt5k-_eofBYHfkz83W4zzsfxkqOtP3c)
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