- Update to 0.6.1:

* Disabling the usage of the doctest_ignore_import_errors option
  * Drop support for python versions earlier than 3.6. [#103]
  * Drop support for pytest versions earlier than 4.0. [#103]
  * Fix compatibility with pytest 5.4. [#103]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-doctestplus?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2020-05-18 09:21:02 +00:00
committed by Git OBS Bridge
parent 08a3bab4bb
commit 3d18cb1873
4 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-doctestplus
#
# 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,24 +24,24 @@
%define psuffix %{nil}
%bcond_with test
%endif
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-doctestplus%{psuffix}
Version: 0.5.0
Version: 0.6.1
Release: 0
Summary: Pytest plugin with advanced doctest features
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/astropy/pytest-doctestplus
Source: https://files.pythonhosted.org/packages/source/p/pytest-doctestplus/pytest-doctestplus-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.0
Requires: python-pytest >= 4.0
Requires: python-six
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module pytest >= 4.0}
BuildRequires: %{python_module pytest-doctestplus >= %{version}}
BuildRequires: %{python_module six}
%endif