Hello community,

here is the log from the commit of package python-Markdown for openSUSE:Factory 
checked in at 2018-11-06 13:51:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Markdown (Old)
 and      /work/SRC/openSUSE:Factory/.python-Markdown.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Markdown"

Tue Nov  6 13:51:39 2018 rev:27 rq:643640 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Markdown/python-Markdown.changes  
2018-08-08 14:53:46.637577497 +0200
+++ /work/SRC/openSUSE:Factory/.python-Markdown.new/python-Markdown.changes     
2018-11-06 13:51:43.636469836 +0100
@@ -1,0 +2,38 @@
+Thu Oct 18 19:03:17 UTC 2018 - BenoƮt Monin <benoit.mo...@gmx.fr>
+
+- update to version 3.0: major release
+  * backwards-incompatible changes:
+    + enable_attributes keyword deprecated
+    + smart_emphasis keyword and smart_strong extension deprecated
+    + output_formats simplified to html and xhtml
+    + safe_mode and html_replacement_text keywords deprecated
+    + Positional arguments deprecated
+    + Extension name behavior has changed
+    + Extension configuration as part of extension name deprecated
+    + HeaderId extension deprecated
+    + Homegrown OrderedDict has been replaced with a purpose-built
+      Registry
+    + Markdown class instance references
+    + markdown.util.isBlockLevel deprecated
+    + md_globals keyword deprecated from extension API
+    + Added new, more flexible InlineProcessor class
+  * new features:
+    + a new testing framework is included as a part of the Markdown
+      library, which can also be used by third party extensions
+    + a new toc_depth parameter has been added to the Table of
+      Contents Extension
+    +  new toc_tokens attribute has been added to the Markdown class
+       by the Table of Contents Extension
+    + when the Table of Contents Extension is used in conjunction
+      with the Attribute Lists Extension and a data-toc-label
+      attribute is defined on a header, the content of the
+      data-toc-label attribute is now used as the content of the
+      Table of Contents item for that header
+    + additional CSS class names can be appended to Admonitions
+- update and adapt the patch for python-3.7:
+  * add markdown-3.0-python37.patch
+  * remove markdown-2.6.11-python37.patch
+- run the tests via unittest discover
+- remove nose from BuildRequires: not used anymore
+
+-------------------------------------------------------------------

Old:
----
  Markdown-2.6.11.tar.gz
  markdown-2.6.11-python37.patch

New:
----
  Markdown-3.0.tar.gz
  markdown-3.0-python37.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Markdown.spec ++++++
--- /var/tmp/diff_new_pack.IpESYT/_old  2018-11-06 13:51:44.316468912 +0100
+++ /var/tmp/diff_new_pack.IpESYT/_new  2018-11-06 13:51:44.320468907 +0100
@@ -12,23 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Markdown
-Version:        2.6.11
+Version:        3.0
 Release:        0
 Summary:        Python implementation of Markdown
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            https://python-markdown.github.io/
 Source:         
https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
-Patch0:         markdown-2.6.11-python37.patch
+Patch0:         markdown-3.0-python37.patch
 BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
@@ -66,7 +65,7 @@
 %python_clone -a %{buildroot}%{_bindir}/markdown_py
 
 %check
-%python_exec run-tests.py
+%python_exec -m unittest discover
 
 %post
 %python_install_alternative markdown_py

++++++ Markdown-2.6.11.tar.gz -> Markdown-3.0.tar.gz ++++++
++++ 13128 lines of diff (skipped)

++++++ markdown-2.6.11-python37.patch -> markdown-3.0-python37.patch ++++++
--- /work/SRC/openSUSE:Factory/python-Markdown/markdown-2.6.11-python37.patch   
2018-08-08 14:53:46.197576770 +0200
+++ /work/SRC/openSUSE:Factory/.python-Markdown.new/markdown-3.0-python37.patch 
2018-11-06 13:51:43.504470015 +0100
@@ -1,11 +1,10 @@
-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')
+--- Markdown-3.0/tests/test_legacy.py.orig     2018-10-18 20:59:01.521952070 
+0200
++++ Markdown-3.0/tests/test_legacy.py  2018-10-18 20:59:20.746395446 +0200
+@@ -29,6 +29,7 @@
+ # 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__))
  
-     nose.main(addplugins=[HtmlOutput(), Markdown()])


Reply via email to