Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-MarkupSafe for
openSUSE:Factory checked in at 2024-02-06 16:32:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
and /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MarkupSafe"
Tue Feb 6 16:32:25 2024 rev:30 rq:1143981 version:2.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes
2024-01-29 22:25:59.786878357 +0100
+++
/work/SRC/openSUSE:Factory/.python-MarkupSafe.new.1815/python-MarkupSafe.changes
2024-02-06 16:32:29.618570654 +0100
@@ -1,0 +2,6 @@
+Sun Feb 4 10:45:37 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 2.1.5:
+ * Fix striptags not collapsing spaces. :issue:`417`
+
+-------------------------------------------------------------------
Old:
----
MarkupSafe-2.1.4.tar.gz
New:
----
MarkupSafe-2.1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-MarkupSafe.spec ++++++
--- /var/tmp/diff_new_pack.bdQEZf/_old 2024-02-06 16:32:30.678609244 +0100
+++ /var/tmp/diff_new_pack.bdQEZf/_new 2024-02-06 16:32:30.682609390 +0100
@@ -19,7 +19,7 @@
%bcond_without test
%{?sle15_python_module_pythons}
Name: python-MarkupSafe
-Version: 2.1.4
+Version: 2.1.5
Release: 0
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
License: BSD-3-Clause
++++++ MarkupSafe-2.1.4.tar.gz -> MarkupSafe-2.1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/CHANGES.rst
new/MarkupSafe-2.1.5/CHANGES.rst
--- old/MarkupSafe-2.1.4/CHANGES.rst 2024-01-19 23:23:07.000000000 +0100
+++ new/MarkupSafe-2.1.5/CHANGES.rst 2024-02-02 17:03:42.000000000 +0100
@@ -1,3 +1,11 @@
+Version 2.1.5
+-------------
+
+Released 2024-02-02
+
+- Fix ``striptags`` not collapsing spaces. :issue:`417`
+
+
Version 2.1.4
-------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/PKG-INFO
new/MarkupSafe-2.1.5/PKG-INFO
--- old/MarkupSafe-2.1.4/PKG-INFO 2024-01-19 23:23:15.583197400 +0100
+++ new/MarkupSafe-2.1.5/PKG-INFO 2024-02-02 17:03:50.977184500 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: MarkupSafe
-Version: 2.1.4
+Version: 2.1.5
Summary: Safely add untrusted strings to HTML/XML markup.
Home-page: https://palletsprojects.com/p/markupsafe/
Maintainer: Pallets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/requirements/build.txt
new/MarkupSafe-2.1.5/requirements/build.txt
--- old/MarkupSafe-2.1.4/requirements/build.txt 2024-01-19 23:23:07.000000000
+0100
+++ new/MarkupSafe-2.1.5/requirements/build.txt 2024-02-02 17:03:42.000000000
+0100
@@ -1,13 +1,22 @@
-# SHA1:80754af91bfb6d1073585b046fe0a474ce868509
#
-# This file is autogenerated by pip-compile-multi
-# To update, run:
+# This file is autogenerated by pip-compile with Python 3.7
+# by the following command:
#
-# pip-compile-multi
+# pip-compile build.in
#
-build==0.10.0
- # via -r requirements/build.in
-packaging==23.1
+build==1.0.3
+ # via -r build.in
+importlib-metadata==6.7.0
+ # via build
+packaging==23.2
# via build
pyproject-hooks==1.0.0
# via build
+tomli==2.0.1
+ # via
+ # build
+ # pyproject-hooks
+typing-extensions==4.7.1
+ # via importlib-metadata
+zipp==3.15.0
+ # via importlib-metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/requirements/dev.txt
new/MarkupSafe-2.1.5/requirements/dev.txt
--- old/MarkupSafe-2.1.4/requirements/dev.txt 2024-01-19 23:23:07.000000000
+0100
+++ new/MarkupSafe-2.1.5/requirements/dev.txt 2024-02-02 17:03:42.000000000
+0100
@@ -1,64 +1,141 @@
-# SHA1:54b5b77ec8c7a0064ffa93b2fd16cb0130ba177c
#
-# This file is autogenerated by pip-compile-multi
-# To update, run:
+# This file is autogenerated by pip-compile with Python 3.7
+# by the following command:
#
-# pip-compile-multi
+# pip-compile dev.in
#
--r docs.txt
--r tests.txt
--r typing.txt
-build==0.10.0
- # via pip-tools
-cachetools==5.3.1
+alabaster==0.7.13
+ # via sphinx
+babel==2.14.0
+ # via sphinx
+cachetools==5.3.2
# via tox
+certifi==2024.2.2
+ # via requests
cfgv==3.3.1
# via pre-commit
-chardet==5.1.0
+chardet==5.2.0
# via tox
-click==8.1.3
- # via
- # pip-compile-multi
- # pip-tools
+charset-normalizer==3.3.2
+ # via requests
colorama==0.4.6
# via tox
-distlib==0.3.6
+distlib==0.3.8
# via virtualenv
+docutils==0.19
+ # via sphinx
+exceptiongroup==1.2.0
+ # via pytest
filelock==3.12.2
# via
# tox
# virtualenv
identify==2.5.24
# via pre-commit
+idna==3.6
+ # via requests
+imagesize==1.4.1
+ # via sphinx
+importlib-metadata==6.7.0
+ # via
+ # pallets-sphinx-themes
+ # pluggy
+ # pre-commit
+ # pytest
+ # sphinx
+ # tox
+ # virtualenv
+iniconfig==2.0.0
+ # via pytest
+jinja2==3.1.3
+ # via sphinx
+markupsafe==2.1.4
+ # via jinja2
+mypy==1.4.1
+ # via -r typing.in
+mypy-extensions==1.0.0
+ # via mypy
nodeenv==1.8.0
# via pre-commit
-pip-compile-multi==2.6.3
- # via -r requirements/dev.in
-pip-tools==6.13.0
- # via pip-compile-multi
-platformdirs==3.8.0
+packaging==23.2
+ # via
+ # pallets-sphinx-themes
+ # pyproject-api
+ # pytest
+ # sphinx
+ # tox
+pallets-sphinx-themes==2.0.3
+ # via -r docs.in
+platformdirs==4.0.0
# via
# tox
# virtualenv
-pre-commit==3.3.3
- # via -r requirements/dev.in
-pyproject-api==1.5.2
+pluggy==1.2.0
+ # via
+ # pytest
+ # tox
+pre-commit==2.21.0
+ # via -r dev.in
+pygments==2.17.2
+ # via sphinx
+pyproject-api==1.5.3
# via tox
-pyproject-hooks==1.0.0
- # via build
-pyyaml==6.0
+pytest==7.4.4
+ # via -r tests.in
+pytz==2024.1
+ # via babel
+pyyaml==6.0.1
# via pre-commit
-toposort==1.10
- # via pip-compile-multi
-tox==4.6.3
- # via -r requirements/dev.in
-virtualenv==20.23.1
+requests==2.31.0
+ # via sphinx
+snowballstemmer==2.2.0
+ # via sphinx
+sphinx==5.3.0
+ # via
+ # -r docs.in
+ # pallets-sphinx-themes
+ # sphinx-issues
+ # sphinxcontrib-log-cabinet
+sphinx-issues==3.0.1
+ # via -r docs.in
+sphinxcontrib-applehelp==1.0.2
+ # via sphinx
+sphinxcontrib-devhelp==1.0.2
+ # via sphinx
+sphinxcontrib-htmlhelp==2.0.0
+ # via sphinx
+sphinxcontrib-jsmath==1.0.1
+ # via sphinx
+sphinxcontrib-log-cabinet==1.0.1
+ # via -r docs.in
+sphinxcontrib-qthelp==1.0.3
+ # via sphinx
+sphinxcontrib-serializinghtml==1.1.5
+ # via sphinx
+tomli==2.0.1
+ # via
+ # mypy
+ # pyproject-api
+ # pytest
+ # tox
+tox==4.8.0
+ # via -r dev.in
+typed-ast==1.5.5
+ # via mypy
+typing-extensions==4.7.1
+ # via
+ # importlib-metadata
+ # mypy
+ # platformdirs
+ # tox
+urllib3==2.0.7
+ # via requests
+virtualenv==20.25.0
# via
# pre-commit
# tox
-wheel==0.40.0
- # via pip-tools
+zipp==3.15.0
+ # via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
-# pip
# setuptools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/requirements/docs.txt
new/MarkupSafe-2.1.5/requirements/docs.txt
--- old/MarkupSafe-2.1.4/requirements/docs.txt 2024-01-19 23:23:07.000000000
+0100
+++ new/MarkupSafe-2.1.5/requirements/docs.txt 2024-02-02 17:03:42.000000000
+0100
@@ -1,61 +1,70 @@
-# SHA1:45c590f97fe95b8bdc755eef796e91adf5fbe4ea
#
-# This file is autogenerated by pip-compile-multi
-# To update, run:
+# This file is autogenerated by pip-compile with Python 3.7
+# by the following command:
#
-# pip-compile-multi
+# pip-compile docs.in
#
alabaster==0.7.13
# via sphinx
-babel==2.12.1
+babel==2.14.0
# via sphinx
-certifi==2023.5.7
+certifi==2024.2.2
# via requests
-charset-normalizer==3.1.0
+charset-normalizer==3.3.2
# via requests
-docutils==0.20.1
+docutils==0.19
# via sphinx
-idna==3.4
+idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
-jinja2==3.1.2
+importlib-metadata==6.7.0
+ # via
+ # pallets-sphinx-themes
+ # sphinx
+jinja2==3.1.3
# via sphinx
-markupsafe==2.1.3
+markupsafe==2.1.4
# via jinja2
-packaging==23.1
+packaging==23.2
# via
# pallets-sphinx-themes
# sphinx
-pallets-sphinx-themes==2.1.1
- # via -r requirements/docs.in
-pygments==2.15.1
+pallets-sphinx-themes==2.0.3
+ # via -r docs.in
+pygments==2.17.2
# via sphinx
+pytz==2024.1
+ # via babel
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
-sphinx==7.0.1
+sphinx==5.3.0
# via
- # -r requirements/docs.in
+ # -r docs.in
# pallets-sphinx-themes
# sphinx-issues
# sphinxcontrib-log-cabinet
sphinx-issues==3.0.1
- # via -r requirements/docs.in
-sphinxcontrib-applehelp==1.0.4
+ # via -r docs.in
+sphinxcontrib-applehelp==1.0.2
# via sphinx
sphinxcontrib-devhelp==1.0.2
# via sphinx
-sphinxcontrib-htmlhelp==2.0.1
+sphinxcontrib-htmlhelp==2.0.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
- # via -r requirements/docs.in
+ # via -r docs.in
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
-urllib3==2.0.3
+typing-extensions==4.7.1
+ # via importlib-metadata
+urllib3==2.0.7
# via requests
+zipp==3.15.0
+ # via importlib-metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/requirements/tests.txt
new/MarkupSafe-2.1.5/requirements/tests.txt
--- old/MarkupSafe-2.1.4/requirements/tests.txt 2024-01-19 23:23:07.000000000
+0100
+++ new/MarkupSafe-2.1.5/requirements/tests.txt 2024-02-02 17:03:42.000000000
+0100
@@ -1,15 +1,26 @@
-# SHA1:0eaa389e1fdb3a1917c0f987514bd561be5718ee
#
-# This file is autogenerated by pip-compile-multi
-# To update, run:
+# This file is autogenerated by pip-compile with Python 3.7
+# by the following command:
#
-# pip-compile-multi
+# pip-compile tests.in
#
+exceptiongroup==1.2.0
+ # via pytest
+importlib-metadata==6.7.0
+ # via
+ # pluggy
+ # pytest
iniconfig==2.0.0
# via pytest
-packaging==23.1
+packaging==23.2
# via pytest
pluggy==1.2.0
# via pytest
-pytest==7.4.0
- # via -r requirements/tests.in
+pytest==7.4.4
+ # via -r tests.in
+tomli==2.0.1
+ # via pytest
+typing-extensions==4.7.1
+ # via importlib-metadata
+zipp==3.15.0
+ # via importlib-metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/requirements/typing.txt
new/MarkupSafe-2.1.5/requirements/typing.txt
--- old/MarkupSafe-2.1.4/requirements/typing.txt 2024-01-19
23:23:07.000000000 +0100
+++ new/MarkupSafe-2.1.5/requirements/typing.txt 2024-02-02
17:03:42.000000000 +0100
@@ -1,13 +1,16 @@
-# SHA1:7983aaa01d64547827c20395d77e248c41b2572f
#
-# This file is autogenerated by pip-compile-multi
-# To update, run:
+# This file is autogenerated by pip-compile with Python 3.7
+# by the following command:
#
-# pip-compile-multi
+# pip-compile typing.in
#
mypy==1.4.1
- # via -r requirements/typing.in
+ # via -r typing.in
mypy-extensions==1.0.0
# via mypy
-typing-extensions==4.6.3
+tomli==2.0.1
+ # via mypy
+typed-ast==1.5.5
+ # via mypy
+typing-extensions==4.7.1
# via mypy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/src/MarkupSafe.egg-info/PKG-INFO
new/MarkupSafe-2.1.5/src/MarkupSafe.egg-info/PKG-INFO
--- old/MarkupSafe-2.1.4/src/MarkupSafe.egg-info/PKG-INFO 2024-01-19
23:23:15.000000000 +0100
+++ new/MarkupSafe-2.1.5/src/MarkupSafe.egg-info/PKG-INFO 2024-02-02
17:03:50.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: MarkupSafe
-Version: 2.1.4
+Version: 2.1.5
Summary: Safely add untrusted strings to HTML/XML markup.
Home-page: https://palletsprojects.com/p/markupsafe/
Maintainer: Pallets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/src/markupsafe/__init__.py
new/MarkupSafe-2.1.5/src/markupsafe/__init__.py
--- old/MarkupSafe-2.1.4/src/markupsafe/__init__.py 2024-01-19
23:23:07.000000000 +0100
+++ new/MarkupSafe-2.1.5/src/markupsafe/__init__.py 2024-02-02
17:03:42.000000000 +0100
@@ -13,7 +13,7 @@
_P = te.ParamSpec("_P")
-__version__ = "2.1.4"
+__version__ = "2.1.5"
def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P,
Markup]":
@@ -158,8 +158,7 @@
>>> Markup("Main »\t<em>About</em>").striptags()
'Main » About'
"""
- # collapse spaces
- value = " ".join(self.split())
+ value = str(self)
# Look for comments then tags separately. Otherwise, a comment that
# contains a tag would end early, leaving some of the comment behind.
@@ -193,6 +192,8 @@
value = f"{value[:start]}{value[end + 1:]}"
+ # collapse spaces
+ value = " ".join(value.split())
return self.__class__(value).unescape()
@classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/tests/test_markupsafe.py
new/MarkupSafe-2.1.5/tests/test_markupsafe.py
--- old/MarkupSafe-2.1.4/tests/test_markupsafe.py 2024-01-19
23:23:07.000000000 +0100
+++ new/MarkupSafe-2.1.5/tests/test_markupsafe.py 2024-02-02
17:03:42.000000000 +0100
@@ -73,7 +73,7 @@
Markup(
"<!-- outer comment -->"
"<em>Foo & Bar"
- "<!-- inner comment about <em> -->"
+ " <!-- inner comment about <em> -->\n "
"</em>"
"<!-- comment\nwith\nnewlines\n-->"
"<meta content='tag\nwith\nnewlines'>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MarkupSafe-2.1.4/tox.ini new/MarkupSafe-2.1.5/tox.ini
--- old/MarkupSafe-2.1.4/tox.ini 2024-01-19 23:23:07.000000000 +0100
+++ new/MarkupSafe-2.1.5/tox.ini 2024-02-02 17:03:42.000000000 +0100
@@ -1,6 +1,6 @@
[tox]
envlist =
- py3{12,11,10,9,8}
+ py3{12,11,10,9,8,7}
pypy310
style
typing
@@ -24,3 +24,17 @@
[testenv:docs]
deps = -r requirements/docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs
{envtmpdir}/html
+
+[testenv:update-requirements]
+deps =
+ pip-tools
+ pre-commit
+skip_install = true
+change_dir = requirements
+commands =
+ pre-commit autoupdate -j4
+ pip-compile -U build.in
+ pip-compile -U docs.in
+ pip-compile -U tests.in
+ pip-compile -U typing.in
+ pip-compile -U dev.in