public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Missing 'sphinx-build' command from python37-sphinx package
@ 2020-08-08  7:44 Xavier Delaruelle
  2020-08-08 19:07 ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-08  7:44 UTC (permalink / raw)
  To: cygwin

Hello,

I am using cygwin through the AppVeyor CI environment to check my software
build process and non-regression testsuite :

https://ci.appveyor.com/project/xdelaruelle/modules

In this environment I use python37-sphinx package to build the
documentation of the software, which requires the 'sphinx-build' command.

It seems that this 'sphinx-build' command has disappeared from
python37-sphinx package recently:

https://ci.appveyor.com/project/xdelaruelle/modules/builds/34537360/job/870u7prqtwgbwtnk

Which is confirmed by listing package content:

https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython37-sphinx%2Fpython37-sphinx-3.1.2-1&grep=sphinx

This issue is also affecting the python36-sphinx package.

python38-package contains the 'sphinx-build' command, however it seems
there are some missing requirements to make this package operational. I get
an "Could not import extension sphinx.builders.epub3 (exception: No module
named 'sphinxcontrib')" error, see build log:

https://ci.appveyor.com/project/xdelaruelle/modules/builds/34542552/job/9tw241syk4upr4r1

Regards,
Xavier

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-08  7:44 Missing 'sphinx-build' command from python37-sphinx package Xavier Delaruelle
@ 2020-08-08 19:07 ` Marco Atzeri
  2020-08-08 20:07   ` Hamish MB
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-08 19:07 UTC (permalink / raw)
  To: cygwin

On 08.08.2020 09:44, Xavier Delaruelle via Cygwin wrote:
> Hello,
> 
> I am using cygwin through the AppVeyor CI environment to check my software
> build process and non-regression testsuite :
> 
> https://ci.appveyor.com/project/xdelaruelle/modules
> 
> In this environment I use python37-sphinx package to build the
> documentation of the software, which requires the 'sphinx-build' command.
> 
> It seems that this 'sphinx-build' command has disappeared from
> python37-sphinx package recently:
> 
> https://ci.appveyor.com/project/xdelaruelle/modules/builds/34537360/job/870u7prqtwgbwtnk
> 
> Which is confirmed by listing package content:
> 
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython37-sphinx%2Fpython37-sphinx-3.1.2-1&grep=sphinx
> 
> This issue is also affecting the python36-sphinx package.

36 was not changed from before, I will look for a way to provide a
suitable sphinx-build that works with all 3.x versions

> 
> python38-package contains the 'sphinx-build' command, however it seems
> there are some missing requirements to make this package operational. I get
> an "Could not import extension sphinx.builders.epub3 (exception: No module
> named 'sphinxcontrib')" error, see build log:
> 
> https://ci.appveyor.com/project/xdelaruelle/modules/builds/34542552/job/9tw241syk4upr4r1
> 
> Regards,
> Xavier

noted.
It is always difficult to establish which submodule are mandatory
and which are just optional.

It seems I nedd to deploy

  python38-sphinxcontrib-websupport
  python38-sqlalchemy
  python38-whoosh

let me fews days

Regards
Marco


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-08 19:07 ` Marco Atzeri
@ 2020-08-08 20:07   ` Hamish MB
  2020-08-09  8:38     ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Hamish MB @ 2020-08-08 20:07 UTC (permalink / raw)
  To: marco.atzeri; +Cc: cygwin

Perhaps versioned commands like sphinx-build36, 37, 38 and a sphinx-build command that defaults to 3.8?

Hamish
On 8 Aug 2020, at 20:07, Marco Atzeri via Cygwin <cygwin@cygwin.com<mailto:cygwin@cygwin.com>> wrote:

On 08.08.2020 09:44, Xavier Delaruelle via Cygwin wrote:
 Hello,

 I am using cygwin through the AppVeyor CI environment to check my software
 build process and non-regression testsuite :

 https://ci.appveyor.com/project/xdelaruelle/modules

 In this environment I use python37-sphinx package to build the
 documentation of the software, which requires the 'sphinx-build' command.

 It seems that this 'sphinx-build' command has disappeared from
 python37-sphinx package recently:

 https://ci.appveyor.com/project/xdelaruelle/modules/builds/34537360/job/870u7prqtwgbwtnk

 Which is confirmed by listing package content:

 https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython37-sphinx%2Fpython37-sphinx-3.1.2-1&grep=sphinx

 This issue is also affecting the python36-sphinx package.

