From c760d7c15de08139fa4335a9656cb5efef0aa4bd1e73d8dfaf4929924d0c5e2f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 18:53:20 +0000 Subject: [PATCH] - 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 --- flexmock-0.10.8.tar.gz | 3 --- flexmock-0.11.3.tar.gz | 3 +++ python-flexmock.changes | 32 ++++++++++++++++++++++++++++++-- python-flexmock.spec | 7 +++---- 4 files changed, 36 insertions(+), 9 deletions(-) delete mode 100644 flexmock-0.10.8.tar.gz create mode 100644 flexmock-0.11.3.tar.gz diff --git a/flexmock-0.10.8.tar.gz b/flexmock-0.10.8.tar.gz deleted file mode 100644 index 49652c3..0000000 --- a/flexmock-0.10.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6820031c39b298646194a3f0b2b693322bb7f44b39dbaf1c54b0ae68b3d768fa -size 46905 diff --git a/flexmock-0.11.3.tar.gz b/flexmock-0.11.3.tar.gz new file mode 100644 index 0000000..139ac37 --- /dev/null +++ b/flexmock-0.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1fe35f6a5f32547b5cd31a15c060d9ab863dc08aff018cd73dc78d1b651edd4 +size 52509 diff --git a/python-flexmock.changes b/python-flexmock.changes index 7e85954..fb4829d 100644 --- a/python-flexmock.changes +++ b/python-flexmock.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Nov 27 18:51:02 UTC 2023 - Dirk Müller + +- 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 @@ -7,7 +35,7 @@ Mon May 8 07:15:31 UTC 2023 - Johannes Kastl Tue Aug 31 08:53:33 UTC 2021 - Steve Kowalik - Update to 0.10.8: - * Fix with_args not working built-in functions. + * Fix with_args not working built-in functions. ------------------------------------------------------------------- Wed Aug 25 09:55:08 UTC 2021 - John Paul Adrian Glaubitz @@ -59,5 +87,5 @@ Thu Sep 7 20:06:59 UTC 2017 - toddrme2178@gmail.com ------------------------------------------------------------------- Thu Oct 13 10:22:24 UTC 2016 - alarrosa@suse.com -- Initial package +- Initial package - Official upstream release 0.10.2 diff --git a/python-flexmock.spec b/python-flexmock.spec index 7023b59..93dc228 100644 --- a/python-flexmock.spec +++ b/python-flexmock.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-flexmock -Version: 0.10.8 +Version: 0.11.3 Release: 0 Summary: Testing library for creating mocks, stubs and fakes License: BSD-2-Clause @@ -53,9 +53,8 @@ a number of Python-only features. %files %{python_files} %license LICENSE -%doc README.rst CHANGELOG -%{python_sitelib}/flexmock.py* -%pycache_only %{python_sitelib}/__pycache__/flexmock*.py* +%doc README.md CHANGELOG.md +%{python_sitelib}/flexmock %{python_sitelib}/flexmock-%{version}-py*.egg-info %changelog