Source: python-oslo-config Version: 1:5.2.0-4 Severity: important Dear maintainer,
I am going to switch Sphinx scripts to using Python 3 by default, when both
python-sphinx and python3-sphinx are installed (see #898009).
During a test build of reverse dependencies, your package failed to build:
debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pyversions: missing X(S)-Python-Version in control file, fall back to
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
PYTHONPATH=/<<PKGBUILDDIR>> sphinx-build -D html_last_updated_fmt="May 22,
2018" -b html doc/source
/<<PKGBUILDDIR>>/debian/python-oslo.config-doc/usr/share/doc/python-oslo.config-doc/html
Running Sphinx v1.7.5
Extension error:
Could not import extension openstackdocstheme (exception: No module named
'openstackdocstheme')
debian/rules:26: recipe for target 'override_dh_sphinxdoc' failed
The reason is that only a Python 2 version of openstackdocstheme exists in
Build-Depends-Indep.
Potential solutions to this would be adding Python 3 build-dependencies, or
using “python2 -m sphinx” explicitly instead of “sphinx-build”.
You can test this locally by running this command before package build:
sudo ln -sf /usr/share/sphinx/scripts/python3/sphinx-build
/usr/bin/sphinx-build
--
Dmitry Shachnev
signature.asc
Description: PGP signature