36 was not changed from before, I will look for a way to provide a
suitable sphinx-build that works with all 3.x versions


 python38-package contains the 'sphinx-build' command, however it seems
 there are some missing requirements to make this package operational. I get
 an "Could not import extension sphinx.builders<http://sphinx.builders>.epub3 (exception: No module
 named 'sphinxcontrib')" error, see build log:

 https://ci.appveyor.com/project/xdelaruelle/modules/builds/34542552/job/9tw241syk4upr4r1

 Regards,
 Xavier

noted.
It is always difficult to establish which submodule are mandatory
and which are just optional.

It seems I nedd to deploy

  python38-sphinxcontrib-websupport
  python38-sqlalchemy
  python38-whoosh

let me fews days

Regards
Marco

--
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-08 20:07   ` Hamish MB
@ 2020-08-09  8:38     ` Xavier Delaruelle
  2020-08-09 15:22       ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-09  8:38 UTC (permalink / raw)
  To: Hamish MB; +Cc: marco.atzeri, cygwin

If command names are versioned it is important to get a consistent way for
users to install THE package that provides the 'sphinx-build' command (the
one without version reference in the name). Without having to search which
specific package provides this command and without having to update this
package reference when a new minor version of Python is added.

Xavier

Le sam. 8 août 2020 à 22:08, Hamish MB via Cygwin <cygwin@cygwin.com> a
écrit :

> Perhaps versioned commands like sphinx-build36, 37, 38 and a sphinx-build
> command that defaults to 3.8?
>
> Hamish
> On 8 Aug 2020, at 20:07, Marco Atzeri via Cygwin <cygwin@cygwin.com
> <mailto:cygwin@cygwin.com>> wrote:
>
> On 08.08.2020 09:44, Xavier Delaruelle via Cygwin wrote:
>  Hello,
>
>  I am using cygwin through the AppVeyor CI environment to check my software
>  build process and non-regression testsuite :
>
>  https://ci.appveyor.com/project/xdelaruelle/modules
>
>  In this environment I use python37-sphinx package to build the
>  documentation of the software, which requires the 'sphinx-build' command.
>
>  It seems that this 'sphinx-build' command has disappeared from
>  python37-sphinx package recently:
>
>
> https://ci.appveyor.com/project/xdelaruelle/modules/builds/34537360/job/870u7prqtwgbwtnk
>
>  Which is confirmed by listing package content:
>
>
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython37-sphinx%2Fpython37-sphinx-3.1.2-1&grep=sphinx
>
>  This issue is also affecting the python36-sphinx package.
>
> 36 was not changed from before, I will look for a way to provide a
> suitable sphinx-build that works with all 3.x versions
>
>
>  python38-package contains the 'sphinx-build' command, however it seems
>  there are some missing requirements to make this package operational. I
> get
>  an "Could not import extension sphinx.builders<http://sphinx.builders>.epub3
> (exception: No module
>  named 'sphinxcontrib')" error, see build log:
>
>
> https://ci.appveyor.com/project/xdelaruelle/modules/builds/34542552/job/9tw241syk4upr4r1
>
>  Regards,
>  Xavier
>
> noted.
> It is always difficult to establish which submodule are mandatory
> and which are just optional.
>
> It seems I nedd to deploy
>
>   python38-sphinxcontrib-websupport
>   python38-sqlalchemy
>   python38-whoosh
>
> let me fews days
>
> Regards
> Marco
>
> --
> 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
> --
> 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
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-09  8:38     ` Xavier Delaruelle
@ 2020-08-09 15:22       ` Marco Atzeri
  2020-08-09 16:14         ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-09 15:22 UTC (permalink / raw)
  To: Xavier Delaruelle; +Cc: cygwin

On 09.08.2020 10:38, Xavier Delaruelle wrote:
> If command names are versioned it is important to get a consistent way 
> for users to install THE package that provides the 'sphinx-build' 
> command (the one without version reference in the name). Without having 
> to search which specific package provides this command and without 
> having to update this package reference when a new minor version of 
> Python is added.
> 
> Xavier
> 

Hi Xavier,

next upload will use "alternatives" to provide the simlinks
so depending which version you install the default version is the
highest, but you can modify if needed.

$ alternatives --display sphinx-build
sphinx-build - status is auto.
  link currently points to /usr/bin/sphinx-build-3.8
