17
0

Compare commits

9 Commits

Author SHA256 Message Date
9bee919763 Accepting request 1298125 from devel:languages:python
- Disable tests, tests doesn't work with latest pytest-asyncio
  gh#cole/aiosmtplib@3b4bd0d7048c

OBS-URL: https://build.opensuse.org/request/show/1298125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=15
2025-08-07 14:50:00 +00:00
4ebe38b46b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=32 2025-08-07 11:23:56 +00:00
3efb3623e5 - Disable tests, tests doesn't work with latest pytest-asyncio
gh#cole/aiosmtplib@3b4bd0d7048c

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=31
2025-08-07 11:18:15 +00:00
c55a4e9457 Accepting request 1278550 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=14
2025-05-20 15:04:10 +00:00
b70ef6a08b Accepting request 1278531 from home:glaubitz:branches:devel:languages:python
- Update to 4.0.1
  * Bugfix: Always clear the connect lock on connection lost,
    allowing client reconnect

OBS-URL: https://build.opensuse.org/request/show/1278531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=29
2025-05-20 08:19:53 +00:00
d3752e7fce Accepting request 1267262 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1267262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=13
2025-04-05 11:50:39 +00:00
fe6bbff3ae Accepting request 1267134 from home:nkrapp:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1267134
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=27
2025-04-05 08:26:10 +00:00
e175464907 Accepting request 1222850 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosmtplib?expand=0&rev=12
2024-11-09 19:57:55 +00:00
cafbb292cd Accepting request 1222673 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1222673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosmtplib?expand=0&rev=25
2024-11-08 15:04:32 +00:00
4 changed files with 61 additions and 12 deletions

View File

@@ -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
View File

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

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-aiosmtplib
Version: 3.0.1
Version: 4.0.1
Release: 0
Summary: Python asyncio SMTP client
License: MIT
@@ -28,8 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/cole/aiosmtplib
Source: https://files.pythonhosted.org/packages/source/a/aiosmtplib/aiosmtplib-%{version}.tar.gz
BuildRequires: %{python_module exceptiongroup}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module trustme}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-aiosmtpd
@@ -48,18 +49,27 @@ Python asyncio SMTP client.
%autosetup -p1 -n aiosmtplib-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%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}
%doc README.rst docs/*.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/aiosmtplib
%{python_sitelib}/aiosmtplib-%{version}.dist-info
%changelog