Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Flask-WTF for
openSUSE:Factory checked in at 2022-04-10 00:42:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-WTF (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-WTF.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-WTF"
Sun Apr 10 00:42:04 2022 rev:11 rq:967944 version:1.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-WTF/python-Flask-WTF.changes
2022-02-21 17:47:43.315614062 +0100
+++
/work/SRC/openSUSE:Factory/.python-Flask-WTF.new.1900/python-Flask-WTF.changes
2022-04-10 00:42:08.608954246 +0200
@@ -1,0 +2,7 @@
+Sat Apr 9 02:30:54 UTC 2022 - Arun Persaud <[email protected]>
+
+- update to version 1.0.1:
+ * Update compatibility with the latest Werkzeug
+ release. :issue:`511`
+
+-------------------------------------------------------------------
Old:
----
Flask-WTF-1.0.0.tar.gz
New:
----
Flask-WTF-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-WTF.spec ++++++
--- /var/tmp/diff_new_pack.OKeA78/_old 2022-04-10 00:42:09.912939745 +0200
+++ /var/tmp/diff_new_pack.OKeA78/_new 2022-04-10 00:42:09.916939701 +0200
@@ -20,7 +20,7 @@
%define skip_python2 1
%bcond_without test
Name: python-Flask-WTF
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: WTForms support for Flask
License: BSD-3-Clause
++++++ Flask-WTF-1.0.0.tar.gz -> Flask-WTF-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/PKG-INFO new/Flask-WTF-1.0.1/PKG-INFO
--- old/Flask-WTF-1.0.0/PKG-INFO 2021-11-07 16:33:49.630237600 +0100
+++ new/Flask-WTF-1.0.1/PKG-INFO 2022-03-31 20:08:15.430014400 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: Flask-WTF
-Version: 1.0.0
+Version: 1.0.1
Summary: Form rendering, validation, and CSRF protection for Flask with
WTForms.
Home-page: https://github.com/wtforms/flask-wtf/
Author: Dan Jacob
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/docs/changes.rst
new/Flask-WTF-1.0.1/docs/changes.rst
--- old/Flask-WTF-1.0.0/docs/changes.rst 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/docs/changes.rst 2022-03-31 20:07:01.000000000
+0200
@@ -1,9 +1,19 @@
Changes
=======
+Version 1.0.1
+-------------
+
+Released 2022-03-31
+
+- Update compatibility with the latest Werkzeug release. :issue:`511`
+
+
Version 1.0.0
--------------
+Released 2021-11-07
+
- Deprecated items removal :pr:`484`
- Support for alternatives captcha services :pr:`425` :pr:`342`
:pr:`387` :issue:`384`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/requirements/dev.txt
new/Flask-WTF-1.0.1/requirements/dev.txt
--- old/Flask-WTF-1.0.0/requirements/dev.txt 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/requirements/dev.txt 2022-03-31 19:59:02.000000000
+0200
@@ -1,139 +1,55 @@
+# SHA1:54196885a2acdc154945dacc9470e2a9900fd8c1
#
-# This file is autogenerated by pip-compile
+# This file is autogenerated by pip-compile-multi
# To update, run:
#
-# pip-compile requirements/dev.in
+# pip-compile-multi
#
-alabaster==0.7.12
- # via sphinx
-attrs==21.2.0
- # via pytest
-babel==2.9.1
- # via sphinx
-backports.entry-points-selectable==1.1.0
- # via virtualenv
-certifi==2021.5.30
- # via requests
+-r docs.txt
+-r tests.txt
cfgv==3.3.1
# via pre-commit
-charset-normalizer==2.0.6
- # via requests
-click==8.0.1
+click==8.1.1
# via
- # flask
+ # pip-compile-multi
# pip-tools
-distlib==0.3.3
+distlib==0.3.4
# via virtualenv
-docutils==0.17.1
- # via sphinx
-filelock==3.3.0
+filelock==3.6.0
# via
# tox
# virtualenv
-flask==2.0.2
- # via flask-uploads
-flask-uploads==0.2.1
- # via -r tests.in
-identify==2.3.0
+identify==2.4.12
# via pre-commit
-idna==3.2
- # via requests
-imagesize==1.2.0
- # via sphinx
-iniconfig==1.1.1
- # via pytest
-itsdangerous==2.0.1
- # via flask
-jinja2==3.0.2
- # via
- # flask
- # sphinx
-markupsafe==2.0.1
- # via jinja2
nodeenv==1.6.0
# via pre-commit
-packaging==21.0
- # via
- # pallets-sphinx-themes
- # pytest
- # sphinx
- # tox
-pallets-sphinx-themes==2.0.1
- # via -r docs.in
-pep517==0.11.0
+pep517==0.12.0
# via pip-tools
-pip-tools==6.4.0
- # via -r dev.in
-platformdirs==2.4.0
+pip-compile-multi==2.4.4
+ # via -r requirements/dev.in
+pip-tools==6.5.1
+ # via pip-compile-multi
+platformdirs==2.5.1
# via virtualenv
-pluggy==1.0.0
- # via
- # pytest
- # tox
-pre-commit==2.15.0
- # via -r dev.in
-py==1.10.0
- # via
- # pytest
- # tox
-pygments==2.10.0
- # via sphinx
-pyparsing==2.4.7
- # via packaging
-pytest==6.2.5
- # via -r tests.in
-pytz==2021.3
- # via babel
-pyyaml==5.4.1
+pre-commit==2.17.0
+ # via -r requirements/dev.in
+pyyaml==6.0
# via pre-commit
-requests==2.26.0
- # via sphinx
six==1.16.0
# via
# tox
# virtualenv
-snowballstemmer==2.1.0
- # via sphinx
-sphinx==4.2.0
- # via
- # -r docs.in
- # pallets-sphinx-themes
- # sphinx-issues
- # sphinxcontrib-log-cabinet
-sphinx-issues==1.2.0
- # 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
-toml==0.10.2
- # via
- # pre-commit
- # pytest
- # tox
-tomli==1.2.1
+tomli==2.0.1
# via pep517
-tox==3.24.4
- # via -r dev.in
-urllib3==1.26.7
- # via requests
-virtualenv==20.8.1
+toposort==1.7
+ # via pip-compile-multi
+tox==3.24.5
+ # via -r requirements/dev.in
+virtualenv==20.14.0
# via
# pre-commit
# tox
-werkzeug==2.0.2
- # via flask
-wheel==0.37.0
+wheel==0.37.1
# 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/Flask-WTF-1.0.0/requirements/docs.txt
new/Flask-WTF-1.0.1/requirements/docs.txt
--- old/Flask-WTF-1.0.0/requirements/docs.txt 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/requirements/docs.txt 2022-03-31 19:59:02.000000000
+0200
@@ -1,51 +1,52 @@
+# SHA1:45c590f97fe95b8bdc755eef796e91adf5fbe4ea
#
-# This file is autogenerated by pip-compile
+# This file is autogenerated by pip-compile-multi
# To update, run:
#
-# pip-compile requirements/docs.in
+# pip-compile-multi
#
alabaster==0.7.12
# via sphinx
babel==2.9.1
# via sphinx
-certifi==2021.5.30
+certifi==2021.10.8
# via requests
-charset-normalizer==2.0.6
+charset-normalizer==2.0.12
# via requests
docutils==0.17.1
# via sphinx
-idna==3.2
+idna==3.3
# via requests
-imagesize==1.2.0
+imagesize==1.3.0
# via sphinx
-jinja2==3.0.2
+jinja2==3.1.1
# via sphinx
-markupsafe==2.0.1
+markupsafe==2.1.1
# via jinja2
-packaging==21.0
+packaging==21.3
# via
# pallets-sphinx-themes
# sphinx
-pallets-sphinx-themes==2.0.1
+pallets-sphinx-themes==2.0.2
# via -r requirements/docs.in
-pygments==2.10.0
+pygments==2.11.2
# via sphinx
-pyparsing==2.4.7
+pyparsing==3.0.7
# via packaging
-pytz==2021.3
+pytz==2022.1
# via babel
-requests==2.26.0
+requests==2.27.1
# via sphinx
-snowballstemmer==2.1.0
+snowballstemmer==2.2.0
# via sphinx
-sphinx-issues==1.2.0
- # via -r requirements/docs.in
-sphinx==4.2.0
+sphinx==4.5.0
# via
# -r requirements/docs.in
# pallets-sphinx-themes
# sphinx-issues
# sphinxcontrib-log-cabinet
+sphinx-issues==3.0.1
+ # via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
sphinxcontrib-devhelp==1.0.2
@@ -60,8 +61,5 @@
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
-urllib3==1.26.7
+urllib3==1.26.9
# via requests
-
-# The following packages are considered to be unsafe in a requirements file:
-# setuptools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/requirements/style.txt
new/Flask-WTF-1.0.1/requirements/style.txt
--- old/Flask-WTF-1.0.0/requirements/style.txt 1970-01-01 01:00:00.000000000
+0100
+++ new/Flask-WTF-1.0.1/requirements/style.txt 2022-03-31 19:59:02.000000000
+0200
@@ -0,0 +1,29 @@
+# SHA1:5a0b1bb22ae805d8aebba0f3bf05ab91aceae0d8
+#
+# This file is autogenerated by pip-compile-multi
+# To update, run:
+#
+# pip-compile-multi
+#
+cfgv==3.3.1
+ # via pre-commit
+distlib==0.3.4
+ # via virtualenv
+filelock==3.6.0
+ # via virtualenv
+identify==2.4.12
+ # via pre-commit
+nodeenv==1.6.0
+ # via pre-commit
+platformdirs==2.5.1
+ # via virtualenv
+pre-commit==2.17.0
+ # via -r requirements/style.in
+pyyaml==6.0
+ # via pre-commit
+six==1.16.0
+ # via virtualenv
+toml==0.10.2
+ # via pre-commit
+virtualenv==20.14.0
+ # via pre-commit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/requirements/tests.txt
new/Flask-WTF-1.0.1/requirements/tests.txt
--- old/Flask-WTF-1.0.0/requirements/tests.txt 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/requirements/tests.txt 2022-03-31 19:59:02.000000000
+0200
@@ -1,36 +1,23 @@
+# SHA1:43b07f68ee4dcf187dce9de79fc8dd462f1c99d6
#
-# This file is autogenerated by pip-compile
+# This file is autogenerated by pip-compile-multi
# To update, run:
#
-# pip-compile requirements/tests.in
+# pip-compile-multi
#
-attrs==21.2.0
+attrs==21.4.0
# via pytest
-click==8.0.1
- # via flask
-flask-uploads==0.2.1
- # via -r requirements/tests.in
-flask==2.0.2
- # via flask-uploads
iniconfig==1.1.1
# via pytest
-itsdangerous==2.0.1
- # via flask
-jinja2==3.0.2
- # via flask
-markupsafe==2.0.1
- # via jinja2
-packaging==21.0
+packaging==21.3
# via pytest
pluggy==1.0.0
# via pytest
-py==1.10.0
+py==1.11.0
# via pytest
-pyparsing==2.4.7
+pyparsing==3.0.7
# via packaging
pytest==6.2.5
# via -r requirements/tests.in
toml==0.10.2
# via pytest
-werkzeug==2.0.2
- # via flask
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/src/Flask_WTF.egg-info/PKG-INFO
new/Flask-WTF-1.0.1/src/Flask_WTF.egg-info/PKG-INFO
--- old/Flask-WTF-1.0.0/src/Flask_WTF.egg-info/PKG-INFO 2021-11-07
16:33:49.000000000 +0100
+++ new/Flask-WTF-1.0.1/src/Flask_WTF.egg-info/PKG-INFO 2022-03-31
20:08:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: Flask-WTF
-Version: 1.0.0
+Version: 1.0.1
Summary: Form rendering, validation, and CSRF protection for Flask with
WTForms.
Home-page: https://github.com/wtforms/flask-wtf/
Author: Dan Jacob
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/src/Flask_WTF.egg-info/SOURCES.txt
new/Flask-WTF-1.0.1/src/Flask_WTF.egg-info/SOURCES.txt
--- old/Flask-WTF-1.0.0/src/Flask_WTF.egg-info/SOURCES.txt 2021-11-07
16:33:49.000000000 +0100
+++ new/Flask-WTF-1.0.1/src/Flask_WTF.egg-info/SOURCES.txt 2022-03-31
20:08:15.000000000 +0200
@@ -27,6 +27,7 @@
examples/uploadr/templates/index.html
requirements/dev.txt
requirements/docs.txt
+requirements/style.txt
requirements/tests.txt
src/Flask_WTF.egg-info/PKG-INFO
src/Flask_WTF.egg-info/SOURCES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/src/flask_wtf/__init__.py
new/Flask-WTF-1.0.1/src/flask_wtf/__init__.py
--- old/Flask-WTF-1.0.0/src/flask_wtf/__init__.py 2021-11-07
16:31:13.000000000 +0100
+++ new/Flask-WTF-1.0.1/src/flask_wtf/__init__.py 2022-03-31
20:07:01.000000000 +0200
@@ -5,4 +5,4 @@
from .recaptcha import RecaptchaField
from .recaptcha import RecaptchaWidget
-__version__ = "1.0.0"
+__version__ = "1.0.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/src/flask_wtf/form.py
new/Flask-WTF-1.0.1/src/flask_wtf/form.py
--- old/Flask-WTF-1.0.0/src/flask_wtf/form.py 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/src/flask_wtf/form.py 2022-03-31 17:32:10.000000000
+0200
@@ -56,7 +56,7 @@
return CombinedMultiDict((request.files, request.form))
elif request.form:
return request.form
- elif request.get_json():
+ elif request.is_json:
return ImmutableMultiDict(request.get_json())
return None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Flask-WTF-1.0.0/src/flask_wtf/recaptcha/validators.py
new/Flask-WTF-1.0.1/src/flask_wtf/recaptcha/validators.py
--- old/Flask-WTF-1.0.0/src/flask_wtf/recaptcha/validators.py 2021-11-07
16:15:33.000000000 +0100
+++ new/Flask-WTF-1.0.1/src/flask_wtf/recaptcha/validators.py 2022-03-31
17:32:10.000000000 +0200
@@ -30,7 +30,7 @@
if current_app.testing:
return True
- if request.json:
+ if request.is_json:
response = request.json.get("g-recaptcha-response", "")
else:
response = request.form.get("g-recaptcha-response", "")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/tests/test_i18n.py
new/Flask-WTF-1.0.1/tests/test_i18n.py
--- old/Flask-WTF-1.0.0/tests/test_i18n.py 2021-11-07 16:15:33.000000000
+0100
+++ new/Flask-WTF-1.0.1/tests/test_i18n.py 2022-03-31 19:59:02.000000000
+0200
@@ -6,6 +6,10 @@
from flask_wtf import FlaskForm
+pytest.importorskip(
+ "flask_wtf.i18n", reason="Neither Flask-Babel nor Flask-BabelEx is
installed."
+)
+
class NameForm(FlaskForm):
class Meta:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/tests/test_recaptcha.py
new/Flask-WTF-1.0.1/tests/test_recaptcha.py
--- old/Flask-WTF-1.0.0/tests/test_recaptcha.py 2021-11-07 16:22:08.000000000
+0100
+++ new/Flask-WTF-1.0.1/tests/test_recaptcha.py 2022-03-31 17:32:10.000000000
+0200
@@ -80,7 +80,8 @@
app.config["RECAPTCHA_DATA_ATTRS"] = {"red": "blue"}
f = RecaptchaForm()
render = f.recaptcha()
- assert "?key=%28value%29" in render
+ # new versions of url_encode allow more characters
+ assert "?key=(value)" in render or "?key=%28value%29" in render
assert 'data-red="blue"' in render
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Flask-WTF-1.0.0/tox.ini new/Flask-WTF-1.0.1/tox.ini
--- old/Flask-WTF-1.0.0/tox.ini 2021-11-07 16:15:33.000000000 +0100
+++ new/Flask-WTF-1.0.1/tox.ini 2022-03-31 19:59:02.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
envlist =
- py{310,39,38,37,36,py3}
+ py3{11,10,9,8,7,6},pypy3{8,7}
py-{babelex,no-babel}
style
docs
@@ -8,13 +8,14 @@
[testenv]
deps =
-r requirements/tests.txt
- flask-babel
+ Flask-Babel
+ Flask-Uploads
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}
[testenv:py-babelex]
deps =
-r requirements/tests.txt
- flask-babelex
+ Flask-BabelEx
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}
[testenv:py-no-babel]
@@ -22,7 +23,7 @@
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}
[testenv:style]
-deps = pre-commit
+deps = -r requirements/style.txt
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure