stevearc / pypicloud-docker

Docker image for pypicloud
MIT License
86 stars 34 forks source link

Container crashing due to urllib3 1.25.2 #25

Open lgbraus opened 5 years ago

lgbraus commented 5 years ago

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 commented 5 years ago

This looks like it should resolve itself in the next release of botocore see https://github.com/boto/botocore/issues/1733

lgbraus commented 5 years ago

No worries... Just thought it was worthwhile sharing