I am trying to build the celery docker container as mentioned in the docs to setup the dev environment. But docker build fails with below error,
Running setup.py install for unipath: started
Running setup.py install for unipath: finished with status 'done'
Successfully installed Jinja2-2.10.3 MarkupSafe-1.1.1 PyYAML-5.1.2 Pygments-2.4.2 Sphinx-1.8.5 alabaster-0.7.12 amqp-2.5.1 argparse-1.4.0 asn1crypto-1.0.1 aspy.yaml-1.3.0 atomicwrites-1.3.0 attrs-19.2.0 aws-xray-sdk-0.95 azure-common-1.1.5 azure-nspkg-3.0.2 azure-storage-0.36.0 azure-storage-common-1.1.0 azure-storage-nspkg-3.1.0 babel-2.7.0 basho-erlastic-2.1.1 billiard-3.6.1.0 boto-2.49.0 boto3-1.9.243 botocore-1.12.243 bumpversion-0.5.3 case-1.5.3 cassandra-driver-3.19.0 certifi-2019.9.11 cffi-1.12.3 cfgv-2.0.1 chardet-3.0.4 codecov-2.0.15 couchbase-2.5.8 coverage-4.5.4 cryptography-2.7 datetime-4.3 dnspython-1.16.0 docker-4.1.0 docutils-0.15.2 ecdsa-0.13.2 elasticsearch-7.0.5 entrypoints-0.3 ephem-3.7.7.0 eventlet-0.25.1 filelock-3.0.12 flake8-3.7.8 flakeplus-1.1.0 future-0.17.1 gevent-1.4.0 greenlet-0.4.15 identify-1.4.7 idna-2.8 imagesize-1.1.0 importlib-metadata-0.23 importlib-resources-1.0.2 jmespath-0.9.4 jsondiff-1.1.1 jsonpickle-1.2 kombu-4.6.5 linecache2-1.0.0 mccabe-0.6.1 mock-3.0.5 monotonic-1.5 more-itertools-7.2.0 moto-1.3.7 msgpack-0.6.2 nodeenv-1.3.3 nose-1.3.7 packaging-19.2 pathlib2-2.3.5 pluggy-0.13.0 pre-commit-1.18.3 py-1.8.0 pyArango-1.3.2 pyaml-19.4.1 pycodestyle-2.5.0 pycouchdb-1.14 pycparser-2.19 pycryptodome-3.9.0 pycurl-7.43.0.3 pydocstyle-1.1.1 pydocumentdb-2.3.2 pyflakes-2.1.1 pylibmc-1.6.1 pymongo-3.9.0 pyparsing-2.4.2 pytest-4.6.5 pytest-cov-2.8.0 pytest-sugar-0.9.2 pytest-travis-fold-1.3.0 python-consul-1.1.0 python-dateutil-2.8.0 python-jose-2.0.2 python-memcached-1.59 python3-protobuf-2.5.0 pytz-2019.2 redis-3.3.8 requests-2.22.0 responses-0.10.6 riak-2.7.0 s3transfer-0.2.1 simplejson-3.16.0 six-1.12.0 snowballstemmer-2.0.0 softlayer-messaging-1.0.3 sphinx-celery-1.4.6 sphinx-testing-0.7.2 sphinx2rst-1.1.0 sphinxcontrib-websupport-1.1.2 sqlalchemy-1.3.9 tblib-1.4.0 termcolor-1.1.0 toml-0.10.0 tox-3.14.0 traceback2-1.4.0 typing-3.7.4.1 unipath-1.1 unittest2-1.1.0 urllib3-1.25.6 vine-1.3.0 virtualenv-16.7.5 wcwidth-0.1.7 websocket-client-0.56.0 werkzeug-0.16.0 wheel-0.33.6 wrapt-1.11.2 xmltodict-0.12.0 zipp-0.6.0 zope.interface-4.6.0
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Ignoring couchbase-cffi: markers 'platform_python_implementation == "PyPy"' don't match your environment
Collecting pytz>dev (from -r requirements/default.txt (line 1))
Using cached https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl
Collecting billiard<4.0,>=3.6.1 (from -r requirements/default.txt (line 2))
Using cached https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl
Collecting kombu<5.0,>=4.6.4 (from -r requirements/default.txt (line 3))
ERROR: Could not find a version that satisfies the requirement kombu<5.0,>=4.6.4 (from -r requirements/default.txt (line 3)) (from versions: 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, 4.2.2.post1, 4.3.0, 4.4.0, 4.5.0)
ERROR: No matching distribution found for kombu<5.0,>=4.6.4 (from -r requirements/default.txt (line 3))
WARNING: You are using pip version 19.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Service 'celery' failed to build: The command '/bin/sh -c pyenv exec python3.7 -m pip install -r requirements/default.txt -r requirements/test.txt -r requirements/test-ci-default.txt -r requirements/docs.txt -r requirements/test-integration.txt -r requirements/pkgutils.txt && pyenv exec python3.6 -m pip install -r requirements/default.txt -r requirements/test.txt -r requirements/test-ci-default.txt -r requirements/docs.txt -r requirements/test-integration.txt -r requirements/pkgutils.txt && pyenv exec python3.5 -m pip install -r requirements/default.txt -r requirements/test.txt -r requirements/test-ci-default.txt -r requirements/docs.txt -r requirements/test-integration.txt -r requirements/pkgutils.txt && pyenv exec python3.4 -m pip install -r requirements/default.txt -r requirements/test.txt -r requirements/test-ci-default.txt -r requirements/docs.txt -r requirements/test-integration.txt -r requirements/pkgutils.txt && pyenv exec python2.7 -m pip install -r requirements/default.txt -r requirements/test.txt -r requirements/test-ci-default.txt -r requirements/docs.txt -r requirements/test-integration.txt -r requirements/pkgutils.txt' returned a non-zero code: 1
I am trying to build the celery docker container as mentioned in the docs to setup the dev environment. But docker build fails with below error,
Command: docker-compose build celery
docker_Version: Docker version 19.03.2, build 6a30dfc
docker_Compse_version: docker-compose version 1.18.0, build 8dd22a9
Error:
Checklist
contribution guide
on reporting bugs.
for similar or identical bug reports.
for existing proposed fixes.
to find out if the bug was already fixed in the master branch.
in this issue (If there are none, check this box anyway).
Mandatory Debugging Information
celery -A proj reportin the issue.(if you are not able to do this, then at least specify the Celery
version affected).
masterbranch of Celery.pip freezein the issue.to reproduce this bug.
Optional Debugging Information
and/or implementation.
result backend.
broker and/or result backend.
ETA/Countdown & rate limits disabled.
and/or upgrading Celery and its dependencies.
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
Environment & Settings
Celery version:
celery reportOutput:Steps to Reproduce
Required Dependencies
Python Packages
pip freezeOutput:Other Dependencies
Details
N/A
Minimally Reproducible Test Case
Details
Expected Behavior
Actual Behavior