2 Commits

Author SHA256 Message Date
cde01073ad Accepting request 1268097 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1268097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WTForms?expand=0&rev=13
2025-04-10 19:58:44 +00:00
441a245c0f Accepting request 1268041 from home:alarrosa:branches:devel:languages:python
- Update to 3.2.1:
  * Fix :class:`~fields.SelectMultipleBase` import
- Update to 3.2.0:
  * Translations update: korean, chinese (traditional), portugese,
    russian, dutch, kazakh, swedish, turkish, slovak, ukranian,
    spanish, french.
  * Move the repository to the pallets-eco organization.
  * Stop supporting Python 3.9 and start supporting Python 3.13
  * Removed required flag support from
    :class:`~fields.HiddenWidget`, :class:`~fields.RangeWidget` and
    :class:`~fields.SelectWidget` to conform to W3C
    :class:`~wtforms.validators.NoneOf` and
    :class:`~wtforms.validators.AnyOf` can validate multiple valued
    fields like :class:`~fields.SelectMultipleField`
  * Use GHA and pre-commit workflows inspired from Flask.
  * Breaking change: Some deprecated code was removed:
        :class:`~wtforms.Flags` can no longer be tuples.
        iter_choices needs a tuple of 4 items
  * Breaking change: The key for form errors moved from
    :data:`None` to empty string "".
  * Note. If you need to keep the old behavior you can set the
    _form_error_key parameter of your form to :data:`None`.
- Update to 3.1.2:
    Fix :class:`~fields.SelectMultipleField` value coercion on
    validation.

OBS-URL: https://build.opensuse.org/request/show/1268041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WTForms?expand=0&rev=33
2025-04-09 10:19:38 +00:00
6 changed files with 40 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e43cddf61ad77c3e7d9fb5ef62fa8e9d5298a9728de5feb48be74b6c98164427
size 125250

View File

@@ -1,6 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">3.1.1+git</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
<param name="revision">main</param>
<param name="url">https://github.com/wtforms/wtforms.git</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/wtforms/wtforms.git</param>
<param name="changesrevision">e737a6c1af1d1d44c35189c150a79651c125bc98</param></service></servicedata>
<param name="changesrevision">f9a999e5b7406db05d9e0e02dd85ab25253d40a6</param></service></servicedata>

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Apr 8 11:14:08 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to 3.2.1:
* Fix :class:`~fields.SelectMultipleBase` import
- Update to 3.2.0:
* Translations update: korean, chinese (traditional), portugese,
russian, dutch, kazakh, swedish, turkish, slovak, ukranian,
spanish, french.
* Move the repository to the pallets-eco organization.
* Stop supporting Python 3.9 and start supporting Python 3.13
* Removed required flag support from
:class:`~fields.HiddenWidget`, :class:`~fields.RangeWidget` and
:class:`~fields.SelectWidget` to conform to W3C
:class:`~wtforms.validators.NoneOf` and
:class:`~wtforms.validators.AnyOf` can validate multiple valued
fields like :class:`~fields.SelectMultipleField`
* Use GHA and pre-commit workflows inspired from Flask.
* Breaking change: Some deprecated code was removed:
:class:`~wtforms.Flags` can no longer be tuples.
iter_choices needs a tuple of 4 items
* Breaking change: The key for form errors moved from
:data:`None` to empty string "".
* Note. If you need to keep the old behavior you can set the
_form_error_key parameter of your form to :data:`None`.
- Update to 3.1.2:
Fix :class:`~fields.SelectMultipleField` value coercion on
validation.
-------------------------------------------------------------------
Mon Nov 27 13:05:40 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-WTForms
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-WTForms
Version: 3.1.1
Version: 3.2.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: https://files.pythonhosted.org/packages/source/W/WTForms/wtforms-%{version}.tar.gz
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module email-validator}

3
wtforms-3.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682
size 137801