Bug ID 1144506
Summary sphinx-build requires python-attrs to run but does not require it
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter dcermak@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

The sphinxcontrib-autopgrogram and sphinxcontrib-asyncio packages started to
fail to build on OBS with the following error:

[   43s] + sphinx-build -b html -d doc/_build/doctrees doc doc/_build/html
[   43s] Traceback (most recent call last):
[   43s]   File "/usr/bin/sphinx-build", line 6, in <module>
[   43s]     from pkg_resources import load_entry_point
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3241, in <module>
[   43s]     @_call_aside
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3225, in _call_aside
[   43s]     f(*args, **kwargs)
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3254, in _initialize_master_working_set
[   43s]     working_set = WorkingSet._build_master()
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 583, in _build_master
[   43s]     ws.require(__requires__)
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 900, in require
[   43s]     needed = self.resolve(parse_requirements(requirements))
[   43s]   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 786, in resolve
[   43s]     raise DistributionNotFound(req, requirers)
[   43s] pkg_resources.DistributionNotFound: The 'attrs' distribution was not
found and is required by packaging
[   43s] error: Bad exit status from /var/tmp/rpm-tmp.tYlY4G (%build)

Both invoke sphinx-build during %build. For some reason sphinx-build appears to
require python-attrs now, but this is not reflected in the rpm. Thus OBS does
not know about this dependency and leaves out python-attrs out of the buildroot
(thereby causing the above error).

Affected packages:
-
https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-autoprogram
-
https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-asyncio


You are receiving this mail because: