Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leminhds opened this issue Mar 18, 2022 · 5 comments
Open

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

leminhds opened this issue Mar 18, 2022 · 5 comments

Comments

@leminhds
Copy link

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
Copy link
Author

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

@knpwrs
Copy link

knpwrs commented Sep 9, 2022

Reverting also worked for me:

git checkout HEAD^ -- requirements.txt

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

@DaMenestrel
Copy link

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

@EricPostMaster
Copy link

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

@WeihuaZhu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants