Bug#997027: python-vispy: FTBFS with sphinx 4.2.0

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


Source: python-vispy
Version: 0.6.6-1
Severity: serious
Tags: ftbfs patch

Hi Maintainer

python-vispy 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
@@ -349,9 +349,9 @@

 def setup(app):
     # Add custom CSS
-    app.add_stylesheet('css/font-mfizz.css')
-    app.add_stylesheet('css/font-awesome.css')
-    app.add_stylesheet('style.css')
+    app.add_css_file('css/font-mfizz.css')
+    app.add_css_file('css/font-awesome.css')
+    app.add_css_file('style.css')

 # -----------------------------------------------------------------------------
 # Source code links



More information about the debian-science-maintainers mailing list