Hello community, here is the log from the commit of package python-Flask-WTF for openSUSE:Factory checked in at 2017-10-10 11:42:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Flask-WTF (Old) and /work/SRC/openSUSE:Factory/.python-Flask-WTF.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-WTF" Tue Oct 10 11:42:24 2017 rev:3 rq:521769 version:0.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Flask-WTF/python-Flask-WTF.changes 2015-03-27 09:41:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-Flask-WTF.new/python-Flask-WTF.changes 2017-10-10 11:42:25.936931935 +0200 @@ -1,0 +2,52 @@ +Thu Aug 31 21:36:07 UTC 2017 - [email protected] + +- Update to Version 0.14.2 + * Fix bug where ``FlaskForm`` assumed ``meta`` argument was not ``None`` if it + was passed. (`#278`_) +- Update to Version 0.14.1 + * Fix bug where the file validators would incorrectly identify an empty file as + valid data. (`#276`_, `#277`_) +- Update to Version 0.14 + * Use itsdangerous to sign CSRF tokens and check expiration instead of doing it + ourselves. (`#264`_) + * Remove the ``app`` attribute from ``CsrfProtect``, use ``current_app``. + (`#264`_) + * ``CsrfProtect`` protects the ``DELETE`` method by default. (`#264`_) + * The same CSRF token is generated for the lifetime of a request. It is exposed + as ``request.csrf_token`` for use during testing. (`#227`_, `#264`_) + * ``CsrfProtect.error_handler`` is deprecated. (`#264`_) + * Use ``Form.Meta`` instead of deprecated ``SecureForm`` for CSRF (and + everything else). (`#216`_, `#271`_) + * Provide ``WTF_CSRF_FIELD_NAME`` to configure the name of the CSRF token. + (`#271`_) + * ``validate_csrf`` raises ``wtforms.ValidationError`` with specific messages + instead of returning ``True`` or ``False``. This breaks anything that was + calling the method directly. (`#239`_, `#271`_) + * ``CsrfProtect`` is renamed to ``CSRFProtect``. A deprecation warning is issued + when using the old name. ``CsrfError`` is renamed to ``CSRFError`` without + deprecation. (`#271`_) + * ``FileField`` is deprecated because it no longer provides functionality over + the provided validators. Use ``wtforms.FileField`` directly. (`#272`_) +- Update to Version 0.13.1 + * Deprecation warning for ``Form`` is shown during ``__init__`` instead of immediately when subclassing. (`#262`_) + * Don't use ``pkg_resources`` to get version, for compatibility with GAE. (`#261`_) +- Update to Version 0.13 + * ``Form`` is renamed to ``FlaskForm`` in order to avoid name collision with WTForms's base class. Using ``Form`` will show a deprecation warning. (`#250`_) + * ``hidden_tag`` no longer wraps the hidden inputs in a hidden div. This is valid HTML5 and any modern HTML parser will behave correctly. (`#217`_, `#193`_) + * ``flask_wtf.html5`` is deprecated. Import directly from ``wtforms.fields.html5``. (`#251`_) + * ``is_submitted`` is true for ``PATCH`` and ``DELETE`` in addition to ``POST`` and ``PUT``. (`#187`_) + * ``generate_csrf`` takes a ``token_key`` parameter to specify the key stored in the session. (`#206`_) + * ``generate_csrf`` takes a ``url_safe`` parameter to allow the token to be used in URLs. (`#206`_) + * ``form.data`` can be accessed multiple times without raising an exception. (`#248`_) + * File extension with multiple parts (``.tar.gz``) can be used in the ``FileAllowed`` validator. (`#201`_) +- Update to Version 0.12 + * Abstract protect_csrf() into a separate method + * Update reCAPTCHA configuration + * Fix reCAPTCHA error handle + +------------------------------------------------------------------- +Thu Aug 24 13:38:52 UTC 2017 - [email protected] + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -35,0 +88 @@ + Old: ---- Flask-WTF-0.11.tar.gz New: ---- Flask-WTF-0.14.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Flask-WTF.spec ++++++ --- /var/tmp/diff_new_pack.a2Tj1e/_old 2017-10-10 11:42:26.692898755 +0200 +++ /var/tmp/diff_new_pack.a2Tj1e/_new 2017-10-10 11:42:26.692898755 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-Flask-Cache +# spec file for package python-Flask-WTF # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,38 +15,44 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-Flask-WTF -Version: 0.11 +Version: 0.14.2 Release: 0 -Url: http://github.com/lepture/flask-wtf Summary: WTForms support for Flask License: BSD-3-Clause Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/F/Flask-WTF/Flask-WTF-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-Sphinx -BuildRequires: python-WTForms -BuildRequires: python-Werkzeug +Url: http://github.com/lepture/flask-wtf +Source: https://files.pythonhosted.org/packages/source/F/Flask-WTF/Flask-WTF-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python3-Sphinx +%if %{with test} +BuildRequires: %{python_module Flask} +BuildRequires: %{python_module Flask-Babel} +BuildRequires: %{python_module WTForms} +BuildRequires: %{python_module Werkzeug} +BuildRequires: %{python_module nose} +%endif Requires: python-Flask -Requires: python-Werkzeug Requires: python-WTForms -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Requires: python-Werkzeug BuildArch: noarch -%endif +%python_subpackages %description Adds WTForms support to your Flask application -%package doc -Summary: Documentation for python-Flask-WTF +%package -n %{name}-doc +Summary: Documentation for %{name} Group: Documentation/Other -Requires: %{name} = %{version} +Provides: %{python_module Flask-WTF-doc = %{version}} -%description doc +%description -n %{name}-doc This package contains HTML documentation, including tutorials and API reference for python-Flask-WTF. @@ -54,19 +60,25 @@ %setup -q -n Flask-WTF-%{version} %build -python setup.py build +%python_build cd docs && make html && rm _build/html/.buildinfo # Generate HTML documentation %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot}%{_prefix} -%files +%if %{with test} +%check +export LANG=en_US.UTF-8 +%python_expand nosetests-%{$python_bin_suffix} tests +%endif + +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE +%doc AUTHORS LICENSE README.rst %{python_sitelib}/* -%files doc +%files -n %{name}-doc %defattr(-,root,root) %doc docs/_build/html ++++++ Flask-WTF-0.11.tar.gz -> Flask-WTF-0.14.2.tar.gz ++++++ ++++ 4792 lines of diff (skipped)
