diff --git a/aiosmtplib-3.0.1.tar.gz b/aiosmtplib-3.0.1.tar.gz deleted file mode 100644 index 859381f..0000000 --- a/aiosmtplib-3.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:43580604b152152a221598be3037f0ae6359c2817187ac4433bd857bc3fc6513 -size 57715 diff --git a/aiosmtplib-3.0.2.tar.gz b/aiosmtplib-3.0.2.tar.gz new file mode 100644 index 0000000..3495d35 --- /dev/null +++ b/aiosmtplib-3.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 +size 59941 diff --git a/python-aiosmtplib.changes b/python-aiosmtplib.changes index 6cbbc3a..f97e0a3 100644 --- a/python-aiosmtplib.changes +++ b/python-aiosmtplib.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Nov 8 08:23:35 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-aiosmtplib.spec b/python-aiosmtplib.spec index 448ed4e..f555790 100644 --- a/python-aiosmtplib.spec +++ b/python-aiosmtplib.spec @@ -15,12 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%{?!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: 3.0.2 Release: 0 Summary: Python asyncio SMTP client License: MIT @@ -28,8 +25,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 +48,19 @@ 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 +%pytest -rs -k "not test_live and not test_tls" %files %{python_files} %doc README.rst docs/*.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/aiosmtplib +%{python_sitelib}/aiosmtplib-%{version}.dist-info %changelog