Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aiosmtpd for openSUSE:Factory checked in at 2024-04-02 16:43:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiosmtpd (Old) and /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiosmtpd" Tue Apr 2 16:43:16 2024 rev:14 rq:1163947 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiosmtpd/python-aiosmtpd.changes 2024-03-14 17:46:38.412877686 +0100 +++ /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.1905/python-aiosmtpd.changes 2024-04-02 16:45:10.267062559 +0200 @@ -1,0 +2,7 @@ +Mon Apr 1 12:22:50 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Reenable tests for tumbleweed and Leap. Adds the + python-pytest-asyncio build requirements for tests and ignore some + tests that are failing for Leap but not for Factory. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiosmtpd.spec ++++++ --- /var/tmp/diff_new_pack.3HvJ1s/_old 2024-04-02 16:45:10.891084834 +0200 +++ /var/tmp/diff_new_pack.3HvJ1s/_new 2024-04-02 16:45:10.895084976 +0200 @@ -39,6 +39,7 @@ # SECTION test requirements BuildRequires: %{python_module atpublic} BuildRequires: %{python_module attrs} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module typing_extensions if %python-base < 3.8} @@ -74,11 +75,17 @@ %python_clone -a %{buildroot}%{_bindir}/aiosmtpd %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if 0%{?sle_version} && 0%{?sle_version} >= 150400 %check -%pytest +ignore="" + +%if 0%{?sle_version} +# One of the tests in this file breaks the tests client state for +# Leap, so it's ignored for now. +ignore="--ignore aiosmtpd/tests/test_server.py" %endif +%pytest $ignore + %post %python_install_alternative aiosmtpd