Accepting request 828520 from home:mcalabkova:branches:devel:languages:python:pytest

- Update to 0.3.1
  * Adapt to importmode API changes in pytest-6.0
  * Adapt to Node API changes in pytest-5.4 (Fixes #11)
  * Add support for python 3.8 (Fixes #15)
  * Add support for skipif option in testoutput directive (Fixes #17)
  * Add support for skipif option in testcode directive (Fixes #21)
  * A ValueError is raised if the text inside the directives is not properly
    formatted.
  * Ignore the option :hide: in directives (Fixes #19)
  * Fix detection of block boundaries in parser.

OBS-URL: https://build.opensuse.org/request/show/828520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sphinx?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2020-08-21 14:17:20 +00:00
committed by Git OBS Bridge
parent 3d84ad3288
commit 80540602ea
4 changed files with 22 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c68c9006530de8c7083f879f9fbf91a7ad4120e638f4e451a037833da2cc977
size 11254

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7c5d9f195e9f4df17726655e1a7463eaf710f9f50732cb16851231b46f1e7a8
size 16486

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Aug 21 12:55:42 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.3.1
* Adapt to importmode API changes in pytest-6.0
* Adapt to Node API changes in pytest-5.4 (Fixes #11)
* Add support for python 3.8 (Fixes #15)
* Add support for skipif option in testoutput directive (Fixes #17)
* Add support for skipif option in testcode directive (Fixes #21)
* A ValueError is raised if the text inside the directives is not properly
formatted.
* Ignore the option :hide: in directives (Fixes #19)
* Fix detection of block boundaries in parser.
-------------------------------------------------------------------
Fri Jun 5 13:57:25 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-sphinx
Version: 0.2.2
Version: 0.3.1
Release: 0
Summary: Doctest plugin for pytest with support for Sphinx-specific doctest-directives
License: BSD-3-Clause
URL: https://github.com/thisch/pytest-sphinx
Source: https://github.com/thisch/pytest-sphinx/archive/v0.2.2.tar.gz#/pytest-sphinx-%{version}.tar.gz
Source: https://github.com/thisch/pytest-sphinx/archive/v%{version}.tar.gz#/pytest-sphinx-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -34,10 +34,11 @@ BuildArch: noarch
Requires: python-enum34
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest4 >= 3.1.1}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pytest >= 3.1.1}
%if %{with python2}
BuildRequires: python2-enum34
BuildRequires: python2-mock
%endif
# /SECTION
%python_subpackages