File python-flexmock.changes of Package python-flexmock
-------------------------------------------------------------------
Tue Jun 17 04:13:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jan 21 09:17:16 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.12.2
* Fix typing of and_raise (exception instances are allowed).
* Fix teardown for spying on derived class methods.
* Remove python 3.6 mentions and add py-version config to pylint.
- Adjust URL to upstream source tarball on Github
-------------------------------------------------------------------
Fri Jul 5 13:21:48 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- 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.
-------------------------------------------------------------------
Mon Nov 27 18:51:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Mon May 8 07:15:31 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Tue Aug 31 08:53:33 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.10.8:
* Fix with_args not working built-in functions.
-------------------------------------------------------------------
Wed Aug 25 09:55:08 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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.
-------------------------------------------------------------------
Thu Mar 28 14:27:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.10.4:
- drop Python 2.6, 3.3 and Jython support
- add Python 3.6 and 3.7 support
- don't hide exception when flexmock is used as context manager
- fix expectation reset for static methods on pypy 2
- ensure original exception isn't suppressed in pytest hook
-------------------------------------------------------------------
Tue Mar 12 15:40:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.10.3:
- fix compatibility with py.test 4.1
- minor documentation fixes
-------------------------------------------------------------------
Wed Dec 5 01:06:27 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description.
-------------------------------------------------------------------
Tue Dec 4 12:48:08 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu Sep 7 20:06:59 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version.
-------------------------------------------------------------------
Thu Oct 13 10:22:24 UTC 2016 - alarrosa@suse.com
- Initial package
- Official upstream release 0.10.2