Bug#997026: libgpuarray: FTBFS with sphinx 4.2.0

Graham Inggs ginggs at debian.org
Fri Oct 22 17:26:33 BST 2021


Source: libgpuarray
Version: 0.7.6-6
Severity: serious
Tags: ftbfs patch

Hi Maintainer

libgpuarray FTBFS with sphinx 4.2.0 since add_stylesheet was
deprecated.  It can be fixed by the simple patch below.

Regards
Graham


--- a/doc/conf.py
+++ b/doc/conf.py
@@ -116,7 +116,7 @@
     html_theme = 'sphinx_rtd_theme'

 def setup(app):
-    app.add_stylesheet('fix_rtd.css')
+    app.add_css_file('fix_rtd.css')

 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the



More information about the debian-science-maintainers mailing list