Accepting request 993296 from home:bnavigator:branches:devel:languages:python

- Update to 7.1.2
  * #9726: An unnecessary numpy import inside
    pytest.approx{.interpreted-text role="func"} was removed.
  * #9820: Fix comparison of dataclasses with InitVar.
  * #9869: Increase stacklevel for the NODE_CTOR_FSPATH_ARG
    deprecation to point to the user's code, not pytest.
  * #9871: Fix a bizarre (and fortunately rare) bug where the
    [temp_path]{.title-ref} fixture could raise an internal error
    while attempting to get the current user's username.

OBS-URL: https://build.opensuse.org/request/show/993296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=102
This commit is contained in:
Matej Cepl 2022-08-06 15:22:16 +00:00 committed by Git OBS Bridge
parent 1f283a0f4d
commit d294eea617
4 changed files with 18 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63
size 1255528

3
pytest-7.1.2.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Aug 5 11:36:38 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 7.1.2
* #9726: An unnecessary numpy import inside
pytest.approx{.interpreted-text role="func"} was removed.
* #9820: Fix comparison of dataclasses with InitVar.
* #9869: Increase stacklevel for the NODE_CTOR_FSPATH_ARG
deprecation to point to the user's code, not pytest.
* #9871: Fix a bizarre (and fortunately rare) bug where the
[temp_path]{.title-ref} fixture could raise an internal error
while attempting to get the current user's username.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 25 23:39:31 UTC 2022 - Ben Greiner <code@bnavigator.de> Fri Mar 25 23:39:31 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -34,7 +34,7 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pytest%{psuffix} Name: python-pytest%{psuffix}
Version: 7.1.1 Version: 7.1.2
Release: 0 Release: 0
Summary: Simple powerful testing with Python Summary: Simple powerful testing with Python
License: MIT License: MIT
@ -104,8 +104,7 @@ sed -i '/^\[metadata\]/ a version = %{version}' setup.cfg
%check %check
%if %{with test} %if %{with test}
# assert rewrite: gh#pytest-dev/pytest#9761 %pytest -n auto
%pytest -n auto -k "not (test_assertrewrite)"
%endif %endif
%if ! %{with test} %if ! %{with test}