forked from pool/python-aiosmtplib
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user