From 47ab354dd2e971cb0d2a30a450d54b158b8e3012a7bf6f52240f2369cfd9fddf Mon Sep 17 00:00:00 2001 From: Marius Grossu Date: Wed, 5 Nov 2025 17:27:30 +0100 Subject: [PATCH] Update to version 2.6.0 --- pytest-check-no-new-classifiers.patch | 13 +++++++++++++ pytest_check-2.4.1.tar.gz | 3 --- pytest_check-2.6.0.tar.gz | 3 +++ python-pytest-check.changes | 20 ++++++++++++++++++++ python-pytest-check.spec | 12 ++++++++++-- 5 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 pytest-check-no-new-classifiers.patch delete mode 100644 pytest_check-2.4.1.tar.gz create mode 100644 pytest_check-2.6.0.tar.gz diff --git a/pytest-check-no-new-classifiers.patch b/pytest-check-no-new-classifiers.patch new file mode 100644 index 0000000..de5f183 --- /dev/null +++ b/pytest-check-no-new-classifiers.patch @@ -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', + ] diff --git a/pytest_check-2.4.1.tar.gz b/pytest_check-2.4.1.tar.gz deleted file mode 100644 index bb6e55c..0000000 --- a/pytest_check-2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5224efcef059bf7f0cda253f8d0f62704b4819ff48c93f51c675aea6a014f650 -size 28933 diff --git a/pytest_check-2.6.0.tar.gz b/pytest_check-2.6.0.tar.gz new file mode 100644 index 0000000..e939c94 --- /dev/null +++ b/pytest_check-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be4c59a09827129109148c85d7b5964b57f0a5ced1b619459ca30e6f463ca42 +size 27882 diff --git a/python-pytest-check.changes b/python-pytest-check.changes index a16376a..223ee91 100644 --- a/python-pytest-check.changes +++ b/python-pytest-check.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Nov 5 17:10:03 UTC 2025 - Marius Grossu + +- 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 diff --git a/python-pytest-check.spec b/python-pytest-check.spec index 1c5b3b0..a792092 100644 --- a/python-pytest-check.spec +++ b/python-pytest-check.spec @@ -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