Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-mpi for
openSUSE:Factory checked in at 2021-12-28 12:26:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-mpi (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-mpi.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-mpi"
Tue Dec 28 12:26:29 2021 rev:6 rq:942849 version:0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-mpi/python-pytest-mpi.changes
2021-09-28 19:17:46.324271528 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-mpi.new.2520/python-pytest-mpi.changes
2021-12-28 12:27:05.324505353 +0100
@@ -1,0 +2,5 @@
+Mon Dec 27 15:58:20 UTC 2021 - Ben Greiner <[email protected]>
+
+- add pytest-mpi-pr37-sybil3.patch -- gh#aragilar/pytest-mpi#37
+
+-------------------------------------------------------------------
New:
----
pytest-mpi-pr37-sybil3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-mpi.spec ++++++
--- /var/tmp/diff_new_pack.DK4fpU/_old 2021-12-28 12:27:05.832505737 +0100
+++ /var/tmp/diff_new_pack.DK4fpU/_new 2021-12-28 12:27:05.836505740 +0100
@@ -33,6 +33,8 @@
License: BSD-3-Clause
URL: https://pytest-mpi.readthedocs.io
Source:
https://files.pythonhosted.org/packages/source/p/pytest-mpi/pytest-mpi-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM pytest-mpi-pr37-sybil3.patch -- gh#aragilar/pytest-mpi#37
+Patch0: pytest-mpi-pr37-sybil3.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -43,7 +45,7 @@
BuildRequires: %{python_module mpi4py}
BuildRequires: %{mpiver}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module sybil}
+BuildRequires: %{python_module sybil >= 3}
# /SECTION
%python_subpackages
@@ -51,7 +53,7 @@
mpi plugin for pytest to collect information from openmpi-based tests.
%prep
-%setup -q -n pytest-mpi-%{version}
+%autosetup -p1 -n pytest-mpi-%{version}
%build
%python_build
++++++ pytest-mpi-pr37-sybil3.patch ++++++
>From 7efec75885899b3b215c579b146a1a58e2c00d8e Mon Sep 17 00:00:00 2001
From: James Tocknell <[email protected]>
Date: Sun, 12 Dec 2021 14:50:32 +1100
Subject: [PATCH] Fix sybil conftest
---
docs/conftest.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/conftest.py b/docs/conftest.py
index 2f9a4ff..d91c8cc 100644
--- a/docs/conftest.py
+++ b/docs/conftest.py
@@ -3,14 +3,14 @@
import pytest
from sybil import Sybil
-from sybil.parsers.codeblock import CodeBlockParser
-from sybil.parsers.doctest import DocTestParser, FIX_BYTE_UNICODE_REPR
+from sybil.parsers.codeblock import PythonCodeBlockParser
+from sybil.parsers.doctest import DocTestParser
from sybil.parsers.skip import skip
pytest_collect_file = Sybil(
parsers=[
- DocTestParser(optionflags=ELLIPSIS|FIX_BYTE_UNICODE_REPR),
- CodeBlockParser(),
+ DocTestParser(optionflags=ELLIPSIS),
+ PythonCodeBlockParser(),
skip,
],
pattern='*.rst',