Replies: 1 comment 5 replies
-
You likely made a mistake by using wrong python version |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apache Airflow version
2.2.2
What happened
Hi, we are using the managed MWAA 2.2.2 version of Airflow. We have set up our requirements installation to use the constraints file from here
When we try adding flake8 to our local requirements setup (using the same constraint file), we are getting a conflicting dependency issue and package is not installed.
More specifically:
This is happening, because the linked constraints file is explicitly using
flake8==3.9.2
and at the same timepycodestyle==2.8.0
versions. However flake8 3.9.2 is not compatible with 2.8.0 version of pycodestyle according to the error above.What you think should happen instead
The dependencies referenced in the constraints should be installable without any conflicts
How to reproduce
example requirements.txt file
Then just run:
pip install -r requirements.txt
Operating System
Ubuntu 20.04.4 LTS
Versions of Apache Airflow Providers
Deployment
MWAA
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions