Hello community,
here is the log from the commit of package python-pytest-twisted for
openSUSE:Leap:15.2 checked in at 2020-03-06 12:39:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-twisted (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pytest-twisted.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-twisted"
Fri Mar 6 12:39:11 2020 rev:2 rq:781143 version:1.12
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-pytest-twisted/python-pytest-twisted.changes
2020-02-19 18:44:12.362535365 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pytest-twisted.new.26092/python-pytest-twisted.changes
2020-03-06 12:41:01.326747895 +0100
@@ -1,0 +2,5 @@
+Mon Mar 2 09:30:14 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Skip tests that fail with pytest 5.x series
+
+-------------------------------------------------------------------
Old:
----
LICENSE
pytest-twisted-1.12.zip
New:
----
v1.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-twisted.spec ++++++
--- /var/tmp/diff_new_pack.dIvGAY/_old 2020-03-06 12:41:01.746748151 +0100
+++ /var/tmp/diff_new_pack.dIvGAY/_new 2020-03-06 12:41:01.746748151 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-twisted
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,9 +24,7 @@
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-twisted
-Source:
https://files.pythonhosted.org/packages/source/p/pytest-twisted/pytest-twisted-%{version}.zip
-# https://github.com/pytest-dev/pytest-twisted/pull/72
-Source99:
https://raw.githubusercontent.com/pytest-dev/pytest-twisted/master/LICENSE
+Source:
https://github.com/pytest-dev/pytest-twisted/archive/v%{version}.tar.gz
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module greenlet}
@@ -49,7 +47,6 @@
%prep
%setup -q -n pytest-twisted-%{version}
-cp %{SOURCE99} .
%build
%python_build
@@ -59,7 +56,10 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+export PYTHONDONTWRITEBYTECODE=1
+# test_inline_callbacks_in_pytest_deprecation - breaks with the new pytest 5.x
series
+# test_blockon_in_pytest_deprecation - breaks with the new pytest 5.x series
+%pytest -k 'not test_blockon_in_pytest_deprecation and not
test_inline_callbacks_in_pytest_deprecation'
%files %{python_files}
%license LICENSE