Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Container crashing due to urllib3 1.25.2 #25

Open
lgbraus opened this issue May 21, 2019 · 2 comments
Open

Container crashing due to urllib3 1.25.2 #25

lgbraus opened this issue May 21, 2019 · 2 comments

Comments

@lgbraus
Copy link

lgbraus commented May 21, 2019

Hi all,

I built Docker imagres from py3-baseimage and py3-alpine and was getting the error below when starting a container:

pkg_resources.ContextualVersionConflict: (urllib3 1.25.2 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('urllib3<1.25,>=1.20; python_version >= "3.4"'), {'botocore'})
*** /etc/my_init.d/pypicloud-uwsgi.sh failed with status 22

As a workaround, I added the following to the Dockerfile:

pip3 install urllib3==1.24.1

@stevearc
Copy link
Owner

This looks like it should resolve itself in the next release of botocore
see boto/botocore#1733

@lgbraus
Copy link
Author

lgbraus commented May 27, 2019

No worries... Just thought it was worthwhile sharing

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

No branches or pull requests

2 participants