Hello,

I confirm that my documentation build is ok (log at [1]) with the following
extension package installed on top of python37-sphinx

python37-sphinxcontrib-serializinghtml
python37-sphinxcontrib-applehelp
python37-sphinxcontrib-devhelp
python37-sphinxcontrib-htmlhelp
python37-sphinxcontrib-qthelp

Looking at Sphinx project sources, it seems that even if these *builders*
have been moved aside in separate projects starting version 2, they are
still mandatory for sphinx core to operate. Looking at the
Sphinx.egg-info/requires.txt file in source tarball, we can find at the
beginning:

sphinxcontrib-applehelp
sphinxcontrib-devhelp
sphinxcontrib-jsmath
sphinxcontrib-htmlhelp
sphinxcontrib-serializinghtml
sphinxcontrib-qthelp

So to honor those requirements, I think the sphinx cygport file should be
updated like in the attached patch.

Regards,
Xavier

[1]
https://ci.appveyor.com/project/xdelaruelle/modules/builds/34591628/job/6u76k02d4uriq91q

Le lun. 10 août 2020 à 10:39, Xavier Delaruelle <xavier.delarue...@gmail.com>
a écrit :

> Can you update the requirements of python*-sphinx packages to make these
> new packages automatically installed when python*-sphinx is installed ? (as
> they seem required to build any sphinx documentation)
>
> Regards,
> Xavier
>
> Le lun. 10 août 2020 à 10:11, Marco Atzeri <marco.atz...@gmail.com> a
> écrit :
>
>> On 10.08.2020 09:16, Marco Atzeri wrote:
>> > On 10.08.2020 06:58, Xavier Delaruelle wrote:
>> >> Hi Marco,
>> >>
>> >> I have been able to test new packages and now I am hitting another
>> issue:
>> >>
>> >> Extension error:
>> >> Could not import extension sphinx.builders.epub3 (exception: No module
>> >> named 'sphinxcontrib.serializinghtml')
>> >>
>> >> The full log is available at [1].
>> >>
>> >> My software documentation does not rely on any extension (see [2]), so
>> >> I assume this is missing extension is something required when you want
>> >> to build the HTML documentation.
>> >>
>> >> My last build that went fine was 4 days ago. It used python37-sphinx
>> >> 1.8.5-1 (logs available at [3]).
>> >>
>> >> Regards,
>> >> Xavier
>> >>
>> >
>> > Hi Xavier,
>> > it seems some problem of how they modified the
>> > python-sphinx  3.1.2
>> >
>> > I hit the same problem than you on rebuilding cmake
>> > and I am building and adding new contrib packages
>> >
>> > python3x-sphinxcontrib-applehelp        1.0.2-1
>> > python3x-sphinxcontrib-devhelp          1.0.2-1
>> > python3x-sphinxcontrib-htmlhelp         1.0.3-1
>> > python3x-sphinxcontrib-serializinghtml  1.1.4-1
>> > python3x-sphinxcontrib-websupport       1.2.3-1
>> >
>> > I wonder if it is a side effect of not having yet ported
>> > python3x-sphinx-notfound-page
>> >
>> > as soon cmake documentation complete, I will upload all the
>> > new contrib packages
>> >
>> > Regards
>> > Marco
>> >
>>
>> after adding also
>> python3x-sphinxcontrib-qthelp  1.0.3-1
>>
>> I was able to build cmake documentation
>>
>> let me know if you need any other sphinxcontrib-**
>> package
>>
>>
>> Regards
>> Marco
>>
>>
--- python-sphinx.cygport.orig	2020-08-11 10:50:10.425907774 +0200
+++ python-sphinx.cygport	2020-08-11 10:52:53.439267803 +0200
@@ -15,9 +15,9 @@
 
 ARCH=noarch
 
-python36_sphinx_REQUIRES="python36-alabaster python36-sphinx_rtd_theme python36-sphinxcontrib-websupport"
-python37_sphinx_REQUIRES="python37-alabaster python37-sphinx_rtd_theme python37-sphinxcontrib-websupport"
-python38_sphinx_REQUIRES="python37-alabaster python37-sphinx_rtd_theme python38-sphinxcontrib-websupport"
+python36_sphinx_REQUIRES="python36-alabaster python36-sphinx_rtd_theme python36-sphinxcontrib-websupport python36-sphinxcontrib-serializinghtml python36-sphinxcontrib-applehelp python36-sphinxcontrib-devhelp python36-sphinxcontrib-htmlhelp python36-sphinxcontrib-qthelp"
+python37_sphinx_REQUIRES="python37-alabaster python37-sphinx_rtd_theme python37-sphinxcontrib-websupport python37-sphinxcontrib-serializinghtml python37-sphinxcontrib-applehelp python37-sphinxcontrib-devhelp python37-sphinxcontrib-htmlhelp python37-sphinxcontrib-qthelp"
+python38_sphinx_REQUIRES="python38-alabaster python38-sphinx_rtd_theme python38-sphinxcontrib-websupport python38-sphinxcontrib-serializinghtml python38-sphinxcontrib-applehelp python38-sphinxcontrib-devhelp python38-sphinxcontrib-htmlhelp python38-sphinxcontrib-qthelp"
 
 python36_sphinx_CONTENTS+=" usr/bin/sphinx-*3.6
 etc/postinstall/python36-sphinx.sh
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to