Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-txtorcon for openSUSE:Factory
checked in at 2021-05-02 18:36:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-txtorcon (Old)
and /work/SRC/openSUSE:Factory/.python-txtorcon.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-txtorcon"
Sun May 2 18:36:06 2021 rev:9 rq:889754 version:20.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-txtorcon/python-txtorcon.changes
2020-04-21 13:07:10.620394616 +0200
+++
/work/SRC/openSUSE:Factory/.python-txtorcon.new.1947/python-txtorcon.changes
2021-05-02 18:39:14.788147450 +0200
@@ -1,0 +2,6 @@
+Sat May 1 20:24:09 UTC 2021 - Matej Cepl <[email protected]>
+
+- Async tests don't work with pytest. Use python -m twisted.trial
+ instead.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-txtorcon.spec ++++++
--- /var/tmp/diff_new_pack.gK5bhU/_old 2021-05-02 18:39:15.220145609 +0200
+++ /var/tmp/diff_new_pack.gK5bhU/_new 2021-05-02 18:39:15.224145592 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-txtorcon
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,10 +34,10 @@
Requires: python-zope.interface >= 3.6.1
BuildArch: noarch
# SECTION test requirements
+BuildRequires: lsof
BuildRequires: %{python_module Automat}
BuildRequires: %{python_module Twisted >= 15.5.0}
BuildRequires: %{python_module mock}
-BuildRequires: %{python_module pytest}
BuildRequires: %{python_module zope.interface >= 3.6.1}
%if %{with python2}
BuildRequires: python-ipaddress
@@ -68,7 +68,8 @@
%check
# looks more like integration tests
-%pytest -k 'not test_real_addr'
+# Async tests don't work with pytest gh#crossbario/autobahn-python#1235
+%python_expand $python -m twisted.trial test
%files %{python_files}
%license LICENSE docs/*.rst