- Replace deprecated %setup with %autosetup
- Fix source URL -- pythonhosted no longer includes setup.py
- Update to 0.12.1:
* Flexmock Pytest plugin entrypoint missing from setup.py.
- Updates from 0.12.0:
* Add tox.ini to sdist to make the downstream testing easier.
* Add Python 3.12 and 3.13 support.
* Drop Python 3.6 and 3.7 support.
* Drop Pytest 5.x support.
* Fixed the pytest integration by switching from wrapping of the
test runner to the pytest plugin system.
OBS-URL: https://build.opensuse.org/request/show/1185797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=18
- update to 0.11.3:
* Add PEP 561 `py.typed` marker file.
* Re-organize unit tests.
* Add a warning about the usage of `.new_instances()` method in
the documentation.
* Run tests with testtools, subunit, TeamCity, and doctest
testrunners using tox.
* Test flexmock API examples using doctest.
* Re-add Sphinx support for generating man pages.
* Fix 404 page not loading CSS and Javascript resources in
documentation.
* Add Python 3.8, 3.9, 3.10, and 3.11 support.
* Add type annotations.
* **BREAKING CHANGE**: Flexmock needs to be imported explicitly
using `from flexmock import flexmock`.
* Many error messages have been improved.
* Drop Python 2.7, 3.4, 3.5 support.
* Drop Pytest 4.x support.
* **BREAKING CHANGE**: Removed support for calling `once`,
`twice`, `never`, and `mock` methods without parentheses.
* Fix `should_call` is broken if called on a fake object.
* Fix `and_raise` allows invalid arguments for an exception.
* Fix AttributeError raised when mocking a proxied object.
* Fix flexmock not mocking methods properly on derived classes.
* Fix with_args not working built-in functions.
- Initial package
OBS-URL: https://build.opensuse.org/request/show/1129215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=7
* Add PEP 561 `py.typed` marker file.
* Re-organize unit tests.
* Add a warning about the usage of `.new_instances()` method in
the documentation.
* Run tests with testtools, subunit, TeamCity, and doctest
testrunners using tox.
* Test flexmock API examples using doctest.
* Re-add Sphinx support for generating man pages.
* Fix 404 page not loading CSS and Javascript resources in
documentation.
* Add Python 3.8, 3.9, 3.10, and 3.11 support.
* Add type annotations.
* **BREAKING CHANGE**: Flexmock needs to be imported explicitly
using `from flexmock import flexmock`.
* Many error messages have been improved.
* Drop Python 2.7, 3.4, 3.5 support.
* Drop Pytest 4.x support.
* **BREAKING CHANGE**: Removed support for calling `once`,
`twice`, `never`, and `mock` methods without parentheses.
* Fix `should_call` is broken if called on a fake object.
* Fix `and_raise` allows invalid arguments for an exception.
* Fix AttributeError raised when mocking a proxied object.
* Fix flexmock not mocking methods properly on derived classes.
* Fix with_args not working built-in functions.
- Initial package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=16
- Update to 0.10.8:
* Fix with_args not working built-in functions.
- Update to 0.10.7:
- Fix ``with_args`` not working built-in functions and methods.
- Fix previous pytest ``--durations`` fix not working.
- from version 0.10.6
- Fix flexmock broken with Pytest 4 & 5.
- Fix new_instances method not working with Python 2.7.
- Fix multiple expectations for the same classmethod are not matched.
- from version 0.10.5
- Improve error message on unmatched method signature expectation.
- Fix using ``should_call`` passes wrong ``runtime_self``.
- Fix pytest ``--durations`` flag when flexmock is installed.
OBS-URL: https://build.opensuse.org/request/show/915211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=5
- Update to 0.10.7:
- Fix ``with_args`` not working built-in functions and methods.
- Fix previous pytest ``--durations`` fix not working.
- from version 0.10.6
- Fix flexmock broken with Pytest 4 & 5.
- Fix new_instances method not working with Python 2.7.
- Fix multiple expectations for the same classmethod are not matched.
- from version 0.10.5
- Improve error message on unmatched method signature expectation.
- Fix using ``should_call`` passes wrong ``runtime_self``.
- Fix pytest ``--durations`` flag when flexmock is installed.
OBS-URL: https://build.opensuse.org/request/show/914197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=12