python-sphinx-book-theme/919.patch
2025-12-12 15:23:51 -07:00

24 lines
1 KiB
Diff

From 6d313dd98fe04f4492066727828471c677e17159 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <mitya57@gmail.com>
Date: Sun, 9 Nov 2025 13:33:52 +0300
Subject: [PATCH] Ignore PendingDeprecationWarning about parser_name
deprecation with Docutils 0.22
---
pyproject.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 290291cf..8cd058c4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,7 +25,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]