Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-check for
openSUSE:Factory checked in at 2026-04-13 23:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-check (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-check.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-check"
Mon Apr 13 23:18:27 2026 rev:9 rq:1346225 version:2.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-check/python-pytest-check.changes
2024-09-02 13:14:26.374325230 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-check.new.21863/python-pytest-check.changes
2026-04-13 23:19:02.052488972 +0200
@@ -1,0 +2,77 @@
+Sun Apr 12 17:41:06 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.8.0:
+ * Support Request #122: Feature proposal: Capability to mark
+ checks as xfail
+ * Allow CheckContextManager to catch any exception, not just
+ AssertionError (#198).
+ * Non-assertion exceptions (IndexError, KeyError,
+ AttributeError, etc.) are now properly caught and reported as
+ check failures.
+ * (typing) Set comparison function types such that None is not
+ allowed
+ * Passing `None` to comparison functions like `greater()`,
+ `less()`, etc. used to raise an exception, which caused a
+ test failure and stopped the test.
+ * (typing) Allow numpy floats with comparison functions to pass
+ mypy.
+ * (typing) Allow mixed `int`/`float` arguments in strict mypy
+ for comparison helpers by adding `float` numeric overloads
+ for `greater()`, `greater_equal()`, `less()`, and
+ `less_equal()` in `check_functions.py`.
+ * Ignore dist-packages in pseudo stack trace - Fixes #196 -
+ * (typing) Resolve remaining mypy errors for `import
+ pytest_check as check` usage; internal adjustments in
+ `check_functions.py`.
+ * (typing) Update internal `_Comparable*` protocol comparison
+ signatures to satisfy strict mypy checks.
+ * (tox) Enable and expand `mypy` env checks to include
+ `examples/`.
+ * (tox) Install `httpx` in the `mypy` env so example type
+ checking works without import ignores.
+ * (examples) Switch decorator usage in
+ `test_example_check_func_decorator.py` to import `check_func`
+ directly for static type checking.
+ * (examples) Add `test_example_context_manager_type.py` to
+ document and validate context-manager fixture typing
+ behavior.
+ * (docs) Document custom message support (`msg`) in
+ `check.raises()`.
+ * (tests) Add tests for custom messages in `check.raises()`.
+ * (docs) Document that built-in check methods return `bool`
+ values.
+ * (docs) Update pseudo-traceback examples to reflect the
+ default single pseudo-traceback and show how to increase it
+ with `--check-max-tb=5`.
+ * (docs) Add `check.call_on_fail()` section with usage
+ guidance.
+ * (examples) Add runnable logging example in
+ `examples/logging_to_a_file/`.
+ * (tests) Make `test_raises_custom_msg` compatible with pytest
+ < 7.3 short-summary output.
+ * Fix #190: pyright errors
+ * Fix #145: Is the 'raises' parameter in xfail ignored? - not
+ anymore
+ * Greater/less_equal support numpy scalars #189 - Thanks
+
+-------------------------------------------------------------------
+Wed Nov 5 17:10:03 UTC 2025 - Marius Grossu <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
pytest_check-2.4.1.tar.gz
New:
----
_scmsync.obsinfo
build.specials.obscpio
pytest-check-no-new-classifiers.patch
pytest_check-2.8.0.tar.gz
----------(New B)----------
New:- change BuildRequires from flit-core >= 2 to hatchling
- Add pytest-check-no-new-classifiers.patch: to remove new classifiers for
older hatchling version
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-check.spec ++++++
--- /var/tmp/diff_new_pack.CJiJED/_old 2026-04-13 23:19:02.668514399 +0200
+++ /var/tmp/diff_new_pack.CJiJED/_new 2026-04-13 23:19:02.668514399 +0200
@@ -18,19 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-pytest-check
-Version: 2.4.1
+Version: 2.8.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
-BuildRequires: %{python_module base >= 3.6}
-BuildRequires: %{python_module flit-core >= 2}
+# Only include this patch for 15.6 and 16.0 builds
+Patch0: pytest-check-no-new-classifiers.patch
+BuildRequires: %{python_module base >= 3.9}
+BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module pytest >= 6}
+BuildRequires: %{python_module pytest >= 7.0.0}
+BuildRequires: %{python_module typing-extensions >= 4.12.2 if %python-base <
3.11}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pytest >= 6
+Requires: python-pytest >= 7.0.0
+%if %{python_version_nodots} < 311
+Requires: python-typing-extensions >= 4.12.2
+%endif
BuildArch: noarch
%python_subpackages
@@ -40,6 +46,11 @@
%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
@@ -52,7 +63,7 @@
%files %{python_files}
%license LICENSE.txt
-%doc README.md
+%doc README.md changelog.md
%{python_sitelib}/pytest_check
%{python_sitelib}/pytest_check-%{version}*-info
++++++ _scmsync.obsinfo ++++++
mtime: 1776016070
commit: 7af8d45b7931e7c73c46f806680df4a7fd363607af952c8a48db762068268726
url: https://src.opensuse.org/python-pytest/python-pytest-check.git
revision: 7af8d45b7931e7c73c46f806680df4a7fd363607af952c8a48db762068268726
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-04-12 19:48:14.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ pytest-check-no-new-classifiers.patch ++++++
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',
]
++++++ pytest_check-2.4.1.tar.gz -> pytest_check-2.8.0.tar.gz ++++++
++++ 3973 lines of diff (skipped)