duo-labs / cloudmapper

CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
BSD 3-Clause "New" or "Revised" License
5.98k stars 805 forks source link

Docker build is broken due to conflicts in requirements.txt #882

Closed crabmusket closed 3 years ago

crabmusket commented 3 years ago

I just cloned this repo (in Ubuntu 20.04) and ran the provided Docker build command:

docker build -t cloudmapper .

The build failed with this error:

#11 11.70 ERROR: Cannot install -r requirements.txt (line 5) and urllib3==1.26.5 because these package versions have conflicting dependencies.
#11 11.70
#11 11.70 The conflict is caused by:
#11 11.70     The user requested urllib3==1.26.5
#11 11.70     botocore 1.17.6 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
#11 11.70
#11 11.70 To fix this you could try to:
#11 11.70 1. loosen the range of package versions you've specified
#11 11.70 2. remove package versions to allow pip attempt to solve the dependency conflict
#11 11.70
#11 11.70 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

I reverted this change locally and re-ran the Docker build, and it succeeded.

michael-k commented 3 years ago

Duplicate of #875

crabmusket commented 3 years ago

Sorry! I searched before creating but I didn't see that issue 🙈