Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d65bca25b5 | |||
| 3069c94672 | |||
| be5d5af92f | |||
| 973ff5a1b2 | |||
| 91eec5183c | |||
| da4717b14a | |||
| 7321842902 | |||
| f03e0795aa |
BIN
email_validator-2.2.0.tar.gz
LFS
BIN
email_validator-2.2.0.tar.gz
LFS
Binary file not shown.
3
email_validator-2.3.0.tar.gz
Normal file
3
email_validator-2.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:578564e92e66874bfb6c7506b4b33e7abd79f0e9b99dedd979d03fcd5fc4f039
|
||||||
|
size 45521
|
||||||
@@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 13:11:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 23 01:30:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-email-validator
|
# spec file for package python-email-validator
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-email-validator
|
Name: python-email-validator
|
||||||
Version: 2.2.0
|
Version: 2.3.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
|
||||||
@@ -30,18 +35,24 @@ Patch0: ignore-urllib3-pyopenssl-warning.patch
|
|||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module dnspython >= 1.15.0}
|
BuildRequires: %{python_module dnspython >= 1.15.0}
|
||||||
BuildRequires: %{python_module idna >= 2.0.0}
|
BuildRequires: %{python_module idna >= 2.0.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 5.0}
|
BuildRequires: %{python_module pytest >= 5.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-dnspython >= 1.15.0
|
Requires: python-dnspython >= 1.15.0
|
||||||
Requires: python-idna >= 2.0.0
|
Requires: python-idna >= 2.0.0
|
||||||
Requires: python-setuptools
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Provides: python-email_validator = %{version}-%{release}
|
Provides: python-email_validator = %{version}-%{release}
|
||||||
Obsoletes: python-email_validator < %{version}-%{release}
|
Obsoletes: python-email_validator < %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -63,10 +74,10 @@ Key features:
|
|||||||
%autosetup -p1 -n python-email-validator-%{version}
|
%autosetup -p1 -n python-email-validator-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/email_validator
|
%python_clone -a %{buildroot}%{_bindir}/email_validator
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -77,6 +88,9 @@ export RESOLV_FILE=$PWD/resolv.conf
|
|||||||
donttest="test_caching_dns_resolver"
|
donttest="test_caching_dns_resolver"
|
||||||
%pytest tests -k "not ($donttest)"
|
%pytest tests -k "not ($donttest)"
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative email_validator
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative email_validator
|
%python_install_alternative email_validator
|
||||||
|
|
||||||
@@ -88,6 +102,6 @@ donttest="test_caching_dns_resolver"
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%python_alternative %{_bindir}/email_validator
|
%python_alternative %{_bindir}/email_validator
|
||||||
%{python_sitelib}/email_validator
|
%{python_sitelib}/email_validator
|
||||||
%{python_sitelib}/email_validator-%{version}*-info
|
%{python_sitelib}/email_validator-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user