14
0

24 Commits

Author SHA256 Message Date
6de48793fa Accepting request 1286224 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1286224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=10
2025-06-17 16:22:47 +00:00
3bbb049663 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=22
2025-06-17 04:20:03 +00:00
fac6bc46f1 Accepting request 1239249 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=9
2025-01-21 20:11:00 +00:00
6c98654802 Accepting request 1239213 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1239213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=20
2025-01-21 11:44:12 +00:00
374994f19d Accepting request 1186412 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=8
2024-07-09 18:06:01 +00:00
b802008253 Accepting request 1185797 from home:smolsheep:upgrades
- 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
2024-07-09 13:27:49 +00:00
1a9f30cfc8 Accepting request 1129215 from devel:languages:python
- 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
2023-11-27 21:44:55 +00:00
c760d7c15d - 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/package/show/devel:languages:python/python-flexmock?expand=0&rev=16
2023-11-27 18:53:20 +00:00
1c27f92802 Accepting request 1085448 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=6
2023-05-08 15:24:43 +00:00
d26780b351 Accepting request 1085421 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=14
2023-05-08 08:19:41 +00:00
5c64be8a95 Accepting request 915211 from devel:languages:python
- 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
2021-09-03 19:26:06 +00:00
e4dc6307cd - Update to 0.10.8:
* Fix with_args not working built-in functions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=13
2021-08-31 08:54:11 +00:00
ac8ca6571b Accepting request 914197 from home:glaubitz:branches:devel:languages:python
- 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
2021-08-29 06:03:51 +00:00
7d9eba9438 Accepting request 689382 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/689382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=4
2019-04-02 07:21:38 +00:00
Tomáš Chvátal
fccc883559 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=10
2019-03-28 14:28:59 +00:00
5ca9e98ed0 Accepting request 684399 from devel:languages:python
- Update to 0.10.3:
  - fix compatibility with py.test 4.1
  - minor documentation fixes

OBS-URL: https://build.opensuse.org/request/show/684399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=3
2019-03-13 08:14:30 +00:00
Tomáš Chvátal
3bec86b792 - Update to 0.10.3:
- fix compatibility with py.test 4.1
  - minor documentation fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=8
2019-03-12 15:41:28 +00:00
24cc2dc6b8 Accepting request 655397 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=2
2018-12-13 18:47:16 +00:00
Todd R
b9e22110f0 Accepting request 654125 from home:jengelh:branches:devel:languages:python
- Trim bias from description.

OBS-URL: https://build.opensuse.org/request/show/654125
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=6
2018-12-05 19:23:39 +00:00
29e8986449 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=5
2018-12-04 17:13:37 +00:00
3fd1e73921 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=4
2018-12-04 13:28:06 +00:00
8660cd1701 Accepting request 522162 from devel:languages:python
singlespec version of python3-flexmock, which is already in openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/522162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=1
2017-09-13 20:30:38 +00:00
Todd R
4a42db70ae Accepting request 522161 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/522161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=2
2017-09-07 20:31:52 +00:00
b5fba4018c Accepting request 435718 from home:alarrosa:branches:Archiving:Backup
Added requested changes

OBS-URL: https://build.opensuse.org/request/show/435718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=1
2016-10-17 12:51:21 +00:00