Package Release Info

python-flexmock-0.12.2-bp160.1.2

Update Info: Base Release
Available in Package Hub : 16.0

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

python313-flexmock

Change Logs

* Tue Jun 17 2025 Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
* Tue Jan 21 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 05 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 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 08 2023 Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
* Tue Aug 31 2021 Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.10.8:
  * Fix with_args not working built-in functions.
* Wed Aug 25 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.
Version: 0.10.4-bp155.2.12
* Thu Mar 28 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 2019 Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.10.3:
  - fix compatibility with py.test 4.1
  - minor documentation fixes
Version: 0.10.4-bp152.1.8
* Thu Mar 28 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 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 0.10.3:
  - fix compatibility with py.test 4.1
  - minor documentation fixes
* Wed Dec 05 2018 Jan Engelhardt <jengelh@inai.de>
- Trim bias from description.
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
Version: 0.10.2-bp150.2.4
* Thu Sep 07 2017 toddrme2178@gmail.com
- Implement single-spec version.
* Thu Oct 13 2016 alarrosa@suse.com
- Initial package
- Official upstream release 0.10.2