Accepting request 1184005 from devel:languages:python

- update to 2.2.0:
  * Email addresses with internationalized local parts could,
    with rare Unicode characters, be returned as valid but
    actually be invalid in their normalized form (returned in the
    `normalized` field). Local parts now re-validated after
    Unicode NFC normalization to ensure that invalid characters
    cannot be injected into the normalized address and that
    characters with length-increasing NFC normalizations cannot
    cause a local part to exceed the maximum length after
    normalization.
  * The length check for email addresses with internationalized
    local parts is now also applied to the original address
    string prior to Unicode NFC normalization, which may be
    longer and could exceed the maximum email address length, to
    protect callers who do not use the returned normalized
    address.
  * Improved error message for IDNA domains that are too long or
    have invalid characters after Unicode normalization.
  * A new option to parse `My Name <address@domain>` strings,
    i.e. a display name plus an email address in angle brackets,
    is now available. It is off by default.
  * Improvements to Python typing.
  * Some additional tests added.

OBS-URL: https://build.opensuse.org/request/show/1184005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-email-validator?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2024-07-02 16:14:32 +00:00 committed by Git OBS Bridge
commit bbb0eee201
4 changed files with 31 additions and 4 deletions

View File

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

BIN
email_validator-2.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.0:
* Email addresses with internationalized local parts could,
with rare Unicode characters, be returned as valid but
actually be invalid in their normalized form (returned in the
`normalized` field). Local parts now re-validated after
Unicode NFC normalization to ensure that invalid characters
cannot be injected into the normalized address and that
characters with length-increasing NFC normalizations cannot
cause a local part to exceed the maximum length after
normalization.
* The length check for email addresses with internationalized
local parts is now also applied to the original address
string prior to Unicode NFC normalization, which may be
longer and could exceed the maximum email address length, to
protect callers who do not use the returned normalized
address.
* Improved error message for IDNA domains that are too long or
have invalid characters after Unicode normalization.
* A new option to parse `My Name <address@domain>` strings,
i.e. a display name plus an email address in angle brackets,
is now available. It is off by default.
* Improvements to Python typing.
* Some additional tests added.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 07:08:36 UTC 2024 - Dirk Müller <dmueller@suse.com> Wed Jun 19 07:08:36 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-email-validator Name: python-email-validator
Version: 2.1.2 Version: 2.2.0
Release: 0 Release: 0
Summary: A robust email syntax and deliverability validation library for Python Summary: A robust email syntax and deliverability validation library for Python
License: CC0-1.0 License: CC0-1.0