Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905858 - dev-python/sphinx required for sci-mathematics/plink-2.4.1::sage-on-gentoo
Summary: dev-python/sphinx required for sci-mathematics/plink-2.4.1::sage-on-gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: François Bissey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-07 07:09 UTC by piotr5
Modified: 2023-05-15 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piotr5 2023-05-07 07:09:27 UTC
sci-mathematics/plink fails to upgrade to python3_11 because sphinx hasn't been upgraded yet! no problem rebuilding plink with the installed python3_10 but unless I rebuild sphinx first, the new python version gives me the error:

running build_docs
...
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Sphinx>=0.6.1' distribution was not found and is required by the application

besides: shouldn't this package have a useflag for disabling doc? it has none!
Comment 1 François Bissey 2023-05-15 21:11:31 UTC
Thank you for your report. I had not noticed documentation building for this package, but the need for sphinx and building documentation is indeed there. I will check what is the recommended approach for python packages but right now, making documentation conditional would require a patch to setup.py, since building doc is a dependency of building wheels.
Comment 2 François Bissey 2023-05-15 22:47:47 UTC
Added dependency on sphinx. I tried to separate the doc following https://projects.gentoo.org/python/guide/distutils.html#building-documentation-via-sphinx but upstream has broken their distribution channels in several way to make simple patching and the proper source fetching onerous. I decided to give up rather than digging deeply in a way that would not be sustainable for me.

I am guessing I should check other packages from the 3-manyfolds org for similar sphinx issue. The broken distribution thing is also org wide :(