From 8fd69a846a33986e63ca2761eeec41d42ce46293ffc9f1ae08e177249c0ac870 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 16 Sep 2020 21:32:00 +0000 Subject: [PATCH] - update to 6.14.2: - Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare` - remove python383.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=29 --- python-testfixtures.changes | 7 +++++++ python-testfixtures.spec | 4 +--- python383.patch | 22 ---------------------- testfixtures-6.14.1.tar.gz | 3 --- testfixtures-6.14.2.tar.gz | 3 +++ 5 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 python383.patch delete mode 100644 testfixtures-6.14.1.tar.gz create mode 100644 testfixtures-6.14.2.tar.gz diff --git a/python-testfixtures.changes b/python-testfixtures.changes index 0f7ab5e..0477ca2 100644 --- a/python-testfixtures.changes +++ b/python-testfixtures.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 16 21:30:17 UTC 2020 - Dirk Mueller + +- update to 6.14.2: + - Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare` +- remove python383.patch (upstream) + ------------------------------------------------------------------- Tue Jun 23 15:51:53 UTC 2020 - Benjamin Greiner diff --git a/python-testfixtures.spec b/python-testfixtures.spec index 53f6f11..e4a4ae7 100644 --- a/python-testfixtures.spec +++ b/python-testfixtures.spec @@ -19,13 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-testfixtures -Version: 6.14.1 +Version: 6.14.2 Release: 0 Summary: A collection of helpers and mock objects for unit tests and doc tests License: MIT URL: https://github.com/Simplistix/testfixtures Source: https://files.pythonhosted.org/packages/source/t/testfixtures/testfixtures-%{version}.tar.gz -Patch0: python383.patch BuildRequires: %{python_module Django} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module pytest >= 3.6} @@ -58,7 +57,6 @@ their own library and give them some tests of their own! %prep %setup -q -n testfixtures-%{version} -%patch0 -p1 chmod a-x docs/*.txt %build diff --git a/python383.patch b/python383.patch deleted file mode 100644 index 3ce444c..0000000 --- a/python383.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 9684e9816c39377f5cc08819dee711b2255fb2d3 Mon Sep 17 00:00:00 2001 -From: Chris Withers -Date: Sun, 17 May 2020 08:01:57 +0100 -Subject: [PATCH] fix for python 3.8.3 - ---- - testfixtures/utils.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/testfixtures/utils.py b/testfixtures/utils.py -index 9584db3..00aa9da 100644 ---- a/testfixtures/utils.py -+++ b/testfixtures/utils.py -@@ -68,7 +68,7 @@ def patched(*args, **keywargs): - to_add = len(getargspec(func).args[len(args):]) - added = 0 - -- exc_info = tuple() -+ exc_info = (None, None, None) - try: - for patching in patched.patchings: - arg = patching.__enter__() diff --git a/testfixtures-6.14.1.tar.gz b/testfixtures-6.14.1.tar.gz deleted file mode 100644 index 0e39713..0000000 --- a/testfixtures-6.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58d2b3146d93bc5ddb0cd24e0ccacb13e29bdb61e5c81235c58f7b8ee4470366 -size 114969 diff --git a/testfixtures-6.14.2.tar.gz b/testfixtures-6.14.2.tar.gz new file mode 100644 index 0000000..1b60a9b --- /dev/null +++ b/testfixtures-6.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14d9907390f5f9c7189b3d511b64f34f1072d07cc13b604a57e1bb79029376e3 +size 115229