17
0

3 Commits

Author SHA256 Message Date
Marius Grossu
07136da0f7 Update to version 2.6.0 2025-11-06 16:56:28 +01:00
0f05e0b60d Accepting request 1198057 from devel:languages:python:pytest
- update to 2.4.1:
  * Added `is_nan()` and `is_not_nan()`
  * Drop Python 3.7
  * Add testing for Python 3.12
  * Add tox-uv to tox.ini and main.yml

OBS-URL: https://build.opensuse.org/request/show/1198057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-check?expand=0&rev=8
2024-09-02 11:14:18 +00:00
23e6d65a29 - update to 2.4.1:
* Added `is_nan()` and `is_not_nan()`
  * Drop Python 3.7
  * Add testing for Python 3.12
  * Add tox-uv to tox.ini and main.yml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=16
2024-08-31 12:11:55 +00:00
5 changed files with 54 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',
]

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51b8f18a8ccaa426c5d913c4e0e46f014aaa7579481ea03d22d7e1f498f689b2
size 28674

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

Binary file not shown.

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
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>
- update to 2.4.1:
* Added `is_nan()` and `is_not_nan()`
* Drop Python 3.7
* Add testing for Python 3.12
* Add tox-uv to tox.ini and main.yml
-------------------------------------------------------------------
Thu Feb 1 20:54:06 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-pytest-check
Version: 2.3.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 +42,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