15
0
Files
python-Markdown/markdown-3.0-python37.patch
Markéta Machová 0695aff0ff - update to version 3.10
- increase the minimum python version to 3.10 as required by upstream
- stop requiring importlib-metadata: it was only needed for python < 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=116
2025-11-05 10:22:51 +00:00

15 lines
515 B
Diff

---
tests/test_legacy.py | 1 +
1 file changed, 1 insertion(+)
--- a/tests/test_legacy.py
+++ b/tests/test_legacy.py
@@ -28,6 +28,7 @@ warnings.simplefilter('error')
# Except for the warnings that shouldn't
warnings.filterwarnings('default', category=PendingDeprecationWarning)
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
+warnings.filterwarnings('default', category=DeprecationWarning, module='yaml')
parent_test_dir = os.path.abspath(os.path.dirname(__file__))