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 2023-01-30 17:09:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old) and /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MarkupSafe" Mon Jan 30 17:09:53 2023 rev:26 rq:1061901 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes 2022-06-28 15:21:19.533848638 +0200 +++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.32243/python-MarkupSafe.changes 2023-01-30 17:12:27.788940624 +0100 @@ -1,0 +2,6 @@ +Sun Jan 29 18:13:20 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.1.2: + * Fix ``striptags`` not stripping tags containing newlines. + +------------------------------------------------------------------- Old: ---- MarkupSafe-2.1.1.tar.gz New: ---- MarkupSafe-2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-MarkupSafe.spec ++++++ --- /var/tmp/diff_new_pack.icCH1z/_old 2023-01-30 17:12:28.168942682 +0100 +++ /var/tmp/diff_new_pack.icCH1z/_new 2023-01-30 17:12:28.176942726 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-MarkupSafe # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-MarkupSafe -Version: 2.1.1 +Version: 2.1.2 Release: 0 Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD-3-Clause ++++++ MarkupSafe-2.1.1.tar.gz -> MarkupSafe-2.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/CHANGES.rst new/MarkupSafe-2.1.2/CHANGES.rst --- old/MarkupSafe-2.1.1/CHANGES.rst 2022-03-14 17:53:29.000000000 +0100 +++ new/MarkupSafe-2.1.2/CHANGES.rst 2023-01-17 18:51:51.000000000 +0100 @@ -1,3 +1,12 @@ +Version 2.1.2 +------------- + +Released 2023-01-17 + +- Fix ``striptags`` not stripping tags containing newlines. + :issue:`310` + + Version 2.1.1 ------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/PKG-INFO new/MarkupSafe-2.1.2/PKG-INFO --- old/MarkupSafe-2.1.1/PKG-INFO 2022-03-15 14:06:38.150444500 +0100 +++ new/MarkupSafe-2.1.2/PKG-INFO 2023-01-17 18:52:09.244761500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: MarkupSafe -Version: 2.1.1 +Version: 2.1.2 Summary: Safely add untrusted strings to HTML/XML markup. Home-page: https://palletsprojects.com/p/markupsafe/ Author: Armin Ronacher @@ -15,7 +15,6 @@ Project-URL: Issue Tracker, https://github.com/pallets/markupsafe/issues/ Project-URL: Twitter, https://twitter.com/PalletsTeam Project-URL: Chat, https://discord.gg/pallets -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers @@ -97,5 +96,3 @@ - Website: https://palletsprojects.com/p/markupsafe/ - Twitter: https://twitter.com/PalletsTeam - Chat: https://discord.gg/pallets - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/requirements/build.txt new/MarkupSafe-2.1.2/requirements/build.txt --- old/MarkupSafe-2.1.1/requirements/build.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/MarkupSafe-2.1.2/requirements/build.txt 2023-01-17 18:51:51.000000000 +0100 @@ -0,0 +1,17 @@ +# SHA1:80754af91bfb6d1073585b046fe0a474ce868509 +# +# This file is autogenerated by pip-compile-multi +# To update, run: +# +# pip-compile-multi +# +build==0.9.0 + # via -r requirements/build.in +packaging==23.0 + # via build +pep517==0.13.0 + # via build +tomli==2.0.1 + # via + # build + # pep517 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/requirements/dev.txt new/MarkupSafe-2.1.2/requirements/dev.txt --- old/MarkupSafe-2.1.1/requirements/dev.txt 2022-02-16 20:02:27.000000000 +0100 +++ new/MarkupSafe-2.1.2/requirements/dev.txt 2023-01-17 18:51:51.000000000 +0100 @@ -8,51 +8,55 @@ -r docs.txt -r tests.txt -r typing.txt +build==0.9.0 + # via pip-tools +cachetools==5.2.0 + # via tox cfgv==3.3.1 # via pre-commit -click==8.0.3 +chardet==5.1.0 + # via tox +click==8.1.3 # via # pip-compile-multi # pip-tools -distlib==0.3.4 +colorama==0.4.6 + # via tox +distlib==0.3.6 # via virtualenv -filelock==3.5.1 +filelock==3.9.0 # via # tox # virtualenv -identify==2.4.10 +identify==2.5.11 # via pre-commit -nodeenv==1.6.0 +nodeenv==1.7.0 # via pre-commit -pep517==0.12.0 - # via pip-tools -pip-compile-multi==2.4.3 +pep517==0.13.0 + # via build +pip-compile-multi==2.6.1 # via -r requirements/dev.in -pip-tools==6.5.1 +pip-tools==6.12.1 # via pip-compile-multi -platformdirs==2.5.0 - # via virtualenv -pre-commit==2.17.0 - # via -r requirements/dev.in -pyyaml==6.0 - # via pre-commit -six==1.16.0 +platformdirs==2.6.2 # via # tox # virtualenv -toml==0.10.2 - # via - # pre-commit - # tox +pre-commit==2.21.0 + # via -r requirements/dev.in +pyproject-api==1.2.1 + # via tox +pyyaml==6.0 + # via pre-commit toposort==1.7 # via pip-compile-multi -tox==3.24.5 +tox==4.1.0 # via -r requirements/dev.in -virtualenv==20.13.1 +virtualenv==20.17.1 # via # pre-commit # tox -wheel==0.37.1 +wheel==0.38.4 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/requirements/docs.txt new/MarkupSafe-2.1.2/requirements/docs.txt --- old/MarkupSafe-2.1.1/requirements/docs.txt 2022-02-16 20:02:22.000000000 +0100 +++ new/MarkupSafe-2.1.2/requirements/docs.txt 2023-01-17 18:51:51.000000000 +0100 @@ -7,39 +7,37 @@ # alabaster==0.7.12 # via sphinx -babel==2.9.1 +babel==2.11.0 # via sphinx -certifi==2021.10.8 +certifi==2022.12.7 # via requests -charset-normalizer==2.0.12 +charset-normalizer==2.1.1 # via requests -docutils==0.17.1 +docutils==0.19 # via sphinx -idna==3.3 +idna==3.4 # via requests -imagesize==1.3.0 +imagesize==1.4.1 # via sphinx -jinja2==3.0.3 +jinja2==3.1.2 # via sphinx -markupsafe==2.0.1 +markupsafe==2.1.1 # via jinja2 -packaging==21.3 +packaging==22.0 # via # pallets-sphinx-themes # sphinx -pallets-sphinx-themes==2.0.2 +pallets-sphinx-themes==2.0.3 # via -r requirements/docs.in -pygments==2.11.2 +pygments==2.13.0 # via sphinx -pyparsing==3.0.7 - # via packaging -pytz==2021.3 +pytz==2022.7 # via babel -requests==2.27.1 +requests==2.28.1 # via sphinx snowballstemmer==2.2.0 # via sphinx -sphinx==4.4.0 +sphinx==6.0.0 # via # -r requirements/docs.in # pallets-sphinx-themes @@ -61,5 +59,5 @@ # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -urllib3==1.26.8 +urllib3==1.26.13 # via requests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/requirements/tests.txt new/MarkupSafe-2.1.2/requirements/tests.txt --- old/MarkupSafe-2.1.1/requirements/tests.txt 2022-02-16 20:02:23.000000000 +0100 +++ new/MarkupSafe-2.1.2/requirements/tests.txt 2023-01-17 18:51:51.000000000 +0100 @@ -5,19 +5,17 @@ # # pip-compile-multi # -attrs==21.4.0 +attrs==22.2.0 + # via pytest +exceptiongroup==1.1.0 # via pytest iniconfig==1.1.1 # via pytest -packaging==21.3 +packaging==22.0 # via pytest pluggy==1.0.0 # via pytest -py==1.11.0 - # via pytest -pyparsing==3.0.7 - # via packaging -pytest==7.0.1 +pytest==7.2.0 # via -r requirements/tests.in tomli==2.0.1 # via pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/requirements/typing.txt new/MarkupSafe-2.1.2/requirements/typing.txt --- old/MarkupSafe-2.1.1/requirements/typing.txt 2022-02-16 20:02:24.000000000 +0100 +++ new/MarkupSafe-2.1.2/requirements/typing.txt 2023-01-17 18:51:51.000000000 +0100 @@ -5,11 +5,11 @@ # # pip-compile-multi # -mypy==0.931 +mypy==0.991 # via -r requirements/typing.in mypy-extensions==0.4.3 # via mypy tomli==2.0.1 # via mypy -typing-extensions==4.1.1 +typing-extensions==4.4.0 # via mypy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/setup.cfg new/MarkupSafe-2.1.2/setup.cfg --- old/MarkupSafe-2.1.1/setup.cfg 2022-03-15 14:06:38.150444500 +0100 +++ new/MarkupSafe-2.1.2/setup.cfg 2023-01-17 18:52:09.248761400 +0100 @@ -61,6 +61,7 @@ E501 E722 W503 + B905 max-line-length = 80 [mypy] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/src/MarkupSafe.egg-info/PKG-INFO new/MarkupSafe-2.1.2/src/MarkupSafe.egg-info/PKG-INFO --- old/MarkupSafe-2.1.1/src/MarkupSafe.egg-info/PKG-INFO 2022-03-15 14:06:38.000000000 +0100 +++ new/MarkupSafe-2.1.2/src/MarkupSafe.egg-info/PKG-INFO 2023-01-17 18:52:09.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: MarkupSafe -Version: 2.1.1 +Version: 2.1.2 Summary: Safely add untrusted strings to HTML/XML markup. Home-page: https://palletsprojects.com/p/markupsafe/ Author: Armin Ronacher @@ -15,7 +15,6 @@ Project-URL: Issue Tracker, https://github.com/pallets/markupsafe/issues/ Project-URL: Twitter, https://twitter.com/PalletsTeam Project-URL: Chat, https://discord.gg/pallets -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers @@ -97,5 +96,3 @@ - Website: https://palletsprojects.com/p/markupsafe/ - Twitter: https://twitter.com/PalletsTeam - Chat: https://discord.gg/pallets - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/src/MarkupSafe.egg-info/SOURCES.txt new/MarkupSafe-2.1.2/src/MarkupSafe.egg-info/SOURCES.txt --- old/MarkupSafe-2.1.1/src/MarkupSafe.egg-info/SOURCES.txt 2022-03-15 14:06:38.000000000 +0100 +++ new/MarkupSafe-2.1.2/src/MarkupSafe.egg-info/SOURCES.txt 2023-01-17 18:52:09.000000000 +0100 @@ -14,6 +14,7 @@ docs/index.rst docs/license.rst docs/make.bat +requirements/build.txt requirements/dev.txt requirements/docs.txt requirements/tests.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/src/markupsafe/__init__.py new/MarkupSafe-2.1.2/src/markupsafe/__init__.py --- old/MarkupSafe-2.1.1/src/markupsafe/__init__.py 2022-03-14 17:53:29.000000000 +0100 +++ new/MarkupSafe-2.1.2/src/markupsafe/__init__.py 2023-01-17 18:51:51.000000000 +0100 @@ -11,10 +11,10 @@ pass -__version__ = "2.1.1" +__version__ = "2.1.2" -_strip_comments_re = re.compile(r"<!--.*?-->") -_strip_tags_re = re.compile(r"<.*?>") +_strip_comments_re = re.compile(r"<!--.*?-->", re.DOTALL) +_strip_tags_re = re.compile(r"<.*?>", re.DOTALL) def _simple_escaping_wrapper(name: str) -> t.Callable[..., "Markup"]: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/tests/test_markupsafe.py new/MarkupSafe-2.1.2/tests/test_markupsafe.py --- old/MarkupSafe-2.1.1/tests/test_markupsafe.py 2022-03-14 17:53:29.000000000 +0100 +++ new/MarkupSafe-2.1.2/tests/test_markupsafe.py 2023-01-17 18:51:51.000000000 +0100 @@ -75,6 +75,8 @@ "<em>Foo & Bar" "<!-- inner comment about <em> -->" "</em>" + "<!-- comment\nwith\nnewlines\n-->" + "<meta content='tag\nwith\nnewlines'>" ).striptags() == "Foo & Bar" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MarkupSafe-2.1.1/tox.ini new/MarkupSafe-2.1.2/tox.ini --- old/MarkupSafe-2.1.1/tox.ini 2022-02-16 19:46:40.000000000 +0100 +++ new/MarkupSafe-2.1.2/tox.ini 2023-01-17 18:51:51.000000000 +0100 @@ -1,24 +1,28 @@ [tox] envlist = - py3{11,10,9,8,7},pypy3{8,7} + py3{12,11,10,9,8,7} + pypy39 style typing docs skip_missing_interpreters = true [testenv] +package = wheel deps = -r requirements/tests.txt commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs} [testenv:style] deps = pre-commit skip_install = true -commands = pre-commit run --all-files --show-diff-on-failure +commands = pre-commit run --all-files [testenv:typing] +package = wheel deps = -r requirements/typing.txt commands = mypy [testenv:docs] +package = wheel deps = -r requirements/docs.txt commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html