moviegeek icon indicating copy to clipboard operation
moviegeek copied to clipboard

docker container can't be build due to requirements.txt

Open leminhds opened this issue 2 years ago • 5 comments

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"

leminhds avatar Mar 18 '22 10:03 leminhds

this problem is fixed when you revert th requirements.txt back to the commit before the last one

leminhds avatar Mar 19 '22 09:03 leminhds

Reverting also worked for me:

git checkout HEAD^ -- requirements.txt

It seems that urllib was automatically bumped by dependabot in #43.

knpwrs avatar Sep 09 '22 11:09 knpwrs

same error but i just put urllib3==1.24 in requirements :)

DaMenestrel avatar Nov 04 '22 04:11 DaMenestrel

I did the same as @DaMenestrel. Just change urllib3 to version 1.24 in requirements.txt, and it works fine.

EricPostMaster avatar Dec 26 '22 19:12 EricPostMaster

git checkout HEAD^ -- requirements.txt reverting the recent change on urllib3 dependency works!

WeihuaZhu avatar Jan 27 '23 19:01 WeihuaZhu