diff --git a/python-aiosmtplib.changes b/python-aiosmtplib.changes index 8460f15..6e9ba97 100644 --- a/python-aiosmtplib.changes +++ b/python-aiosmtplib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 7 11:16:51 UTC 2025 - Daniel Garcia + +- 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 diff --git a/python-aiosmtplib.spec b/python-aiosmtplib.spec index fdf7f14..b94d9f9 100644 --- a/python-aiosmtplib.spec +++ b/python-aiosmtplib.spec @@ -56,7 +56,14 @@ Python asyncio SMTP client. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -rs -k "not test_live and not test_tls" +# 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 +PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}%{buildroot}%{$python_sitelib} $python -c "import aiosmtplib; print(aiosmtplib.__version__)" +} %files %{python_files} %doc README.rst docs/*.rst