Installing sphinx via (github) : not installable on older linux distributions
Currently, if you want to install sphinx via the sphinx extension (by calling the update script in the extension-manager), only specific versions of sphinx can be selected. Currently this is versions 1.5.4 - 1.6.3.
On older linux distributions this can cause incompatibilities while trying to install.
E.g. Install sphinx version 1.5.4 on Red Hat 7.4:
Installing pybabel script to /var/www//htdocs/typo3temp/tx_sphinx/sphinx-doc/1.5.4/bin Installed /var/www/htdocs/typo3temp/tx_sphinx/sphinx-doc/1.5.4/lib/python/Babel-0.9.6-py2.7.egg error: Could not find required distribution babel>=1.3,!=2.0
Babel is installed, but with older version. The system sphinx version is 1.1.3
Now it might be possible to resolve these dependencies somehow or it would be much easier if
- a) You could just install sphinx using the operating system distribution (and not via the extension). I have done this in the past, but it is no longer possible, because of a layout problem, see https://forge.typo3.org/issues/82484
- or b) You could also select older sphinx versions via the sphinx extension update script.
I have installed sphinx via the extension on (newer) Ubuntu versions and everything works very nicely there! Would be great if someone has a hint for my current problem or this can be resolved in some way.
#1 Updated by Sybille Peters over 2 years ago
The extension sphinx uses this URL to display the releases: https://github.com/sphinx-doc/sphinx/releases
This only displays the newer releases (1.5.4 and above). On my system, I need version 1.1.3 for an installation without hassle.
Suggestion for a change that is easy to make and more flexible: Offer a text field to enter any sphinx version manually in addition to selecting the to be installed version.
The downloaded sphinx version always has the same format (https://github.com/sphinx-doc/sphinx/releases/tag/<version>), so this should work.