- update to 3.12.0:

* Added support for Python 3.12.
  * Dropped support for EOL Python 3.7.
  * ``mocker.resetall()`` now also resets mocks created by
    ``mocker.create_autospec`` (`#390`_).
- add upstream patch to test with pytest5 - fix_tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=38
This commit is contained in:
Dirk Mueller 2023-11-07 19:36:34 +00:00 committed by Git OBS Bridge
parent 90850a03a3
commit 312a9e3b24
4 changed files with 15 additions and 5 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Nov 7 19:35:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.12.0:
* Added support for Python 3.12.
* Dropped support for EOL Python 3.7.
* ``mocker.resetall()`` now also resets mocks created by
``mocker.create_autospec`` (`#390`_).
-------------------------------------------------------------------
Mon Jul 24 19:10:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -186,7 +195,7 @@ Fri Jul 26 12:26:36 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
-------------------------------------------------------------------
Thu Jul 18 08:52:38 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- add upstream patch to test with pytest5 - fix_tests.patch
- add upstream patch to test with pytest5 - fix_tests.patch
-------------------------------------------------------------------
Wed May 15 17:39:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,12 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-pytest-mock
Version: 3.11.1
Version: 3.12.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
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pytest >= 5}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module py}