Skip to content

MWAA: Conflicting Dependancies

0

We're running MWAA 2.10.1 on a private network, so I had to package my Python packages in a plugin.zip, as well as the constraints, but we are seeing this error when attempting to install:

The conflict is caused by:
2024-12-05T05:31:45.786Z
The user requested apache-airflow-providers-slack==8.9.0
2024-12-05T05:31:45.792Z
The user requested (constraint) apache-airflow-providers-slack==8.9.0```

How does this make sense and how do we alleviate?
1 Answer
0

Hello,

I understand that you are installing some python dependencies on a MWAA environment having Airflow v2.10.1 running on a private network and facing the below dependency conflicts in the requirements install logs:

The conflict is caused by:

The user requested apache-airflow-providers-slack==8.9.0
The user requested (constraint) apache-airflow-providers-slack==8.9.0

Checking the constraints link from Github for Airflow v2.10.1, I could see that the v8.9.0 is the recommended version of the package 'apache-airflow-providers-slack' which should be compatible for installation. In the error message shared by you, both the statements seem to have the same package version which makes it unclear why are we seeing a conflict in this case.

Hence, I would request you to please reach out to AWS using a support case along with the following information so that we can assist you in a faster and better manner by helping you build a compatible version of requirements and plugins for your MWAA environment:

  1. Your MWAA environment’s ARN
  2. Latest requirements.txt file
  3. Latest plugins.zip and the approach used to build the same.
  4. Can you please confirm in which node’s (scheduler/worker/web server) requirement install logs, are you seeing the above conflict? Also, please share the complete and latest requirements install logs for the same.

Thank you!

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.