GNU bug report logs -
#52721
[PATCH] gnu: python-pydata-sphinx-theme: Fix build.
Previous Next
Full log
Message #14 received at 52721 <at> debbugs.gnu.org (full text, mbox):
Aleksandr Vityazev schreef op wo 22-12-2021 om 18:17 [+0000]:
>
> > > the build fails because a package is required python-docutils <
> > > 0.17.
> >
> > Is python-docutils<0.17 truly required, or are the version
> > requirements
> > in the source code overly strict? If it's the latter, you could
> > patch
> > the source code to relax the requirements.
> >
> > The latter happens often, because library developers often don't
> > know
> > in advance whether the library is compatible with future versions
> > of
> > the dependencies.
>
> For version 0.6.3 there is a file
> pydata-sphinx-theme-0.6.3/docs/requirements.txt where the last line
> contains:
>
> docutils==0.16 # temporary pin (0.17 broken captions).
>
> Also, the master version requires "docutils!=0.17.0.
>
> So I created a patch that adds an extra phase.
In that case, docutil<0.17 appears to be actually required, so the
solution would be to use docutils=0.15 as you did originally, I think?
Preferably with a comment ; captions are broken in 0.17..
Greetings,
Maxime.
This bug report was last modified 3 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.