Compare commits

2 Commits
1.1 ... main

4 changed files with 68 additions and 11 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Tue Apr 22 12:27:46 UTC 2025 - ecsos <ecsos@opensuse.org>
- Update to 8.3.5
* Bug fixes
- #11777: Fixed issue where sequences were still being shortened
even with -vv verbosity.
- #12888: Fixed broken input when using Python 3.13+ and a libedit
build of Python, such as on macOS or with uv-managed Python
binaries from the python-build- standalone project.
This could manifest e.g. by a broken prompt when using Pdb,
or seeing empty inputs with manual usage of input() and
suspended capturing.
- #13026: Fixed AttributeError{.interpreted-text role="class"}
crash when using --import-mode=importlib when top-level directory
same name as another module of the standard library.
- #13053: Fixed a regression in pytest 8.3.4 where, when using
--import-mode=importlib, a directory containing py file with
the same name would cause an ImportError
- #13083: Fixed issue where pytest could crash if one of the
collected directories got removed during collection.
* Improved documentation
- #12842: Added dedicated page about using types with pytest.
See types{.interpreted-text role="ref"} for detailed usage.
* Contributor-facing changes
- #13112: Fixed selftest failures in test_terminal.py with Pygments >= 2.19.0
- #13256: Support for Towncrier versions released in 2024 has been re-enabled
when building Sphinx docs -- by webknjaz{.interpreted-text role="user"}.
- Drop pygments.patch, because now in upstream.
-------------------------------------------------------------------
Tue Jan 7 14:12:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream pygments.patch to fix compatibility with new Pygments
-------------------------------------------------------------------
Thu Dec 5 18:03:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 8.3.4:
* #12592: Fixed :class:`KeyError` crash when using --import-
mode=importlib in a directory layout where a directory
contains a child directory with the same name.
* #12818: Assertion rewriting now preserves the source ranges
of the original instructions, making it play well with tools
that deal with the AST, like executing.
* #12849: ANSI escape codes for colored output now handled
correctly in :func:`pytest.fail` with pytrace=False.
* #9353: :func:`pytest.approx` now uses strict equality when
given booleans.
* #10558: Fix ambiguous docstring of
:func:`pytest.Config.getoption`.
* #10829: Improve documentation on the current handling of the
--basetemp option and its lack of retention functionality
(:ref:`temporary directory location and retention`).
* #12866: Improved cross-references concerning the
:fixture:`recwarn` fixture.
* #12966: Clarify :ref:`filterwarnings` docs on filter
precedence/order when using multiple
:ref:`@pytest.mark.filterwarnings <pytest.mark.filterwarnings
ref>` marks.
* #12497: Fixed two failing pdb-related tests on Python 3.13.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 24 07:24:14 UTC 2024 - Dirk Müller <dmueller@suse.com> Thu Oct 24 07:24:14 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest # spec file for package python-pytest
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest%{psuffix} Name: python-pytest%{psuffix}
Version: 8.3.3 Version: 8.3.5
Release: 0 Release: 0
Summary: Simple powerful testing with Python Summary: Simple powerful testing with Python
License: MIT License: MIT
@@ -43,19 +43,14 @@ BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm >= 6} BuildRequires: %{python_module setuptools_scm >= 6}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tomli >= 1 if %python-base < 3.11}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
Requires: python-attrs >= 19.2.0
%if 0%{?python_version_nodots} < 311
Requires: python-exceptiongroup >= 1.0.0
%endif
Requires: python-iniconfig Requires: python-iniconfig
Requires: python-packaging Requires: python-packaging
Requires: python-pluggy >= 1.5 Requires: python-pluggy >= 1.5
Requires: python-setuptools Requires: python-setuptools
Requires: (python-tomli >= 1 if python-base < 3.11) Recommends: python-attrs >= 19.2.0
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
BuildRequires: alts BuildRequires: alts