artefactual-labs / ansible-atom

An ansible role for deploying AtoM
GNU Affero General Public License v3.0
6 stars 5 forks source link

Problem: Sphinx dependency fails on CentOS #32

Closed mamedin closed 3 years ago

mamedin commented 5 years ago

When deploying AtoM 2.4.1 on CentOS I got this error:

TASK [external-roles/artefactual-atom : Install Sphinx] ***********************************************************************************************************************************************************
failed: [mamedin-centos-atom] (item=sphinx) => {"cmd": "/bin/pip2 install -U sphinx", "failed": true, "item": "sphinx", "msg": "stdout: Requirement already up-to-date: sphinx in /usr/lib64/python2.7/site-packages (2.0.1)\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nSphinx requires Python '>=3.5' but the running Python is 2.7.5\n"}
failed: [mamedin-centos-atom] (item=sphinxcontrib-httpdomain) => {"cmd": "/bin/pip2 install -U sphinxcontrib-httpdomain", "failed": true, "item": "sphinxcontrib-httpdomain", "msg": "stdout: Requirement already up-to-date: sphinxcontrib-httpdomain in /usr/lib/python2.7/site-packages (1.7.0)\nRequirement already satisfied, skipping upgrade: six in /usr/lib/python2.7/site-packages (from sphinxcontrib-httpdomain) (1.12.0)\nRequirement already satisfied, skipping upgrade: Sphinx>=1.5 in /usr/lib64/python2.7/site-packages (from sphinxcontrib-httpdomain) (2.0.1)\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nSphinx requires Python '>=3.5' but the running Python is 2.7.5\n"}
failed: [mamedin-centos-atom] (item=sphinx_rtd_theme) => {"cmd": "/bin/pip2 install -U sphinx_rtd_theme", "failed": true, "item": "sphinx_rtd_theme", "msg": "stdout: Requirement already up-to-date: sphinx_rtd_theme in /usr/lib/python2.7/site-packages (0.4.3)\nRequirement already satisfied, skipping upgrade: sphinx in /usr/lib64/python2.7/site-packages (from sphinx_rtd_theme) (2.0.1)\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nSphinx requires Python '>=3.5' but the running Python is 2.7.5\n"}
    to retry, use: --limit @/home/maml/artefactual/deploymentlast38/deployment/envs/sandbox/sandbox-atom.retry
scollazo commented 5 years ago

Wich ansible version are you using? The message says the pakage is already installed, and I think this breaks old ansible versions

mamedin commented 5 years ago

Ansible 2.3.0

sevein commented 3 years ago

Since 5f6525898eb6bfe7f465e049fbebb38207d22245, Sphinx is only installed under Ubuntu (development environment).