From 6a0a7cfd38ebb7b134dda7d112c682ebcd692e5c81de27d8edd3262b4319ee59 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 10 Mar 2016 11:11:41 +0000 Subject: [PATCH] Accepting request 369048 from home:k0da:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 1.2.24 - Fix #48. Ready to fast forward, Python 3.4 support again Fixed a grammar nit when two things are not equal - When two things are not equal to each other, they “differ from” each other. - fix: #80 AttributeError: 'module' object has no attribute '_CallList' - Fix python3 setup.py file read encoding issue. - adding carpentry build - fixing api - New feature: .should.have.thrown() alias to should.throw .should.have.raised() alias to should.throw .should.have.returned_the_value alias ro should.return_value - make python 3 compatible again The function objects in python 3 have no `func_code` member anymore. Use `__code__` instead. The byte objects in python 3 have no `format` method. Use `encode` instead. The representation of the strings and encoded strings are different in python 2 and python 3 thus use PY3 from six. Remove unlucky example from README since python 3 returns a float and python 2 an int in this situation Python 2 and 3 build is working again -Fix #48. AssertionBuilder.__call__ wasn't pushing through the _callable_args and _callable_kw attributes, so they weren't percolated through the assertion chain. OBS-URL: https://build.opensuse.org/request/show/369048 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=9 --- python-sure.changes | 33 +++++++++++++++++++++++++++++++++ python-sure.spec | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/python-sure.changes b/python-sure.changes index fce1926..6866993 100644 --- a/python-sure.changes +++ b/python-sure.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Mar 9 11:16:30 UTC 2016 - dvaleev@suse.com + +- Update to 1.2.24 +- Fix #48. + Ready to fast forward, Python 3.4 support again + Fixed a grammar nit when two things are not equal + +- When two things are not equal to each other, they “differ from” each other. +- fix: #80 + AttributeError: 'module' object has no attribute '_CallList' + +- Fix python3 setup.py file read encoding issue. +- adding carpentry build +- fixing api + +- New feature: + .should.have.thrown() alias to should.throw + .should.have.raised() alias to should.throw + .should.have.returned_the_value alias ro should.return_value + +- make python 3 compatible again + The function objects in python 3 have no `func_code` member anymore. Use `__code__` instead. + The byte objects in python 3 have no `format` method. Use `encode` instead. + The representation of the strings and encoded strings are different in python 2 and python 3 thus use PY3 from six. + Remove unlucky example from README since python 3 returns a float and python 2 an int in this situation + Python 2 and 3 build is working again + +-Fix #48. + AssertionBuilder.__call__ wasn't pushing through the + _callable_args and _callable_kw attributes, so they + weren't percolated through the assertion chain. + ------------------------------------------------------------------- Wed Apr 22 11:35:20 UTC 2015 - mcihar@suse.cz diff --git a/python-sure.spec b/python-sure.spec index 98a59b2..3d33af5 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed