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 2022-02-17 23:40:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mistune (Old) and /work/SRC/openSUSE:Factory/.python-mistune.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mistune" Thu Feb 17 23:40:00 2022 rev:13 rq:955499 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes 2022-01-08 23:23:09.586209140 +0100 +++ /work/SRC/openSUSE:Factory/.python-mistune.new.1958/python-mistune.changes 2022-02-17 23:40:55.255700718 +0100 @@ -1,0 +2,7 @@ +Wed Feb 16 23:12:46 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 2.0.2: + * Fix escape_url +- drop 295-overagreesive-escape_url.patch (upstream) + +------------------------------------------------------------------- Old: ---- 295-overagreesive-escape_url.patch mistune-2.0.1.tar.gz New: ---- mistune-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mistune.spec ++++++ --- /var/tmp/diff_new_pack.S8Ce37/_old 2022-02-17 23:40:55.819700714 +0100 +++ /var/tmp/diff_new_pack.S8Ce37/_new 2022-02-17 23:40:55.827700714 +0100 @@ -20,16 +20,13 @@ %define modname mistune %define skip_python2 1 Name: python-%{modname} -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: Python Markdown parser with renderers and plugins License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/lepture/mistune Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM 295-overagreesive-escape_url.patch gh#lepture/mistune#295 mc...@suse.com -# Make mistune.util.escape_url less aggressive -Patch0: 295-overagreesive-escape_url.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} ++++++ mistune-2.0.1.tar.gz -> mistune-2.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.1/mistune/__init__.py new/mistune-2.0.2/mistune/__init__.py --- old/mistune-2.0.1/mistune/__init__.py 2021-12-30 11:35:05.000000000 +0100 +++ new/mistune-2.0.2/mistune/__init__.py 2022-01-14 07:27:29.000000000 +0100 @@ -60,4 +60,4 @@ 'html', 'create_markdown', 'markdown', ] -__version__ = '2.0.1' +__version__ = '2.0.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.1/mistune/util.py new/mistune-2.0.2/mistune/util.py --- old/mistune-2.0.1/mistune/util.py 2021-12-30 11:35:05.000000000 +0100 +++ new/mistune-2.0.2/mistune/util.py 2022-01-14 07:27:29.000000000 +0100 @@ -20,7 +20,12 @@ def escape_url(link): - safe = '/#:()*?=%@+,&' + safe = ( + ':/?#@' # gen-delims - '[]' (rfc3986) + '!$&()*+,;=' # sub-delims - "'" (rfc3986) + '%' # leave already-encoded octets alone + ) + if html is None: return quote(link.encode('utf-8'), safe=safe) return html.escape(quote(html.unescape(link), safe=safe)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mistune-2.0.1/setup.cfg new/mistune-2.0.2/setup.cfg --- old/mistune-2.0.1/setup.cfg 2021-12-30 11:35:05.000000000 +0100 +++ new/mistune-2.0.2/setup.cfg 2022-01-14 07:27:29.000000000 +0100 @@ -1,6 +1,6 @@ [metadata] name = mistune -version = 2.0.1 +version = attr: mistune.__version__ author = Hsiaoming Yang author_email = m...@lepture.com license = BSD 3-Clause License