cello icon indicating copy to clipboard operation
cello copied to clipboard

Build fails with the following error

Open litong01 opened this issue 6 years ago • 1 comments
trafficstars

Build failed.

Expected Behavior

Build should succeed.

Current Behavior

Build now fails with the following error.

Successfully built uwsgi pygraphviz watchdog django-allauth django-rest-auth coreschema inflection PyYAML validate-email strict-rfc3339 billiard dockerpty docopt texttable pathtools itypes pyrsistent ERROR: docker-compose 1.23.2 has requirement jsonschema<3,>=2.5.1, but you'll have jsonschema 3.1.1 which is incompatible. Installing collected packages: pytz, Django, uwsgi, djangorestframework, django-filter, itypes, uritemplate, idna, urllib3, chardet, certifi, requests, MarkupSafe, jinja2, coreschema, coreapi, ruamel.yaml.clib, ruamel.yaml, six, inflection, drf-yasg, PyYAML, jsonpointer, rfc3987, click, validate-email, strict-rfc3339, flex, pyrsistent, more-itertools, zipp, importlib-metadata, attrs, jsonschema, swagger-spec-validator, psycopg2-binary, holdup, django-extensions, pygraphviz, billiard, vine, amqp, kombu, celery, redis, dockerpty, cached-property, websocket-client, docopt, docker-pycreds, docker, texttable, docker-compose, argh, pathtools, watchdog, defusedxml, python3-openid, oauthlib, requests-oauthlib, django-allauth, django-rest-auth, PyJWT, djangorestframework-jwt, pyasn1, rsa, pyasn1-modules, cachetools, google-auth, python-dateutil, kubernetes, django-cors-headers ERROR: docker-compose 1.23.2 has requirement requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1, but you'll have requests 2.22.0 which is incompatible.

Possible Solution

Steps to Reproduce

Context (Environment)

  • OS:
  • Architecture:
  • Docker version:
  • Docker compose version:
  • Kubernetes version:

Detailed Description and log

Possible Implementation

litong01 avatar Nov 15 '19 02:11 litong01

@hightall I have tried to update docker-compose required components such as jsonschena and request to the allowable version, but the build still fails. The build produces so much warning and this python dependency thing becomes basically unsustainable, this needs to be addressed right now.

These are the changes I tried on my local env. still not working though ` jsonschema<3,>=2.5.1

requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1 `

I had to disable the hyperledger.cello to merge my patches. I will leave it off for now before we make the build process better.

litong01 avatar Nov 18 '19 17:11 litong01