From ac8ca6571b6f040a428abc66e7bc7ff533d24302a8909269550949cd81410888 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 29 Aug 2021 06:03:51 +0000 Subject: [PATCH] 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 --- flexmock-0.10.4.tar.gz | 3 --- flexmock-0.10.7.tar.gz | 3 +++ python-flexmock.changes | 16 +++++++++++++++- python-flexmock.spec | 4 ++-- 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 flexmock-0.10.4.tar.gz create mode 100644 flexmock-0.10.7.tar.gz diff --git a/flexmock-0.10.4.tar.gz b/flexmock-0.10.4.tar.gz deleted file mode 100644 index dc6206f..0000000 --- a/flexmock-0.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5033ceb974d6452cf8716c2ff5059074b77e546df5c849fb44a53f98dfe0d82c -size 45362 diff --git a/flexmock-0.10.7.tar.gz b/flexmock-0.10.7.tar.gz new file mode 100644 index 0000000..4b8d71f --- /dev/null +++ b/flexmock-0.10.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0abedcc894a817452ae3902e8e00f0a8d2c66497f63caaaab03cbd464ea63d04 +size 46796 diff --git a/python-flexmock.changes b/python-flexmock.changes index 7a68e13..98edd7d 100644 --- a/python-flexmock.changes +++ b/python-flexmock.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Aug 25 09:55:08 UTC 2021 - John Paul Adrian Glaubitz + +- 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 @@ -35,4 +50,3 @@ Thu Oct 13 10:22:24 UTC 2016 - alarrosa@suse.com - Initial package - Official upstream release 0.10.2 - diff --git a/python-flexmock.spec b/python-flexmock.spec index 1f0e8ce..ee4884c 100644 --- a/python-flexmock.spec +++ b/python-flexmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-flexmock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flexmock -Version: 0.10.4 +Version: 0.10.7 Release: 0 Summary: Testing library for creating mocks, stubs and fakes License: BSD-2-Clause