From c84a87535bccffc217bf9e69e243ef1a005be2a4ab9283a79266648ca1034956 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 Sep 2025 17:13:50 +0000 Subject: [PATCH] - update to 3.15.0: * Python 3.8 (EOL) is no longer supported. * #524: Added spy_return_iter to mocker.spy, which contains a duplicate of the return value of the spied method if it is an Iterator. * #503: Python 3.14 is now officially supported. - Drop python-py requirement, no longer required. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=46 --- pytest-mock-3.14.0.tar.gz | 3 --- pytest_mock-3.15.0.tar.gz | 3 +++ python-pytest-mock.changes | 12 +++++++++++- python-pytest-mock.spec | 8 ++++---- 4 files changed, 18 insertions(+), 8 deletions(-) delete mode 100644 pytest-mock-3.14.0.tar.gz create mode 100644 pytest_mock-3.15.0.tar.gz diff --git a/pytest-mock-3.14.0.tar.gz b/pytest-mock-3.14.0.tar.gz deleted file mode 100644 index 7170545..0000000 --- a/pytest-mock-3.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0 -size 32814 diff --git a/pytest_mock-3.15.0.tar.gz b/pytest_mock-3.15.0.tar.gz new file mode 100644 index 0000000..439fdee --- /dev/null +++ b/pytest_mock-3.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab896bd190316b9d5d87b277569dfcdf718b2d049a2ccff5f7aca279c002a1cf +size 33838 diff --git a/python-pytest-mock.changes b/python-pytest-mock.changes index 9d20a90..18b882f 100644 --- a/python-pytest-mock.changes +++ b/python-pytest-mock.changes @@ -1,7 +1,17 @@ +------------------------------------------------------------------- +Wed Sep 10 17:13:40 UTC 2025 - Dirk Müller + +- update to 3.15.0: + * Python 3.8 (EOL) is no longer supported. + * #524: Added spy_return_iter to mocker.spy, which contains a + duplicate of the return value of the spied method if it is an + Iterator. + * #503: Python 3.14 is now officially supported. + ------------------------------------------------------------------- Mon Sep 2 01:46:28 UTC 2024 - Steve Kowalik -- Drop python-py requirement, no longer required. +- Drop python-py requirement, no longer required. ------------------------------------------------------------------- Mon Jul 8 10:47:18 UTC 2024 - Dirk Müller diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec index 24ca30a..ba655da 100644 --- a/python-pytest-mock.spec +++ b/python-pytest-mock.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-mock # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?sle15_python_module_pythons} Name: python-pytest-mock -Version: 3.14.0 +Version: 3.15.0 Release: 0 Summary: Thin-wrapper around the mock package for easier use with pytest License: MIT URL: https://github.com/pytest-dev/pytest-mock -Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest_mock-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 5} @@ -43,7 +43,7 @@ provided by the `mock` package, but with the benefit of not having to worry abou patches at the end of a test %prep -%autosetup -p1 -n pytest-mock-%{version} +%autosetup -p1 -n pytest_mock-%{version} %build %pyproject_wheel