Compare commits

2 Commits
1.1 ... main

4 changed files with 32 additions and 7 deletions

BIN
pytest-subtests-0.12.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_subtests-0.14.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Apr 22 12:59:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
- pytest made attrs optional, add it here
-------------------------------------------------------------------
Fri Jan 17 08:45:11 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.14.1:
* Fix self.instance._outcome is None case in #173 (#174).
- update to 0.14.0:
* Add support for Python 3.13.
* Dropped support for EOL Python 3.8.
* Fixed output when using TestCase.skipTest (#169).
* Fixed pytest requirement to >=7.3 (#159).
- update to 0.13.1:
* Fixed bug were an extra test would execute when -x/--exitfirst
was used (#139).
- update to 0.13.0:
* Dropped support for EOL Python 3.7.
* Added support for -x/--exitfirst (#134).
* Hide the traceback inside the SubTests.test() method (#131).
-------------------------------------------------------------------
Mon Mar 25 15:00:57 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-subtests
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-pytest-subtests
Version: 0.12.1
Version: 0.14.1
Release: 0
Summary: Python unittest subTest() support and subtests fixture
License: MIT
URL: https://github.com/pytest-dev/pytest-subtests
Source: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest_subtests-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs >= 19.2.0
Requires: python-pytest >= 7.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module pytest >= 7.0}
# /SECTION
%python_subpackages
@@ -40,7 +42,7 @@ BuildRequires: %{python_module pytest >= 7.0}
Python unittest subTest() support and subtests fixture.
%prep
%setup -q -n pytest-subtests-%{version}
%setup -q -n pytest_subtests-%{version}
%build
%pyproject_wheel