14
0

- Add patch to build with python 3.7:

* markdown-2.6.11-python37.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=45
This commit is contained in:
Tomáš Chvátal
2018-08-07 07:52:37 +00:00
committed by Git OBS Bridge
parent e0e5445fe7
commit e3e6d37042
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
diff -up Markdown-2.6.11/tests/__init__.py.orig markdown/tests/__init__.py
--- Markdown-2.6.11/tests/__init__.py.orig 2018-06-03 10:51:55.518781537 +0000
+++ Markdown-2.6.11/tests/__init__.py 2018-06-03 10:59:34.088350325 +0000
@@ -185,5 +185,7 @@ def run():
# 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')
+ warnings.filterwarnings('default', category=DeprecationWarning, module='nose')
nose.main(addplugins=[HtmlOutput(), Markdown()])