reanahub / reana

REANA: Reusable research data analysis platform
https://docs.reana.io
MIT License
127 stars 54 forks source link

build error: requests/idna #270

Closed tiborsimko closed 4 years ago

tiborsimko commented 4 years ago

Fix build problems in many places related to requests/idna versions:

Step 12/13 : RUN pip check
 ---> Running in 0f88cc221a43
requests 2.22.0 has requirement idna<2.9,>=2.5, but you have idna 2.9.
The command '/bin/sh -c pip check' returned a non-zero code: 1
[2020-02-19T17:23:29] reana-workflow-engine-serial: Command 'docker build --build-arg DEBUG=0 -t reanahub/reana-workflow-engine-serial:latest .' returned non-zero exit status 1.
make: *** [Makefile:118: build] Error 1

Could be solved by pinning.

diegodelemos commented 4 years ago

Requests 2.23.0 released yesterday night, fixing the problem:

$ reana-dev docker-build -c r-j-controller -t latest --no-cache
...
Successfully built 358b8d5fc972
Successfully tagged reanahub/reana-job-controller:latest
$ reana-dev docker-build -c r-w-e-serial -t latest --no-cache
...
Successfully built 276b928859b2
Successfully tagged reanahub/reana-workflow-engine-serial:latest
$ docker run -ti --rm reanahub/reana-workflow-engine-serial:latest bash
root@91a3e814bf1e:/code# pip show requests
Name: requests
Version: 2.23.0
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache 2.0
Location: /usr/local/lib/python3.6/site-packages
Requires: certifi, urllib3, idna, chardet
Required-by: bravado