File: docutils-0.22.patch

package info (click to toggle)
sphinx-book-theme 1.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,108 kB
  • sloc: python: 1,302; javascript: 170; makefile: 56; sh: 8
file content (23 lines) | stat: -rw-r--r-- 998 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sun, 9 Nov 2025 13:33:52 +0300
Subject: Ignore warning about parser_name deprecation with Docutils 0.22

Forwarded: https://github.com/executablebooks/sphinx-book-theme/pull/919
---
 pyproject.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index dc9f390..aae3d14 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,8 @@ filterwarnings = [
   # Sphinx triggers this
   '''ignore:'imghdr' is deprecated and slated for removal in Python 3\.13:DeprecationWarning''',
   '''ignore:'sphinx.util.import_object' is deprecated.:PendingDeprecationWarning''',
-  'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning'
+  'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning',
+  'ignore:Argument "parser_name" will be removed in Docutils 2.0.:PendingDeprecationWarning',
 ]
 
 [project]