Accepting request 1035099 from devel:languages:python:numeric
- Remove pml/ob1 option for tests, bsc#1205139 - Disable test_fixtures that produces a Segmentation fault in i586 - Use pml ob1 to run tests - Remove pytest-mpi-pr37-sybil3.patch, not needed anymore - Update to 0.6: * Again no codebase changes, testing/CI and packaging fixes only. * Update Azure Pipelines to use latest images (so CI runs again) * Update versioneer to work on future Python versions. * Fix doctests infrastructure OBS-URL: https://build.opensuse.org/request/show/1035099 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mpi?expand=0&rev=7
This commit is contained in:
commit
73c20647c0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ad392f5cd3f72ed0aeb9bb9e6f77554d79f3b81f72e3526ba60ae34fc2d4359e
|
|
||||||
size 33787
|
|
BIN
pytest-mpi-0.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-mpi-0.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,32 +0,0 @@
|
|||||||
From 7efec75885899b3b215c579b146a1a58e2c00d8e Mon Sep 17 00:00:00 2001
|
|
||||||
From: James Tocknell <aragilar@gmail.com>
|
|
||||||
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',
|
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 10 15:24:16 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Disable again test_fixtures that produces a Segmentation fault in i586
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 12:44:13 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove pml/ob1 option for tests, bsc#1205139
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 11:27:29 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Disable test_fixtures that produces a Segmentation fault in i586
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 10:21:48 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Use pml ob1 to run tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 09:45:07 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove pytest-mpi-pr37-sybil3.patch, not needed anymore
|
||||||
|
- Update to 0.6:
|
||||||
|
* Again no codebase changes, testing/CI and packaging fixes only.
|
||||||
|
* Update Azure Pipelines to use latest images (so CI runs again)
|
||||||
|
* Update versioneer to work on future Python versions.
|
||||||
|
* Fix doctests infrastructure
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 27 15:58:20 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Mon Dec 27 15:58:20 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-mpi
|
# spec file for package python-pytest-mpi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,14 +27,12 @@
|
|||||||
# mpi4py depends on numpy, which is not available for python36
|
# mpi4py depends on numpy, which is not available for python36
|
||||||
%define skip_python36 1
|
%define skip_python36 1
|
||||||
Name: python-pytest-mpi
|
Name: python-pytest-mpi
|
||||||
Version: 0.5
|
Version: 0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: MPI plugin for pytest
|
Summary: MPI plugin for pytest
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://pytest-mpi.readthedocs.io
|
URL: https://pytest-mpi.readthedocs.io
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mpi/pytest-mpi-%{version}.tar.gz
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -65,7 +63,8 @@ mpi plugin for pytest to collect information from openmpi-based tests.
|
|||||||
%check
|
%check
|
||||||
export PATH=${PATH}:%{_libdir}/mpi/gcc/%{mpiver}/bin
|
export PATH=${PATH}:%{_libdir}/mpi/gcc/%{mpiver}/bin
|
||||||
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
||||||
%pytest -v -p pytester --runpytest=subprocess
|
# Exclude test_fixtures, it fails for i586 arch with Segmentation fault
|
||||||
|
%pytest -v -p pytester --runpytest=subprocess -k 'not test_fixtures'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user