Update to version 2.6.0

This commit is contained in:
Marius Grossu
2025-11-05 17:27:30 +01:00
parent 0f05e0b60d
commit 47ab354dd2
5 changed files with 46 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
Index: pytest_check-2.6.0/pyproject.toml
===================================================================
--- pytest_check-2.6.0.orig/pyproject.toml
+++ pytest_check-2.6.0/pyproject.toml
@@ -15,8 +15,6 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
- 'Programming Language :: Python :: 3.13',
- 'Programming Language :: Python :: 3.14',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
]

BIN
pytest_check-2.4.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_check-2.6.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Nov 5 17:10:03 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- update to 2.6.0:
* raises returns the exception value, so the excpected error message can be verified
* raises & any_failures exported from top init.py module so that mypy does not complain that they are not explicitly exported
* Make _Comparable* protocols compatible with builtins
* Turn on testing for Python 3.14 in CI
* Relative paths in tracebacks
* Add testing of Python 3.14
* Fixes a weird corner case where an internal error could be generated
* Set a minimum pluggy version during type checking
* Add type hints, remove support for Python 3.8
* Fixes check doesn't respect runxfail option
* Add testing for Python 3.13 to GH actions
* Add testing for Python 3.13 and 3.14 to tox.ini
* Switch packackaching from flit to hatchling
- change BuildRequires from flit-core >= 2 to hatchling
- Add pytest-check-no-new-classifiers.patch: to remove new classifiers for older hatchling version
-------------------------------------------------------------------
Sat Aug 31 12:11:11 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,14 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-pytest-check
Version: 2.4.1
Version: 2.6.0
Release: 0
Summary: A pytest plugin that allows multiple failures per test
License: MIT
URL: https://github.com/okken/pytest-check
Source: https://files.pythonhosted.org/packages/source/p/pytest-check/pytest_check-%{version}.tar.gz
# Only include this patch for 15.6 and 16.0 builds
Patch0: pytest-check-no-new-classifiers.patch
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module flit-core >= 2}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: fdupes
@@ -40,6 +43,11 @@ A pytest plugin that allows multiple failures per test. A rewrite of pytest-expe
%prep
%setup -q -n pytest_check-%{version}
# Only include this patch for 15.6 and 16.0 builds
%if 0%{?sle_version} == 150600 || 0%{?sle_version} == 160000
%autopatch -p1
%endif
%build
%pyproject_wheel