Overview

Request 682934 accepted

- Rewrite the package to multibuild. Remove python-Sphinx-doc*.
- Fix %check to make tests passing.


Hans-Peter Jansen's avatar

This change broke each and every buil, that tries to use Sphinx:

[   46s] + pushd docs
[   46s] ~/rpmbuild/BUILD/cookiecutter-1.6.0/docs ~/rpmbuild/BUILD/cookiecutter-1.6.0
[   46s] + make -j8 html
[   46s] sphinx-build -b html -d _build/doctrees   . _build/html
[   47s] Traceback (most recent call last):
[   47s]   File "/usr/bin/sphinx-build", line 11, in <module>
[   47s]     load_entry_point('Sphinx==1.8.4', 'console_scripts', 'sphinx-build')()
[   47s]   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
[   47s]     return get_distribution(dist).load_entry_point(group, name)
[   47s]   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
[   47s]     return ep.load()
[   47s]   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in load
[   47s]     return self.resolve()
[   47s]   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2417, in resolve
[   47s]     module = __import__(self.module_name, fromlist=['__name__'], level=0)
[   47s]   File "/usr/lib/python3.6/site-packages/sphinx/cmd/build.py", line 23, in <module>
[   47s]     import sphinx.locale
[   47s] ModuleNotFoundError: No module named 'sphinx.locale'

It attempts to relocate the locale files into its own package (without a hint in the changelog), but removes evverything it doesn't expect on its way: sphinx.js translations, and more importantly: the locale submodule files.

How could this change pass even the most basic tests?

Request History
Matej Cepl's avatar

mcepl created request

- Rewrite the package to multibuild. Remove python-Sphinx-doc*.
- Fix %check to make tests passing.


Tomáš Chvátal's avatar

scarabeus_iv accepted request

openSUSE Build Service is sponsored by