Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9bee919763 | |||
| 4ebe38b46b | |||
| 3efb3623e5 | |||
| c55a4e9457 | |||
| b70ef6a08b | |||
| d3752e7fce | |||
| fe6bbff3ae | |||
| e175464907 | |||
| cafbb292cd |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:43580604b152152a221598be3037f0ae6359c2817187ac4433bd857bc3fc6513
|
|
||||||
size 57715
|
|
||||||
3
aiosmtplib-4.0.1.tar.gz
Normal file
3
aiosmtplib-4.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:10d426afe923edeb28ce0f007da0ee4060e9e12dd3890c162b22e1958da35761
|
||||||
|
size 60797
|
||||||
@@ -1,3 +1,42 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 7 11:16:51 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Disable tests, tests doesn't work with latest pytest-asyncio
|
||||||
|
gh#cole/aiosmtplib@3b4bd0d7048c
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 20 07:51:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.0.1
|
||||||
|
* Bugfix: Always clear the connect lock on connection lost,
|
||||||
|
allowing client reconnect
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 4 12:16:40 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.0.0
|
||||||
|
* BREAKING: Drop Python 3.8 support
|
||||||
|
* Bugfix: Run socket.getfqdn in thread to avoid blocking event loop if local_hostname not provided (thanks @Raidzin)
|
||||||
|
* Bugfix: Clear connect lock on connection lost, allowing client reconnect
|
||||||
|
* Bugfix: Allow socket connections to use TLS by providing hostname and use_tls=True
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 8 08:23:35 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0.2
|
||||||
|
* Bugfix: Type of "send" is partially unknown with pyright
|
||||||
|
* Bugfix: Fix asyncio deadlock trying to reconnect after error
|
||||||
|
* Change: Switched from Poetry to build/hatch/twine for packaging.
|
||||||
|
- Skip test_live and test_tls tests when running testsuite
|
||||||
|
- Switch package to modern Python Stack on SLE-15
|
||||||
|
* Use Python 3.11 on SLE-15 by default
|
||||||
|
* Drop support for older Python versions
|
||||||
|
- Switch build system from setuptools to pyproject.toml
|
||||||
|
* Add python-pip and python-wheel to BuildRequires
|
||||||
|
* Replace %python_build with %pyproject_wheel
|
||||||
|
* Replace %python_install with %pyproject_install
|
||||||
|
- Limit Python files matched in %files section
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 14 15:41:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Nov 14 15:41:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-aiosmtplib
|
# spec file for package python-aiosmtplib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 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,11 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-aiosmtplib
|
Name: python-aiosmtplib
|
||||||
Version: 3.0.1
|
Version: 4.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python asyncio SMTP client
|
Summary: Python asyncio SMTP client
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -28,8 +26,11 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/cole/aiosmtplib
|
URL: https://github.com/cole/aiosmtplib
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/aiosmtplib/aiosmtplib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/aiosmtplib/aiosmtplib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module exceptiongroup}
|
BuildRequires: %{python_module exceptiongroup}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module trustme}
|
BuildRequires: %{python_module trustme}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Suggests: python-aiosmtpd
|
Suggests: python-aiosmtpd
|
||||||
@@ -48,18 +49,27 @@ Python asyncio SMTP client.
|
|||||||
%autosetup -p1 -n aiosmtplib-%{version}
|
%autosetup -p1 -n aiosmtplib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -rs
|
# Disable tests, broken with pytest-asyncio >= 1.0.0
|
||||||
|
# gh#cole/aiosmtplib@3b4bd0d7048c
|
||||||
|
# https://github.com/cole/aiosmtplib/blob/main/requirements-dev.txt#L2
|
||||||
|
# %%pytest -rs -k "not test_live and not test_tls"
|
||||||
|
|
||||||
|
%{python_expand # just test import meantime tests are broken
|
||||||
|
export PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}%{buildroot}%{$python_sitelib}
|
||||||
|
$python -c "import aiosmtplib; assert aiosmtplib.__version__ == '%{version}'"
|
||||||
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst docs/*.rst
|
%doc README.rst docs/*.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/aiosmtplib
|
||||||
|
%{python_sitelib}/aiosmtplib-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user