Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python313-WTForms-3.2.1-1.5 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python313-WTForms Distribution: openSUSE Tumbleweed
Version: 3.2.1 Vendor: openSUSE
Release: 1.5 Build date: Tue Apr 8 13:14:08 2025
Group: Unspecified Build host: reproducible
Size: 380944 Source RPM: python-WTForms-3.2.1-1.5.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/wtforms/wtforms
Summary: A flexible forms validation and rendering library for Python web development
WTForms is a forms validation and rendering library for Python web development.
With WTForms, form field HTML can be generated and be customized with templates.
This allows to maintain separation of code and presentation, and keep those parameters out of Python code.
Because of this loose coupling, any template engine may be used for this.

Provides

Requires

License

BSD-3-Clause

Changelog

* Tue Apr 08 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 2023 Antonio Larrosa <alarrosa@suse.com>
  - Use %{?sle15_python_module_pythons}
* Mon Nov 27 2023 Antonio Larrosa <alarrosa@suse.com>
  - Update to 3.1.1:
    - Display Flags values in their repr.
    - ~SelectField and SelectMultipleField choices can be None if
      validate_choice is False
    - Documentation improvements
    - Unit tests improvements
    - Python 3.12 support
    - Restored support for 3-items tuple return value from
      iter_choices
  - Update to 3.1.0:
    - Documentation improvements
    - Translation improvements
    - Implement :class:~fields.ColorField
    - Delayed import of email_validator.
    - <option> attributes can be passed by the
      :class:~fields.SelectField choices parameter
    - Use the standard datetime formats by default for
      :class:~fields.DateTimeLocalField
    - Python 3.11 support
    - Added shorter format to
      :class:~fields.DateTimeLocalField defaults
    - Stop support for python 3.7
    - Added shorter format to :class:~fields.WeekField defaults
    - Move to pyproject.toml
    - URL validator takes a allow_ip parameter
    - Implement :class:~validators.ReadOnly and
      :class:~validators.Disabled
* Tue Sep 26 2023 Steve Kowalik <steven.kowalik@suse.com>
  - Switch to pyproject macros.
  - Stop using greedy globs in %files.
  - We no longer need to skip any tests.
* Tue Apr 19 2022 Matej Cepl <mcepl@suse.com>
  - Follow the change of the email_validator -> email-validator
    Python package.
* Sat Apr 16 2022 Matej Cepl <mcepl@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 ~fiel