Bug 1366706 - python-sphinx requires many X11 packages
Summary: python-sphinx requires many X11 packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinx
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-12 15:40 UTC by Fabio Alessandro Locati
Modified: 2016-08-27 10:35 UTC (History)
4 users (show)

Fixed In Version: python-sphinx-1.4.5-1.fc24 python-sphinx-1.4.5-1.fc25
Clone Of:
Environment:
Last Closed: 2016-08-21 23:22:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabio Alessandro Locati 2016-08-12 15:40:16 UTC
Description of problem:
python-sphinx requires many X11 packages

Version-Release number of selected component (if applicable):
python2-sphinx-1.4.4-2.fc24.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. dnf install python-sphnix
2. count the packages with an X in the name

Actual results:
21 for X, 2 for wayland, 4 for mesa, many others

Expected results:
0 X packages

Comment 1 Petr Viktorin (pviktori) 2016-08-12 15:48:23 UTC
This probably could be solved by using Recommends: for graphviz. Not all packages need graphviz, and I think the ones that do should BuildRequire it explicitly.


Fixing this could potentially shorten build time for Python packages with docs, and maybe uncover some hidden failures in RPM %check sections.

Comment 2 Avram Lubkin 2016-08-12 15:59:22 UTC
The downside of using Recommends is it tends to be treated as Requires. What might make more sense here is to create pythonX-sphinx-graphviz subpackages which contains graphviz.py.

Comment 3 Petr Viktorin (pviktori) 2016-08-12 16:09:59 UTC
Sphinx is used to build documentation, most commonly in two situations:
- Package building (e.g. Koji/COPR), where Recommends should be skipped
- Development, where a graphical UI is typically installed anyway

So in this case, I don't see a problem with Recommending graphviz.


When "sphinx" is used as a dependency in upstream Python projects (setup.py), it includes "sphinx.ext.graphviz", but not graphviz itself. Projects that use Sphinx are likely to document that graphviz is needed, but not likely to assume that a sphinx subpackage was removed by system packagers.

Comment 4 Avram Lubkin 2016-08-12 18:41:44 UTC
Ok. I'd guess anyone who cares enough will disable install_weak_deps. I'll set it to Recommends: graphviz.

Comment 5 Fedora Update System 2016-08-12 19:39:24 UTC
python-sphinx-1.4.5-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8856ce7a2d

Comment 6 Fedora Update System 2016-08-12 19:42:12 UTC
python-sphinx-1.4.5-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0365a31f5c

Comment 7 Fedora Update System 2016-08-12 22:52:29 UTC
python-sphinx-1.4.5-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0365a31f5c

Comment 8 Fedora Update System 2016-08-14 00:22:22 UTC
python-sphinx-1.4.5-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8856ce7a2d

Comment 9 Fedora Update System 2016-08-21 23:22:07 UTC
python-sphinx-1.4.5-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-08-27 10:35:07 UTC
python-sphinx-1.4.5-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.