- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=132
This commit is contained in:
Dirk Mueller 2024-01-02 08:25:33 +00:00 committed by Git OBS Bridge
parent 17d2b5aa26
commit b217aa53f2
4 changed files with 19 additions and 5 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,17 @@
-------------------------------------------------------------------
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