Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mistune for openSUSE:Factory checked in at 2023-05-09 13:05:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mistune (Old) and /work/SRC/openSUSE:Factory/.python-mistune.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mistune" Tue May 9 13:05:56 2023 rev:16 rq:1084850 version:2.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes 2023-04-22 22:00:52.645366029 +0200 +++ /work/SRC/openSUSE:Factory/.python-mistune.new.1533/python-mistune.changes 2023-05-09 13:05:58.384533598 +0200 @@ -1,0 +2,7 @@ +Thu May 4 19:14:54 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.0.5: + * Improve on parsing list. Make it possible to customize list + regex + +------------------------------------------------------------------- Old: ---- mistune-2.0.4.tar.gz New: ---- mistune-2.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mistune.spec ++++++ --- /var/tmp/diff_new_pack.TwLtxY/_old 2023-05-09 13:05:59.084537764 +0200 +++ /var/tmp/diff_new_pack.TwLtxY/_new 2023-05-09 13:05:59.088537787 +0200 @@ -21,7 +21,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-%{modname} -Version: 2.0.4 +Version: 2.0.5 Release: 0 Summary: Python Markdown parser with renderers and plugins License: BSD-3-Clause @@ -30,7 +30,6 @@ Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros ++++++ mistune-2.0.4.tar.gz -> mistune-2.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.4/.github/workflows/python.yml new/mistune-2.0.5/.github/workflows/python.yml --- old/mistune-2.0.4/.github/workflows/python.yml 2022-07-15 01:26:55.000000000 +0200 +++ new/mistune-2.0.5/.github/workflows/python.yml 2023-02-07 06:42:19.000000000 +0100 @@ -21,7 +21,7 @@ max-parallel: 6 matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy2", "pypy3"] + python: ["2.7", "3.7", "3.8", "3.9", "3.10", "pypy3"] steps: - uses: actions/checkout@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.4/docs/advanced.rst new/mistune-2.0.5/docs/advanced.rst --- old/mistune-2.0.4/docs/advanced.rst 2022-07-15 01:26:55.000000000 +0200 +++ new/mistune-2.0.5/docs/advanced.rst 2023-02-07 06:42:19.000000000 +0100 @@ -123,7 +123,15 @@ Let's try to write a "spoiler" directive, which takes a hint:: - from .base import Directive + .. spoiler: SPOILER + + Spoilers in the information age are typically listed with a SPOILER! heading. + + + +The `Spoiler` directive:: + + from mistune.directives import Directive class Spoiler(Directive): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.4/docs/directives.rst new/mistune-2.0.5/docs/directives.rst --- old/mistune-2.0.4/docs/directives.rst 2022-07-15 01:26:55.000000000 +0200 +++ new/mistune-2.0.5/docs/directives.rst 2023-02-07 06:42:19.000000000 +0100 @@ -76,7 +76,7 @@ ) If **TOC** directive is enabled, the ``heading`` method of renderer will accept -one more paramter:: +one more parameter:: def heading(self, text, level): # without TOC directive diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.4/mistune/__init__.py new/mistune-2.0.5/mistune/__init__.py --- old/mistune-2.0.4/mistune/__init__.py 2022-07-15 01:26:55.000000000 +0200 +++ new/mistune-2.0.5/mistune/__init__.py 2023-02-07 06:42:19.000000000 +0100 @@ -60,4 +60,4 @@ 'html', 'create_markdown', 'markdown', ] -__version__ = '2.0.4' +__version__ = '2.0.5' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.4/mistune/block_parser.py new/mistune-2.0.5/mistune/block_parser.py --- old/mistune-2.0.4/mistune/block_parser.py 2022-07-15 01:26:55.000000000 +0200 +++ new/mistune-2.0.5/mistune/block_parser.py 2023-02-07 06:42:19.000000000 +0100 @@ -317,12 +317,7 @@ else: prefix = prefix + r'\d{0,9}\)' else: - if marker == '*': - prefix = prefix + r'\*' - elif marker == '+': - prefix = prefix + r'\+' - else: - prefix = prefix + r'-' + prefix = prefix + re.escape(marker) s1 = ' {' + str(len(marker) + 1) + ',}' if len(marker) > 4: