Commit Graph

2 Commits

Author SHA256 Message Date
bcb82af895 - Add dont-require-resolv-tests.patch to make tests run without an
existing /etc/resolv.conf file
- Update to 2.0.0:
  This is a major update to the library, but since email address specs
  haven't changed there should be no significant changes to which
  email addresses are considered valid or invalid with default
  options. There are new options for accepting unusual email addresses
  that were previously always rejected, some changes to how DNS errors
  are handled, many changes in error message text, and major internal
  improvements including the addition of type annotations. Python 3.7+
  is now required. Details follow:
  * Python 2.x and 3.x versions through 3.6, and dnspython 1.x, are no
    longer supported. Python 3.7+ with dnspython 2.x are now required.
  * The dnspython package is no longer required if DNS checks are not
    used, although it will install automatically.
  * NoNameservers and NXDOMAIN DNS errors are now handled differently:
    NoNameservers no longer fails validation, and NXDOMAIN now skips
    checking for an A/AAAA fallback and goes straight to failing
    validation.
  * Some syntax error messages have changed because they are now
    checked explicitly rather than as a part of other checks.
  * The quoted-string local part syntax (e.g. multiple @-signs,
    spaces, etc. if surrounded by quotes) and domain-literal addresses
    (e.g. @[192.XXX...] or @[IPv6:...]) are now parsed but not
    considered valid by default. Better error messages are now given
    for these addresses since it can be confusing for a technically
    valid address to be rejected, and new allow_quoted_local and
    allow_domain_literal options are added to allow these addresses if
    you really need them.
  * Some other error messages have changed to not repeat the email

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=11
2023-05-25 08:33:48 +00:00
Steve Kowalik
04b4aa3a72 - Update to 1.2.1:
* Rejecting domains with NULL MX records (when deliverability checks are
    turned on).
  * Rejecting unsafe unicode characters. (Some of these checks you should be
    doing on all of your user inputs already!)
  * Rejecting most special-use reserved domain names. A new test_environment
    option is added for using @*.test domains.
  * example and example.com/net/org are removed from the special-use domains
    list.
  * SPECIAL_USE_DOMAIN_NAMES is now a documented part of the API (and it is a
    list instead of a tuple)
  * New module-level attributes ALLOW_SMTPUTF8, CHECK_DELIVERABILITY,
    TEST_ENVIRONMENT, and DEFAULT_TIMEOUT can be used to change the default
    values of the keyword arguments.
- Add patch ignore-urllib3-pyopenssl-warning.patch:
  * Ignore warning as error from requests-toolbelt via dnspython.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=4
2022-09-08 07:28:34 +00:00