From cfa5cb234a58d22a3e6f48fb37225e0e5bab2fba7609a8abff192b3676554dcf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Nov 2023 10:03:49 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=14 --- email_validator-2.0.0.tar.gz | 3 --- email_validator-2.1.0.tar.gz | 3 +++ python-email-validator.changes | 16 ++++++++++++++++ python-email-validator.spec | 4 ++-- 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 email_validator-2.0.0.tar.gz create mode 100644 email_validator-2.1.0.tar.gz diff --git a/email_validator-2.0.0.tar.gz b/email_validator-2.0.0.tar.gz deleted file mode 100644 index b166b8f..0000000 --- a/email_validator-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cd656b4c2cba10bcb518808f800bdde74af0c01a2522a9d475b3b1954d98f01 -size 39142 diff --git a/email_validator-2.1.0.tar.gz b/email_validator-2.1.0.tar.gz new file mode 100644 index 0000000..e2c866c --- /dev/null +++ b/email_validator-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd26943d2030b0d1fd73455a4365773d54c0daa47ba37b3cbab7aca18d465218 +size 39752 diff --git a/python-email-validator.changes b/python-email-validator.changes index 90afade..d82e373 100644 --- a/python-email-validator.changes +++ b/python-email-validator.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Nov 16 10:02:55 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-email-validator.spec b/python-email-validator.spec index 394bd15..f401a50 100644 --- a/python-email-validator.spec +++ b/python-email-validator.spec @@ -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}