15
0

- 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
This commit is contained in:
2025-08-07 11:18:15 +00:00
committed by Git OBS Bridge
parent b70ef6a08b
commit 3efb3623e5
2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

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