Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mailmanclient for
openSUSE:Factory checked in at 2023-06-29 17:29:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mailmanclient (Old)
and /work/SRC/openSUSE:Factory/.python-mailmanclient.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mailmanclient"
Thu Jun 29 17:29:34 2023 rev:12 rq:1095990 version:3.3.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mailmanclient/python-mailmanclient.changes
2022-11-22 16:10:56.746262203 +0100
+++
/work/SRC/openSUSE:Factory/.python-mailmanclient.new.13546/python-mailmanclient.changes
2023-06-29 17:29:52.330801923 +0200
@@ -1,0 +2,6 @@
+Thu Jun 29 13:03:21 UTC 2023 - Matej Cepl <[email protected]>
+
+- Remove weird %if %{pkg_vcmp python3-pytest-asyncio >= 0.19}
+ construct. It just cannot work correctly (bsc#1212834).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mailmanclient.spec ++++++
--- /var/tmp/diff_new_pack.skWrRl/_old 2023-06-29 17:29:52.810804736 +0200
+++ /var/tmp/diff_new_pack.skWrRl/_new 2023-06-29 17:29:52.814804759 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mailmanclient
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,32 +22,32 @@
Version: 3.3.4
Release: 0
Summary: Python bindings for the Mailman REST API
-Group: Productivity/Networking/Email/Mailinglists
License: LGPL-3.0-only
+Group: Productivity/Networking/Email/Mailinglists
URL: https://www.list.org/
Source:
https://files.pythonhosted.org/packages/source/m/mailmanclient/mailmanclient-%{version}.tar.gz
-%if 0%{?sle_version} && 0%{?sle_version} <= 150300
-Patch0: mailmanclient-skip-httpx-tests.patch
-%endif
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests
BuildArch: noarch
+%if 0%{?sle_version} && 0%{?sle_version} <= 150300
+Patch0: mailmanclient-skip-httpx-tests.patch
+%endif
# SECTION test requirements
-BuildRequires: mailman3 >= 3.3.5
BuildRequires: %{python_module falcon}
+BuildRequires: %{python_module pytest-asyncio}
+BuildRequires: %{python_module pytest-services}
+BuildRequires: %{python_module pytest-vcr}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module requests}
+BuildRequires: mailman3 >= 3.3.5
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400
BuildRequires: %{python_module httpx}
%endif
%if 0%{?sle_version} <= 150400
BuildRequires: %{python_module async_generator}
%endif
-BuildRequires: %{python_module pytest-asyncio}
-BuildRequires: %{python_module pytest-services}
-BuildRequires: %{python_module pytest-vcr}
-BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module requests}
# /SECTION
%python_subpackages
@@ -72,10 +72,7 @@
# self.socket.send(msg)
# OSError: [Errno 9] Bad file descriptor
export LC_ALL=C.UTF-8
-%if %{pkg_vcmp python3-pytest-asyncio >= 0.19}
-asynciomode="--asyncio-mode=auto"
-%endif
-%pytest -k 'not using.rst' $asynciomode
+%pytest -k 'not using.rst' --asyncio-mode=auto
%files %{python_files}
%doc README.rst