[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52721] [PATCH]v2 gnu: python-pydata-sphinx-theme: Fix build.
From: |
Aleksandr Vityazev |
Subject: |
[bug#52721] [PATCH]v2 gnu: python-pydata-sphinx-theme: Fix build. |
Date: |
Wed, 22 Dec 2021 18:17:57 +0000 |
Hi,
On 2021-12-22, 10:53 +0000, Maxime Devos <maximedevos@telenet.be> wrote:
>> 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.
0001-gnu-python-pydata-sphinx-theme-Fix-build.patch
Description: pydata-sphinx-theme
--
Best regards,
Aleksandr Vityazev