/usr/bin/sphinx-build-3.6 - priority 36
/usr/bin/sphinx-build-3.7 - priority 37
/usr/bin/sphinx-build-3.8 - priority 38
Current `best' version is /usr/bin/sphinx-build-3.8.

  $ /usr/bin/sphinx-build-3.8
usage: sphinx-build-3.8 [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build-3.8: error: the following arguments are required: 
sourcedir, outputdir, filenames

$ /usr/bin/sphinx-build
usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: the following arguments are required: sourcedir, 
outputdir, filenames

Regards
Marco

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-09 15:22       ` Marco Atzeri
@ 2020-08-09 16:14         ` Xavier Delaruelle
  2020-08-10  4:58           ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-09 16:14 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin

Hi Marco.

Thanks a lot for your work on this issue.

Regards,
Xavier

Le dim. 9 août 2020 à 17:22, Marco Atzeri <marco.atzeri@gmail.com> a écrit :

> On 09.08.2020 10:38, Xavier Delaruelle wrote:
> > If command names are versioned it is important to get a consistent way
> > for users to install THE package that provides the 'sphinx-build'
> > command (the one without version reference in the name). Without having
> > to search which specific package provides this command and without
> > having to update this package reference when a new minor version of
> > Python is added.
> >
> > Xavier
> >
>
> Hi Xavier,
>
> next upload will use "alternatives" to provide the simlinks
> so depending which version you install the default version is the
> highest, but you can modify if needed.
>
> $ alternatives --display sphinx-build
> sphinx-build - status is auto.
>   link currently points to /usr/bin/sphinx-build-3.8
> /usr/bin/sphinx-build-3.6 - priority 36
> /usr/bin/sphinx-build-3.7 - priority 37
> /usr/bin/sphinx-build-3.8 - priority 38
> Current `best' version is /usr/bin/sphinx-build-3.8.
>
>   $ /usr/bin/sphinx-build-3.8
> usage: sphinx-build-3.8 [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
> sphinx-build-3.8: error: the following arguments are required:
> sourcedir, outputdir, filenames
>
> $ /usr/bin/sphinx-build
> usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
> sphinx-build: error: the following arguments are required: sourcedir,
> outputdir, filenames
>
> Regards
> Marco
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-09 16:14         ` Xavier Delaruelle
@ 2020-08-10  4:58           ` Xavier Delaruelle
  2020-08-10  7:16             ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-10  4:58 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin

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

[1]
https://ci.appveyor.com/project/xdelaruelle/modules/build/job/pjnscuqaaof9sxmn
[2] https://github.com/xdelaruelle/modules/blob/master/doc/source/conf.py
[3]
https://ci.appveyor.com/project/xdelaruelle/modules/builds/34510331/job/l9dwhpry900bgmwk


Le dim. 9 août 2020 à 18:14, Xavier Delaruelle <xavier.delaruelle@gmail.com>
a écrit :

> Hi Marco.
>
> Thanks a lot for your work on this issue.
>
> Regards,
> Xavier
>
> Le dim. 9 août 2020 à 17:22, Marco Atzeri <marco.atzeri@gmail.com> a
> écrit :
>
>> On 09.08.2020 10:38, Xavier Delaruelle wrote:
>> > If command names are versioned it is important to get a consistent way
>> > for users to install THE package that provides the 'sphinx-build'
>> > command (the one without version reference in the name). Without having
>> > to search which specific package provides this command and without
>> > having to update this package reference when a new minor version of
>> > Python is added.
>> >
>> > Xavier
>> >
>>
>> Hi Xavier,
>>
>> next upload will use "alternatives" to provide the simlinks
>> so depending which version you install the default version is the
>> highest, but you can modify if needed.
>>
>> $ alternatives --display sphinx-build
>> sphinx-build - status is auto.
>>   link currently points to /usr/bin/sphinx-build-3.8
>> /usr/bin/sphinx-build-3.6 - priority 36
>> /usr/bin/sphinx-build-3.7 - priority 37
>> /usr/bin/sphinx-build-3.8 - priority 38
>> Current `best' version is /usr/bin/sphinx-build-3.8.
>>
>>   $ /usr/bin/sphinx-build-3.8
>> usage: sphinx-build-3.8 [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
>> sphinx-build-3.8: error: the following arguments are required:
>> sourcedir, outputdir, filenames
>>
>> $ /usr/bin/sphinx-build
>> usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
>> sphinx-build: error: the following arguments are required: sourcedir,
>> outputdir, filenames
>>
>> Regards
>> Marco
>>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-10  4:58           ` Xavier Delaruelle
@ 2020-08-10  7:16             ` Marco Atzeri
  2020-08-10  8:11               ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-10  7:16 UTC (permalink / raw)
  To: Xavier Delaruelle; +Cc: cygwin

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






^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-10  7:16             ` Marco Atzeri
@ 2020-08-10  8:11               ` Marco Atzeri
  2020-08-10  8:39                 ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-10  8:11 UTC (permalink / raw)
  To: Xavier Delaruelle; +Cc: cygwin

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-10  8:11               ` Marco Atzeri
@ 2020-08-10  8:39                 ` Xavier Delaruelle
  2020-08-11  8:56                   ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-10  8:39 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin

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.atzeri@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
>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-10  8:39                 ` Xavier Delaruelle
@ 2020-08-11  8:56                   ` Xavier Delaruelle
  2020-08-11 11:21                     ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-11  8:56 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin

[-- Attachment #1: Type: text/plain, Size: 3162 bytes --]

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.delaruelle@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.atzeri@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
>>
>>

[-- Attachment #2: sphinxcontrib_requirements.patch --]
[-- Type: text/x-patch, Size: 1388 bytes --]

--- 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-11  8:56                   ` Xavier Delaruelle
@ 2020-08-11 11:21                     ` Marco Atzeri
  2020-08-12  7:03                       ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-11 11:21 UTC (permalink / raw)
  To: Xavier Delaruelle; +Cc: cygwin

On 11.08.2020 10:56, Xavier Delaruelle wrote:
> 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
> 

Hi Xavier,

please bottom post on this mailing list.

Noted, but sphinxcontrib-jsmath is not available so this requires.txt
is not 100% accurate anyway

Regards
Marco


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-11 11:21                     ` Marco Atzeri
@ 2020-08-12  7:03                       ` Marco Atzeri
  2020-08-12  7:16                         ` Xavier Delaruelle
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2020-08-12  7:03 UTC (permalink / raw)
  To: Xavier Delaruelle; +Cc: cygwin

On 11.08.2020 13:21, Marco Atzeri wrote:
> On 11.08.2020 10:56, Xavier Delaruelle wrote:
>> 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 
>>
>>
> 
> Hi Xavier,
> 
> please bottom post on this mailing list.
> 
> Noted, but sphinxcontrib-jsmath is not available so this requires.txt
> is not 100% accurate anyway
> 
> Regards
> Marco
> 

Hi Xavier,
updated dependencies for sphinx, you should see a pull also for

    python3X-sphinxcontrib-jsmath

no need to update the cygport, if the python packages
are available they are automatically added to the package dependencies

I am now checking all requires.txt for proper package pull

Sorry for inconvenience
Marco


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Missing 'sphinx-build' command from python37-sphinx package
  2020-08-12  7:03                       ` Marco Atzeri
@ 2020-08-12  7:16                         ` Xavier Delaruelle
  0 siblings, 0 replies; 14+ messages in thread
From: Xavier Delaruelle @ 2020-08-12  7:16 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin

Le mer. 12 août 2020 à 09:03, Marco Atzeri <marco.atzeri@gmail.com> a
écrit :

> On 11.08.2020 13:21, Marco Atzeri wrote:
> > On 11.08.2020 10:56, Xavier Delaruelle wrote:
> >> 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
> >>
> >>
> >
> > Hi Xavier,
> >
> > please bottom post on this mailing list.
> >
> > Noted, but sphinxcontrib-jsmath is not available so this requires.txt
> > is not 100% accurate anyway
> >
> > Regards
> > Marco
> >
>
> Hi Xavier,
> updated dependencies for sphinx, you should see a pull also for
>
>     python3X-sphinxcontrib-jsmath
>
> no need to update the cygport, if the python packages
> are available they are automatically added to the package dependencies
>
> I am now checking all requires.txt for proper package pull
>
> Sorry for inconvenience
> Marco
>

Hi Marco,

Thanks a lot for your work.

Regards,
Xavier

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-08-12  7:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08  7:44 Missing 'sphinx-build' command from python37-sphinx package Xavier Delaruelle
2020-08-08 19:07 ` Marco Atzeri
2020-08-08 20:07   ` Hamish MB
2020-08-09  8:38     ` Xavier Delaruelle
2020-08-09 15:22       ` Marco Atzeri
2020-08-09 16:14         ` Xavier Delaruelle
2020-08-10  4:58           ` Xavier Delaruelle
2020-08-10  7:16             ` Marco Atzeri
2020-08-10  8:11               ` Marco Atzeri
2020-08-10  8:39                 ` Xavier Delaruelle
2020-08-11  8:56                   ` Xavier Delaruelle
2020-08-11 11:21                     ` Marco Atzeri
2020-08-12  7:03                       ` Marco Atzeri
2020-08-12  7:16                         ` Xavier Delaruelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).