17
0

8 Commits

Author SHA256 Message Date
302c361592 Accepting request 1300805 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1300805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-email-validator?expand=0&rev=12
2025-08-22 15:47:12 +00:00
fb7abaa55e - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=26
2025-08-14 13:08:14 +00:00
9a5c455824 Accepting request 1291275 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-email-validator?expand=0&rev=11
2025-07-09 15:26:10 +00:00
5705699fd5 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=24
2025-07-08 13:12:19 +00:00
94fb404566 Accepting request 1287770 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1287770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-email-validator?expand=0&rev=10
2025-06-24 18:45:44 +00:00
ce174aed07 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=22
2025-06-23 01:33:15 +00:00
af4a318f80 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
2024-07-02 16:14:32 +00:00
d2a56d009c - 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/package/show/devel:languages:python/python-email-validator?expand=0&rev=20
2024-06-29 16:02:30 +00:00
4 changed files with 4 additions and 23 deletions

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

Binary file not shown.

View File

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

View File

@@ -1,22 +1,3 @@
-------------------------------------------------------------------
Wed Oct 1 08:25:10 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.3.0
* The package name is changed from using an underscore (email_validator)
to a dash (email-validator) to match PyPi's normalized package name.
* The library no longer checks that the local part is at most 64 characters
because a more careful reading of RFC 5321 indicates the limit is optional
and such email addresses have been found in the wild. However the check
can be restored using a new `strict=True` parameter, and the overall 254
character email address length limit is still in place.
* New EmailSyntaxError messages are used for some exiting syntax errors
related to @-sign homoglyphs and invalid characters in internationalized
domains.
* When using `allow_display_name=True`, display names are now returned with
Unicode NFC normalization.
* TypeError is now raised if something other than str (or bytes) is passed
as the email address.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 14 13:04:59 UTC 2025 - Markéta Machová <mmachova@suse.com> Thu Aug 14 13:04:59 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -23,7 +23,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-email-validator Name: python-email-validator
Version: 2.3.0 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