Accepting request 1128295 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1128295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-email-validator?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2023-11-23 20:38:34 +00:00 committed by Git OBS Bridge
commit b955f71d35
4 changed files with 21 additions and 5 deletions

BIN
email_validator-2.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Nov 16 10:02:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.1.0:
* Python 3.8+ is now required (support for Python 3.7 was
dropped).
* The old `email` field on the returned `ValidatedEmail`
object, which in the previous version was superseded by
`normalized`, will now raise a deprecation warning if used.
See https://stackoverflow.com/q/879173 for strategies to
suppress the DeprecationWarning.
* A `__version__` module attribute is added.
* The email address argument to validate_email is now marked as
positional-only to better reflect the documented usage using
the new Python 3.8 feature.
-------------------------------------------------------------------
Thu May 25 08:23:47 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -17,9 +17,8 @@
%{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-email-validator
Version: 2.0.0
Version: 2.1.0
Release: 0
Summary: A robust email syntax and deliverability validation library for Python
License: CC0-1.0
@ -30,6 +29,7 @@ Source: https://github.com/JoshData/python-email-validator/archive/refs/
Patch0: ignore-urllib3-pyopenssl-warning.patch
# PATCH-FIX-OPENSUSE do not require /etc/resolv.conf for testing
Patch1: dont-require-resolv-tests.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module dnspython >= 1.15.0}
BuildRequires: %{python_module idna >= 2.0.0}
BuildRequires: %{python_module pytest >= 5.0}