Sync from SUSE:SLFO:Main python-pytest revision 496db6dbad972051c8e3be29853aba3d

This commit is contained in:
Adrian Schröter 2024-06-14 17:20:45 +02:00
parent 09928966dc
commit 24cfc3f436
4 changed files with 29 additions and 9 deletions

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

Binary file not shown.

BIN
pytest-7.4.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Feb 19 09:15:31 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Add python version constraints to Requires & BuildRequires
-------------------------------------------------------------------
Tue Jan 2 08:23:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.4.4:
* Fix non-string constants at the top of file being detected as
docstrings on Python>=3.8.
* Handle an edge case where :data:`sys.stderr` and
:data:`sys.__stderr__` might already be closed when
:ref:`faulthandler` is tearing down.
* Fixed tracebacks from collection errors not getting pruned.
* Removed unhelpful error message from assertion rewrite
mechanism when exceptions are raised in ``__iter__`` methods.
Now they are treated un-iterable instead.
-------------------------------------------------------------------
Tue Nov 7 12:01:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest%{psuffix}
Version: 7.4.3
Version: 7.4.4
Release: 0
Summary: Simple powerful testing with Python
License: MIT
@ -42,17 +42,18 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools_scm >= 6}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tomli >= 1}
BuildRequires: %{python_module tomli >= 1 if %python-base < 3.11}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-attrs >= 19.2.0
Requires: python-exceptiongroup
Requires: python-importlib-metadata >= 0.12
%if 0%{?python_version_nodots} < 311
Requires: python-exceptiongroup >= 1.0.0
Requires: python-tomli >= 1
%endif
Requires: python-iniconfig
Requires: python-packaging
Requires: python-pluggy >= 0.12
Requires: python-setuptools
Requires: python-tomli >= 1
%if %{with libalternatives}
Requires: alts
BuildRequires: alts