nose: clean up, support Python 3.10. (#8825)

Due to changes in setuptools, we need to run 2to3 ourselves.
While we're at it, lets apply relevant patches from Debian.

https://salsa.debian.org/python-team/packages/nose/
This commit is contained in:
OscarL
2023-06-09 03:57:39 -03:00
committed by GitHub
parent e066a79237
commit 988d5a67e6
15 changed files with 771 additions and 55 deletions

View File

@@ -0,0 +1,29 @@
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sat, 8 Feb 2020 12:47:10 +0300
Subject: html_sidebars values should be lists, not single strings
The single string values were deprecated in Sphinx 1.7 and removed
in Sphinx 2.0.
---
doc/conf.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/conf.py b/doc/conf.py
index ac7f0cb..358414f 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -132,7 +132,13 @@ html_static_path = ['.static']
# Custom sidebar templates, maps document names to template names.
html_sidebars = {
- 'index': 'indexsidebar.html'
+ 'index': [
+ 'localtoc.html',
+ 'relations.html',
+ 'sourcelink.html',
+ 'indexsidebar.html',
+ 'searchbox.html',
+ ],
}
# Additional templates that should be rendered to pages, maps page names to