FS#62343 - [python-sphinx] Cyclic dependencies from/to python-sphinxcontrib-* packages

Attached to Project: Community Packages
Opened by Christopher Arndt (SpotlightKid) - Sunday, 14 April 2019, 14:40 GMT
Last edited by Daniel M. Capella (polyzen) - Sunday, 18 August 2019, 17:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Daniel M. Capella (polyzen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Package `python-sphinx` depends on a list of `python-sphinxcontrib-*` packages, which in turn depend on `python-sphinx`.

Additional info:

* package version 2.0.1-1

Steps to reproduce:

Install package `python-sphinx`. Warning output:

warning: dependency cycle detected:
warning: python-sphinxcontrib-applehelp will be installed before its python-sphinx dependency
warning: dependency cycle detected:
warning: python-sphinxcontrib-devhelp will be installed before its python-sphinx dependency
warning: dependency cycle detected:
warning: python-sphinxcontrib-htmlhelp will be installed before its python-sphinx dependency
warning: dependency cycle detected:
warning: python-sphinxcontrib-jsmath will be installed before its python-sphinx dependency
warning: dependency cycle detected:
warning: python-sphinxcontrib-qthelp will be installed before its python-sphinx dependency
warning: dependency cycle detected:
warning: python-sphinxcontrib-serializinghtml will be installed before its python-sphinx dependency
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Sunday, 18 August 2019, 17:14 GMT
Reason for closing:  Implemented
Additional comments about closing:  python-sphinx changed to checkdep from dep in sphinxcontrib packages
Comment by Daniel M. Capella (polyzen) - Monday, 15 April 2019, 02:40 GMT
Will this cause any issues?
Comment by Christopher Arndt (SpotlightKid) - Monday, 15 April 2019, 16:12 GMT
Well, for one thing, it makes building the package yourself difficult.

Secondly, it could lead to problems when uninstalling packages.

Generally, it's an error in the dependency tree. Unless there's a reason for a circular dependency, which can't be fixed by the package maintainer, it shouldn't occur.
Comment by Daniel M. Capella (polyzen) - Tuesday, 16 April 2019, 13:36 GMT
I'm intimately aware of the difficulty. :) Some of the sphinxcontrib package's tests passed with Sphinx 1.8.5 by just renaming their test `contents.rst` to `index.rst`, as the default changed in 2.0.0, but otherwise the rest do not pass without Sphinx >=2.0.0. And of course I had to build the sphinxcontrib packages before I could build Sphinx 2.0.1.

Loading...