- update to 2.1.2:

* The domain name length limit is corrected from 255 to 253
    IDNA ASCII characters. I misread the RFCs.
  * When a domain name has no MX record but does have an A or
    AAAA record, if none of the IP addresses in the response are
    globally reachable (i.e. not Private-Use, Loopback, etc.),
    the response is treated as if there was no A/AAAA response
    and the email address will fail the deliverability check.
  * When a domain name has no MX record but does have an A or
    AAAA record, the mx field in the object returned by
    validate_email incorrectly held the IP addresses rather than
    the domain itself.
  * Fixes in tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=18
This commit is contained in:
Dirk Mueller 2024-06-19 07:08:46 +00:00 committed by Git OBS Bridge
parent 3505d41520
commit 5ce700d3ea
4 changed files with 21 additions and 4 deletions

View File

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

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jun 19 07:08:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.1.2:
* The domain name length limit is corrected from 255 to 253
IDNA ASCII characters. I misread the RFCs.
* When a domain name has no MX record but does have an A or
AAAA record, if none of the IP addresses in the response are
globally reachable (i.e. not Private-Use, Loopback, etc.),
the response is treated as if there was no A/AAAA response
and the email address will fail the deliverability check.
* When a domain name has no MX record but does have an A or
AAAA record, the mx field in the object returned by
validate_email incorrectly held the IP addresses rather than
the domain itself.
* Fixes in tests.
-------------------------------------------------------------------
Thu Jun 6 07:38:28 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

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