8 Commits

Author SHA256 Message Date
860c6a8794 Accepting request 1308060 from devel:languages:python:pytest
- update to 3.15.1:
  * #529: Fixed itertools._tee object has no attribute error --
    now duplicate_iterators=True must be passed to mocker.spy to
    duplicate iterators.

OBS-URL: https://build.opensuse.org/request/show/1308060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=30
2025-09-30 15:48:29 +00:00
0e8c04c574 - update to 3.15.1:
* #529: Fixed itertools._tee object has no attribute error --
    now duplicate_iterators=True must be passed to mocker.spy to
    duplicate iterators.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=48
2025-09-29 20:31:24 +00:00
218ca8e7dd Accepting request 1303678 from devel:languages:python:pytest
- 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/request/show/1303678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=29
2025-09-11 12:38:17 +00:00
5941990dc5 - 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
2025-09-10 17:13:50 +00:00
0b6719cf07 Accepting request 1198186 from devel:languages:python:pytest
- Drop python-py requirement, no longer required.

OBS-URL: https://build.opensuse.org/request/show/1198186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=28
2024-09-03 11:37:34 +00:00
cb52a54a47 - 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=44
2024-09-02 01:46:41 +00:00
a4f0161c06 Accepting request 1186141 from devel:languages:python:pytest
- update to 3.14.0:
  * #415: MockType and AsyncMockType can be imported from
    pytest_mock for type annotation purposes.
  * #420: Fixed a regression which would cause
    mocker.patch.object to not being properly cleared between
    tests.
  * #417: spy now has spy_return_list, which is a list containing
    all the values returned by the spied function.
  * pytest-mock now requires pytest>=6.2.5.
  * #410: pytest-mock's setup.py file is removed. If you relied
    on this file, e.g. to install pytest using setup.py install,
    please see Why you shouldn't invoke setup.py directly for
    alternatives.
- drop fix-tests-python3117.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1186141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=27
2024-07-10 14:47:48 +00:00
3a7e75f26a - update to 3.14.0:
* #415: MockType and AsyncMockType can be imported from
    pytest_mock for type annotation purposes.
  * #420: Fixed a regression which would cause
    mocker.patch.object to not being properly cleared between
    tests.
  * #417: spy now has spy_return_list, which is a list containing
    all the values returned by the spied function.
  * pytest-mock now requires pytest>=6.2.5.
  * #410: pytest-mock's setup.py file is removed. If you relied
    on this file, e.g. to install pytest using setup.py install,
    please see Why you shouldn't invoke setup.py directly for
    alternatives.
- drop fix-tests-python3117.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=42
2024-07-08 10:49:16 +00:00

Diff Content Not Available