Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-WTForms for openSUSE:Factory checked in at 2022-04-17 23:50:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-WTForms (Old) and /work/SRC/openSUSE:Factory/.python-WTForms.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-WTForms" Sun Apr 17 23:50:41 2022 rev:9 rq:970472 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes 2021-09-07 21:22:11.353358646 +0200 +++ /work/SRC/openSUSE:Factory/.python-WTForms.new.1941/python-WTForms.changes 2022-04-17 23:52:10.394498886 +0200 @@ -1,0 +2,52 @@ +Sat Apr 16 12:47:20 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to 3.0.1: + - Fixed ~fields.DateTimeField and other similar fields can + handle multiple formats. + - Fixed ~fields.RadioField validators. + - ~fields.FormField.populate_obj always calls :func:setattr + - WTForms has a new logo. + - Fixed ~fields.RadioField render_kw rendering. + - Support for optgroups in ~fields.SelectField and + ~fields.SelectMultipleField. + - Minor documentation fix. + - Custom separators for ~fields.FieldList. + - ~fields.DateTimeField, ~fields.DateField and + ~fields.TimeField support time formats that removes leading + zeros. + - Refactoring: split fields/core.py and fields/simple.py + - Drop support for Python < 3.6. + - ~fields.StringField sets data to None when form data is empty + and an initial value was not provided. Although it previously + set an empty string, None is consistent with the behavior of + other fields. + - Specified version of Babel required for setup to avoid + errors. + - Replaced use of getattr/setattr with regular variable access. + - ValueError raised by a validator are handled like regular + exceptions. Validators need to raise + ~validators.ValidationError or ~validators.StopValidation to + make a validation fail. + - ~fields.SelectField, ~fields.SelectMultipleField and + ~fields.RadioField choices parameter can be a callable. + - Choices shortcut for ~fields.core.SelectMultipleField. + - Forms can have form-level errors. + - Implemented ~wtforms.fields.core.MonthField. + - Filters can be inline. :meth:form.BaseForm.process takes + a extra_filters parameter. + - Fields can be passed the name argument to use a HTML name + different than their Python name. + - Render attribute names like for_ and class_ are normalized + consistently so later values override those specified + earlier. + - Flags can take non-boolean values. + - Widgets are HTML5 by default. + - Fixed a bug when the ~wtforms.fields.core.SelectField choices + are list of strings. + - Error messages standardization. + - ~wtforms.fields.core.SelectMultipleField validate_choice + bugfix. + - Fixed SelectMultipleField validation when using choices list + shortcut. + +------------------------------------------------------------------- Old: ---- wtforms-2.3.3+git.1621448902.a55be54.tar.gz New: ---- WTForms-3.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-WTForms.spec ++++++ --- /var/tmp/diff_new_pack.r7s52w/_old 2022-04-17 23:52:10.806499451 +0200 +++ /var/tmp/diff_new_pack.r7s52w/_new 2022-04-17 23:52:10.810499457 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-WTForms # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-WTForms -Version: 2.3.3+git.1621448902.a55be54 +Version: 3.0.1 Release: 0 Summary: A flexible forms validation and rendering library for Python web development License: BSD-3-Clause URL: https://github.com/wtforms/wtforms -# Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%%{version}.tar.gz -Source: wtforms-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz +# Source: wtforms-%%{version}.tar.gz +BuildRequires: %{python_module base} BuildRequires: %{python_module MarkupSafe} BuildRequires: %{python_module email_validator} BuildRequires: %{python_module setuptools} @@ -38,7 +39,7 @@ Recommends: python-python-dateutil BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Babel} +BuildRequires: %{python_module Babel >= 2.6.0} BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} @@ -70,7 +71,7 @@ WTForms is a forms validation and rendering library for Python web development. %prep -%autosetup -p1 -n wtforms-%{version} +%autosetup -p1 -n WTForms-%{version} %build %python_exec setup.py compile_catalog