From d294eea617bcf234c28e327a66cf6df7842efc4ea9cdb870e73b250ef11a0a64 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 6 Aug 2022 15:22:16 +0000 Subject: [PATCH] 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 --- pytest-7.1.1.tar.gz | 3 --- pytest-7.1.2.tar.gz | 3 +++ python-pytest.changes | 13 +++++++++++++ python-pytest.spec | 5 ++--- 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 pytest-7.1.1.tar.gz create mode 100644 pytest-7.1.2.tar.gz diff --git a/pytest-7.1.1.tar.gz b/pytest-7.1.1.tar.gz deleted file mode 100644 index ca1686c..0000000 --- a/pytest-7.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63 -size 1255528 diff --git a/pytest-7.1.2.tar.gz b/pytest-7.1.2.tar.gz new file mode 100644 index 0000000..adb9332 --- /dev/null +++ b/pytest-7.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45 +size 1256241 diff --git a/python-pytest.changes b/python-pytest.changes index 329eb3a..a10ef53 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Aug 5 11:36:38 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-pytest.spec b/python-pytest.spec index 73be2f7..b54ac29 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -34,7 +34,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-pytest%{psuffix} -Version: 7.1.1 +Version: 7.1.2 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -104,8 +104,7 @@ sed -i '/^\[metadata\]/ a version = %{version}' setup.cfg %check %if %{with test} -# assert rewrite: gh#pytest-dev/pytest#9761 -%pytest -n auto -k "not (test_assertrewrite)" +%pytest -n auto %endif %if ! %{with test}