TASK [shade : shade virtualenv deps] failed

Open
#386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Start by reproducing the failed “shade virtualenv deps” task and trace the dependency chain from shade through openstacksdk to futurist. Inspect the repository’s dependency or Ansible installation configuration, which the issue does not identify, and verify whether installation can complete under Python 2.7. Done means the task installs its requested dependencies successfully without requiring an unsupported futurist release.

Written by the indexing model from the issue text.

Description

TASK [shade : shade virtualenv deps] ******************************************************************************************************************************************** fatal: [hypervisor]: FAILED! => {"changed": false, "cmd": ["/var/tmp/venv_shade/bin/pip2", "install", "pytz==2016.4", "cmd2==0.8.6", "shade>=1.25"], "msg": "stdout: Collecting pytz==2016.4\n Using cached pytz-2016.4-py2.py3-none-any.whl (480 kB)\nCollecting cmd2==0.8.6\n Using cached cmd2-0.8.6-py2.py3-none-any.whl (51 kB)\nCollecting shade>=1.25\n Using cached shade-1.33.0-py2.py3-none-any.whl (373 kB)\nCollecting pyparsing>=2.0.1\n Using cached pyparsing-2.4.6-py2.py3-none-any.whl (67 kB)\nProcessing /root/.cache/pip/wheels/e3/c7/6a/434fc8f2936acc4964ded8478435a8ef7c69eb41df7007a49f/subprocess32-3.5.4-cp27-cp27mu-linux_x86_64.whl\nCollecting contextlib2; python_version < \"3.5\"\n Using cached contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)\nCollecting six\n Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)\nCollecting enum34; python_version < \"3.4\"\n Using cached enum34-1.1.10-py2-none-any.whl (11 kB)\nProcessing /root/.cache/pip/wheels/59/f1/fb/ba27098ee059e80b2266a7359d1d15e5146c9b375de8cfb36e/pyperclip-1.7.0-py2-none-any.whl\nCollecting wcwidth; sys_platform != \"win32\"\n Using cached wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)\nCollecting openstacksdk>=0.15.0\n Using cached openstacksdk-0.44.0-py2.py3-none-any.whl (1.3 MB)\nCollecting os-client-config>=1.28.0\n Using cached os_client_config-2.0.0-py2.py3-none-any.whl (31 kB)\nCollecting pbr!=2.1.0,>=2.0.0\n Using cached pbr-5.4.4-py2.py3-none-any.whl (110 kB)\nCollecting appdirs>=1.3.0\n Using cached appdirs-1.4.3-py2.py3-none-any.whl (12 kB)\nCollecting keystoneauth1>=3.18.0\n Using cached keystoneauth1-3.18.0-py2.py3-none-any.whl (310 kB)\nCollecting jmespath>=0.9.0\n Using cached jmespath-0.9.5-py2.py3-none-any.whl (24 kB)\nCollecting iso8601>=0.1.11\n Using cached iso8601-0.1.12-py2.py3-none-any.whl (12 kB)\nProcessing /root/.cache/pip/wheels/d1/d5/a0/3c27cdc8b0209c5fc1385afeee936cf8a71e13d885388b4be2/PyYAML-5.3.1-cp27-cp27mu-linux_x86_64.whl\nCollecting jsonpatch!=1.20,>=1.16\n Using cached jsonpatch-1.25-py2.py3-none-any.whl (11 kB)\nCollecting cryptography>=2.1\n Using cached cryptography-2.8-cp27-cp27mu-manylinux2010_x86_64.whl (2.3 MB)\nCollecting decorator>=4.4.1\n Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)\nProcessing /root/.cache/pip/wheels/9a/8d/42/204836a2a8d3cb423feb46d964bc72841912cf45781dbf105a/dogpile.cache-0.9.0-py2.py3-none-any.whl\nCollecting requestsexceptions>=1.2.0\n Using cached requestsexceptions-1.4.0-py2.py3-none-any.whl (3.8 kB)\nCollecting ipaddress>=1.0.17; python_version < \"3.3\"\n Using cached ipaddress-1.0.23-py2.py3-none-any.whl (18 kB)\nCollecting netifaces>=0.10.4\n Using cached netifaces-0.10.9-cp27-cp27mu-manylinux1_x86_64.whl (31 kB)\nCollecting os-service-types>=1.7.0\n Using cached os_service_types-1.7.0-py2.py3-none-any.whl (24 kB)\n\n:stderr: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support\nERROR: Could not find a version that satisfies the requirement futurist>=2.1.0 (from openstacksdk>=0.15.0->shade>=1.25) (from versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0)\nERROR: No matching distribution found for futurist>=2.1.0 (from openstacksdk>=0.15.0->shade>=1.25)\n"}

On the PyPi page you find the version, but it requires Python> = 3.6

pypi.org/project/futurist/

I am looking for a workaround to adjust the version so that the installation can continue. Thanks

Dominant language
Jinja
Stars
105
Forks
100
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from redhat-openstack/infrared

All issues in redhat-openstack/infrared

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.