moviegeek
moviegeek copied to clipboard
docker container can't be build due to requirements.txt
Here is the error message:
#7 81.01 ERROR: Cannot install -r requirements.txt (line 4) and urllib3==1.26.5 because these package versions have conflicting dependencies. #7 81.01 #7 81.01 The conflict is caused by: #7 81.01 The user requested urllib3==1.26.5 #7 81.01 botocore 1.12.45 depends on urllib3<1.25 and >=1.20; python_version >= "3.4"
this problem is fixed when you revert th requirements.txt back to the commit before the last one
Reverting also worked for me:
git checkout HEAD^ -- requirements.txt
It seems that urllib was automatically bumped by dependabot in #43.
same error but i just put urllib3==1.24 in requirements :)
I did the same as @DaMenestrel. Just change urllib3 to version 1.24 in requirements.txt, and it works fine.
git checkout HEAD^ -- requirements.txt
reverting the recent change on urllib3 dependency works!