- Update to 0.9.0:

* Python 3.11 is officially supported.
  * Dropped support for Python 3.6.
  * Now passing subtests are shown in the test run summary at the end (for
    example: 10 failed, 1 passed, 10 subtests passed in 0.10s) (#70).
  * Fixed support for pytest 7.0, and pytest>=7.0 is now required.
  * pytest>=6.0 is now required.
  * Added official support for Python 3.10.
  * Dropped support for Python 3.5.
  * Users no longer need to configure a warnings filter for the internal A
    private pytest class or function was used pytest warning (#52).
  * Experimental: Use SUBPASS and , for passed subtests instead of general
    PASSED, SUBFAIL and u for failed ones instead of FAILED (#30).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-subtests?expand=0&rev=12
This commit is contained in:
2023-01-10 04:20:54 +00:00
committed by Git OBS Bridge
parent 7b1a109bf9
commit 638da64fda
4 changed files with 24 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-subtests
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-subtests
Version: 0.5.0
Version: 0.9.0
Release: 0
Summary: Python unittest subTest() support and subtests fixture
License: MIT
@@ -29,10 +27,10 @@ BuildRequires: %{python_module setuptools >= 40.0}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 5.3.0
Requires: python-pytest >= 7.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 5.3.0}
BuildRequires: %{python_module pytest >= 7.0}
# /SECTION
%python_subpackages