Hello community,
here is the log from the commit of package python-WTForms for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:11:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-WTForms (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-WTForms.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-WTForms"
Thu May 28 20:11:59 2020 rev:11 rq:808623 version:2.2.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-WTForms/python-WTForms.changes
2020-01-15 15:46:27.851358340 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-WTForms.new.3606/python-WTForms.changes
2020-05-28 20:12:03.351338272 +0200
@@ -1,0 +2,46 @@
+Mon Jul 29 12:02:19 UTC 2019 - [email protected]
+
+- version update to 2.2.1
+ * :class:`~fields.StringField` only sets ``data = ''` when form data
+ is empty and an initial value was not provided. This fixes an issue
+ where the default value wasn't rendered with the initial form.
+ (`#291`_, `#355`_, `#401`_)
+ * Merged new and updated translations from the community.
+ * Passing ``data_`` args to render a field converts all the
+ underscores to hyphens when rendering the HTML attribute, not just
+ the first one. ``data_foo_bar`` becomes ``data-foo-bar``. (`#248`_)
+ * The :class:`~validators.UUID` validator uses the :class:`uuid.UUID`
+ class instead of a regex. (`#251`_)
+ * :class:`~fields.SelectField` copies the list of ``choices`` passed
+ to it so modifying an instance's choices will not modify the global
+ form definition. (`#286`_)
+ * Fields call :meth:`~fields.Field.process_formdata` even if the raw
+ data is empty. (`#280`_)
+ * Added a :class:`~fields.MultipleFileField` to handle a multi-file
+ input. :class:`~fields.FileField` continues to handle only one
+ value. The underlying :class:`~widgets.FileInput` widget gained a
+ ``multiple`` argument. (`#281`_)
+ * :class:`~fields.SelectField` choices can contain HTML (MarkupSafe
+ ``Markup`` object or equivalent API) and will be rendered properly.
+ (`#302`_)
+ * :class:`~fields.TimeField` and
+ :class:`html5.TimeField <fields.html5.TimeField>` were added.
+ (`#254`_)
+ * Improved :class:`~validators.Email`. Note that it is still
+ unreasonable to validate all emails with a regex and you should
+ prefer validating by actually sending an email. (`#294`_)
+ * Widgets render the ``required`` attribute when using a validator
+ that provides the ``'required'`` flag, such as
+ :class:`~validators.DataRequired`. (`#361`_)
+ * Fix a compatibility issue with SQLAlchemy 2.1 that caused
+ :class:`~ext.sqlalchemy.fields.QuerySelectField` to fail with
+ ``ValueError: too many values to unpack``. (`#391`_)
+- drop lang packages
+- test package
+
+-------------------------------------------------------------------
+Tue Dec 4 12:56:14 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
WTForms-2.1.zip
New:
----
WTForms-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-WTForms.spec ++++++
--- /var/tmp/diff_new_pack.cljYoZ/_old 2020-05-28 20:12:03.659339189 +0200
+++ /var/tmp/diff_new_pack.cljYoZ/_new 2020-05-28 20:12:03.663339201 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-WTForms
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,36 +12,35 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
Name: python-WTForms
-Version: 2.1
+Version: 2.2.1
Release: 0
Summary: A flexible forms validation and rendering library for Python
web development
License: BSD-3-Clause
Group: Development/Languages/Python
-Url: http://wtforms.simplecodes.com/
-Source:
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
-BuildRequires: %{python_module devel}
+URL: http://wtforms.simplecodes.com/
+Source:
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: unzip
-%if %{with test}
-BuildRequires: python3-Babel
-BuildRequires: python3-Django
-BuildRequires: python3-SQLAlchemy
-BuildRequires: python3-python-dateutil
-%endif
Recommends: python-Babel
Recommends: python-Django
Recommends: python-SQLAlchemy
Recommends: python-python-dateutil
BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module Babel}
+BuildRequires: %{python_module SQLAlchemy}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module python-dateutil}
+# /SECTION
+Provides: python-WTForms-lang
+Obsoletes: python-WTForms-lang
%python_subpackages
%description
@@ -58,55 +57,31 @@
%description -n %{name}-doc
Documentation for WTForms, which is a forms validation and rendering library
for Python web development.
-%package lang
-Summary: Languages for package %{name}
-Group: System/Localization
-Requires: %{name} = %{version}
-Supplements: packageand(bundle-lang-other:%{name})
-Provides: %{name}-lang-all = %{version}
-
-%description lang
-Provides translations to the package %{name}
-
%prep
%setup -q -n WTForms-%{version}
-sed -i "s/\r//" CHANGES.rst docs/html/_static/jquery.js # Fix wrong
EOL-encoding
-rm -rf docs/html/.buildinfo # Remove junk
%build
%python_build
+# Fix wrong EOL-encoding
+sed -i "s/\r//" CHANGES.rst
+# remove reference to ../CHANGES.rst
+rm docs/changes.rst
%install
%python_install
-%find_lang wtforms
-%python_expand grep -F "%{$python_sitelib}" wtforms.lang >
wtforms_%{$python_bin_suffix}.lang
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+pushd tests
+%python_expand $python runtests.py
+popd
%files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS.txt CHANGES.rst LICENSE.txt README.md
+%license LICENSE.rst
+%doc AUTHORS.rst CHANGES.rst README.rst
%{python_sitelib}/*
-%exclude %{python_sitelib}/wtforms/locale
%files -n %{name}-doc
-%defattr(-,root,root,-)
-%doc docs/html
-
-%if %have_python2 && ! 0%{?skip_python2}
-%files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
-%defattr(-,root,root,-)
-%{python2_sitelib}/wtforms/locale
-%endif
-
-%if %have_python2 && ! 0%{?skip_python3}
-%files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
-%defattr(-,root,root,-)
-%{python3_sitelib}/wtforms/locale
-%endif
+%doc docs/*.rst
%changelog