commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2020-06-21 18:50:34 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new.3606 (New) Package is "python-sure" Sun Jun 21 18:50:34 2020 rev:7 rq:814132 version:1.4.11 Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2018-08-31 10:46:34.311356810 +0200 +++ /work/SRC/openSUSE:Factory/.python-sure.new.3606/python-sure.changes 2020-06-21 19:06:35.621043463 +0200 @@ -1,0 +2,5 @@ +Fri Jun 12 07:59:31 UTC 2020 - pgaj...@suse.com + +- switch to pytest + +--- Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.UxgW0C/_old 2020-06-21 19:06:36.009044723 +0200 +++ /var/tmp/diff_new_pack.UxgW0C/_new 2020-06-21 19:06:36.013044736 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,7 +26,7 @@ URL:https://github.com/gabrielfalcao/sure Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz BuildRequires: %{python_module mock >= 2.0.0} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: fdupes @@ -52,7 +52,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} +# requires nose +rm tests/test_old_api.py +%pytest %files %{python_files} %license COPYING
commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2018-08-31 10:46:33 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new (New) Package is "python-sure" Fri Aug 31 10:46:33 2018 rev:6 rq:632155 version:1.4.11 Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2018-02-05 10:48:42.360396939 +0100 +++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes 2018-08-31 10:46:34.311356810 +0200 @@ -1,0 +2,6 @@ +Wed Aug 29 11:47:15 UTC 2018 - tchva...@suse.com + +- Version update to 1.4.11: + * Reading the version dynamically was causing import errors that caused error when installing package. Refs #144 + +--- Old: sure-1.4.7.tar.gz New: sure-1.4.11.tar.gz Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.EYcYxS/_old 2018-08-31 10:46:35.019357674 +0200 +++ /var/tmp/diff_new_pack.EYcYxS/_new 2018-08-31 10:46:35.019357674 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sure -Version:1.4.7 +Version:1.4.11 Release:0 Summary:Utility belt for automated testing in python for python -License:GPL-3.0+ +License:GPL-3.0-or-later Group: Development/Languages/Python -Url:https://github.com/requests/sure +URL:https://github.com/gabrielfalcao/sure Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} @@ -56,7 +55,8 @@ %python_expand nosetests-%{$python_bin_suffix} %files %{python_files} -%doc COPYING README.rst +%license COPYING +%doc README.rst %{python_sitelib}/* %changelog ++ sure-1.4.7.tar.gz -> sure-1.4.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.7/PKG-INFO new/sure-1.4.11/PKG-INFO --- old/sure-1.4.7/PKG-INFO 2017-10-02 15:46:06.0 +0200 +++ new/sure-1.4.11/PKG-INFO2018-05-16 23:40:44.0 +0200 @@ -1,10 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: sure -Version: 1.4.7 +Version: 1.4.11 Summary: utility belt for automated testing in python for python Home-page: http://github.com/gabrielfalcao/sure -Author: Timo Furrer -Author-email: tuxt...@gmail.com +Author: Gabriel Falcao +Author-email: gabr...@nacaolivre.org +Maintainer: Timo Furrer +Maintainer-email: tuxt...@gmail.com License: UNKNOWN Description: sure @@ -87,10 +89,10 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.7/setup.py new/sure-1.4.11/setup.py --- old/sure-1.4.7/setup.py 2017-10-02 15:45:40.0 +0200 +++ new/sure-1.4.11/setup.py2018-05-16 23:37:56.0 +0200 @@ -18,7 +18,6 @@ "utility belt for automated testing in python for python" -import ast import os import sys import codecs @@ -39,30 +38,6 @@ PROJECT_ROOT = os.path.dirname(__file__) -class VersionFinder(ast.NodeVisitor): - -def __init__(self): -self.version = None - -def visit_Assign(self, node): -try: -if node.targets[0].id == 'version': -self.version = node.value.s -except: -pass - - -def read_version(): -"""Read version from sure/__init__.py without loading any files""" -finder = VersionFinder() -path = os.path.join(PROJECT_ROOT, 'sure', '__init__.py') -with codecs.open(path, 'r', encoding='utf-8') as fp: -file_data = fp.read().encode('utf-8') -finder.visit(ast.parse(file_data)) - -return finder.version - - def local_text_file(*f): path = os.path.join(PROJECT_ROOT, *f) with open(path, 'rt') as fp: @@ -89,7 +64,7 @@ if __name__ == '__main__': setup(name='sure', -
commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2018-02-05 10:48:40 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new (New) Package is "python-sure" Mon Feb 5 10:48:40 2018 rev:5 rq:572031 version:1.4.7 Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2017-11-11 14:17:37.987538612 +0100 +++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes 2018-02-05 10:48:42.360396939 +0100 @@ -1,0 +2,5 @@ +Fri Feb 2 13:38:53 UTC 2018 - tchva...@suse.com + +- Fix url for the project + +--- Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.8p0IRD/_old 2018-02-05 10:48:43.028365667 +0100 +++ /var/tmp/diff_new_pack.8p0IRD/_new 2018-02-05 10:48:43.032365480 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,8 +16,6 @@ # -%bcond_without test - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sure Version:1.4.7 @@ -29,16 +27,13 @@ Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module mock >= 2.0.0} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module nose} -%endif Requires: python-mock >= 2.0.0 Requires: python-six >= 1.10.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -57,13 +52,10 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_expand nosetests-%{$python_bin_suffix} -%endif %files %{python_files} -%defattr(-,root,root,-) %doc COPYING README.rst %{python_sitelib}/*
commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2017-11-11 14:17:34 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new (New) Package is "python-sure" Sat Nov 11 14:17:34 2017 rev:4 rq:539576 version:1.4.7 Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2017-05-24 16:51:03.832670916 +0200 +++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes 2017-11-11 14:17:37.987538612 +0100 @@ -1,0 +2,6 @@ +Sat Nov 4 02:06:40 UTC 2017 - a...@gmx.de + +- update to version 1.4.7: + * Remove wrong parens for format call. Refs #139 + +--- Old: sure-1.4.6.tar.gz New: sure-1.4.7.tar.gz Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.ObdGNI/_old 2017-11-11 14:17:38.803508706 +0100 +++ /var/tmp/diff_new_pack.ObdGNI/_new 2017-11-11 14:17:38.807508558 +0100 @@ -20,19 +20,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sure -Version:1.4.6 +Version:1.4.7 Release:0 Summary:Utility belt for automated testing in python for python License:GPL-3.0+ Group: Development/Languages/Python Url:https://github.com/requests/sure Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module mock >= 2.0.0} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module nose} %endif ++ sure-1.4.6.tar.gz -> sure-1.4.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/PKG-INFO new/sure-1.4.7/PKG-INFO --- old/sure-1.4.6/PKG-INFO 2017-05-07 18:16:42.0 +0200 +++ new/sure-1.4.7/PKG-INFO 2017-10-02 15:46:06.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sure -Version: 1.4.6 +Version: 1.4.7 Summary: utility belt for automated testing in python for python Home-page: http://github.com/gabrielfalcao/sure Author: Timo Furrer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/setup.cfg new/sure-1.4.7/setup.cfg --- old/sure-1.4.6/setup.cfg2017-05-07 18:16:42.0 +0200 +++ new/sure-1.4.7/setup.cfg2017-10-02 15:46:06.0 +0200 @@ -1,5 +1,4 @@ [egg_info] -tag_svn_revision = 0 tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/sure/__init__.py new/sure-1.4.7/sure/__init__.py --- old/sure-1.4.6/sure/__init__.py 2017-05-07 18:16:19.0 +0200 +++ new/sure-1.4.7/sure/__init__.py 2017-10-02 15:45:40.0 +0200 @@ -48,7 +48,7 @@ if not PY2: basestring = str -version = '1.4.6' +version = '1.4.7' not_here_error = \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/sure/core.py new/sure-1.4.7/sure/core.py --- old/sure-1.4.6/sure/core.py 2017-05-07 18:16:19.0 +0200 +++ new/sure-1.4.7/sure/core.py 2017-10-02 15:45:40.0 +0200 @@ -100,7 +100,7 @@ return True else: m = 'X{0}±{1} != Y{2}±{3}'.format( -(red(c.current_X_keys), self.epsilon, green(c.current_Y_keys), self.epsilon)) +red(c.current_X_keys), self.epsilon, green(c.current_Y_keys), self.epsilon) return DeepExplanation(m) def compare_dicts(self, X, Y): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/sure.egg-info/PKG-INFO new/sure-1.4.7/sure.egg-info/PKG-INFO --- old/sure-1.4.6/sure.egg-info/PKG-INFO 2017-05-07 18:16:42.0 +0200 +++ new/sure-1.4.7/sure.egg-info/PKG-INFO 2017-10-02 15:46:06.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sure -Version: 1.4.6 +Version: 1.4.7 Summary: utility belt for automated testing in python for python Home-page: http://github.com/gabrielfalcao/sure Author: Timo Furrer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.4.6/sure.egg-info/SOURCES.txt new/sure-1.4.7/sure.egg-info/SOURCES.txt --- old/sure-1.4.6/sure.egg-info/SOURCES.txt2017-05-07 18:16:42.0 +0200 +++
commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2017-05-24 16:50:21 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new (New) Package is "python-sure" Wed May 24 16:50:21 2017 rev:3 rq:497352 version:1.4.6 Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2016-03-16 10:35:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes 2017-05-24 16:51:03.832670916 +0200 @@ -1,0 +2,9 @@ +Mon May 22 16:52:16 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version. +- Fix source URL. +- Update to version 1.4.6 + * Enormous number of changes. Please see full changelog here: +https://github.com/gabrielfalcao/sure/blob/v1.4.6/CHANGELOG.md + +--- Old: sure-1.2.24.tar.gz New: sure-1.4.6.tar.gz Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.a9MkmX/_old 2017-05-24 16:51:04.368595476 +0200 +++ /var/tmp/diff_new_pack.a9MkmX/_new 2017-05-24 16:51:04.372594913 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,29 +16,31 @@ # +%bcond_without test + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sure -Version:1.2.24 +Version:1.4.6 Release:0 Summary:Utility belt for automated testing in python for python License:GPL-3.0+ Group: Development/Languages/Python Url:https://github.com/requests/sure -Source: https://pypi.python.org/packages/source/s/sure/sure-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-mock -BuildRequires: python-nose -BuildRequires: python-rednose -BuildRequires: python-setuptools -BuildRequires: python-six -Requires: python-mock -Requires: python-six -%py_requires +Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module mock >= 2.0.0} +BuildRequires: %{python_module six >= 1.10.0} +%if %{with test} +BuildRequires: %{python_module nose} +%endif +Requires: python-mock >= 2.0.0 +Requires: python-six >= 1.10.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description A testing library for python with powerful and flexible assertions. Sure is @@ -49,17 +51,20 @@ sed -i '/^#!/d' sure/*.py %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -python setup.py test +%python_expand nosetests-%{$python_bin_suffix} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.md +%doc COPYING README.rst %{python_sitelib}/* %changelog ++ sure-1.2.24.tar.gz -> sure-1.4.6.tar.gz ++ 3047 lines of diff (skipped)
commit python-sure for openSUSE:Factory
Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2016-03-16 10:35:02 Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new (New) Package is "python-sure" Changes: --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2015-04-25 11:23:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes 2016-03-16 10:35:03.0 +0100 @@ -1,0 +2,33 @@ +Wed Mar 9 11:16:30 UTC 2016 - dval...@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. + +--- Old: sure-1.2.10.tar.gz New: sure-1.2.24.tar.gz Other differences: -- ++ python-sure.spec ++ --- /var/tmp/diff_new_pack.HvFOrP/_old 2016-03-16 10:35:05.0 +0100 +++ /var/tmp/diff_new_pack.HvFOrP/_new 2016-03-16 10:35:05.0 +0100 @@ -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 @@ -17,7 +17,7 @@ Name: python-sure -Version:1.2.10 +Version:1.2.24 Release:0 Summary:Utility belt for automated testing in python for python License:GPL-3.0+ ++ sure-1.2.10.tar.gz -> sure-1.2.24.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.2.10/PKG-INFO new/sure-1.2.24/PKG-INFO --- old/sure-1.2.10/PKG-INFO2015-04-14 18:11:22.0 +0200 +++ new/sure-1.2.24/PKG-INFO2015-08-27 18:58:59.0 +0200 @@ -1,13 +1,13 @@ Metadata-Version: 1.1 Name: sure -Version: 1.2.10 +Version: 1.2.24 Summary: utility belt for automated testing in python for python Home-page: http://github.com/gabrielfalcao/sure Author: Gabriel Falcao Author-email: gabr...@nacaolivre.org License: UNKNOWN -Description: sure ``1.2.9`` -== +Description: sure ``1.2.23`` +=== A testing library for python with powerful and flexible assertions. Sure is heavily inspired by @@ -50,18 +50,16 @@ (4).should.be.equal(2 + 2) (7.5).should.eql(3.5 + 4) -(2).should.equal(8 / 4) (3).shouldnt.be.equal(5) -{'a': 'collection'}.should.equal({'a': 'collection'}) does deep comparison - ^^ +Assert dictionary and its contents +^^ .. code:: python {'foo': 'bar'}.should.equal({'foo': 'bar'}) -{'foo': 'bar'}.should.eql({'foo': 'bar'}) -{'foo': 'bar'}.must.be.equal({'foo': 'bar'}) +{'foo': 'bar'}.should.have.key('foo').which.should.equal('bar') "A string".lower().should.equal("a string") also works ^^ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sure-1.2.10/README.md new/sure-1.2.24/README.md --- old/sure-1.2.10/README.md 2015-04-14 18:11:20.0 +0200 +++ new/sure-1.2.24/README.md 2015-08-27 18:58:58.0 +0200 @@ -1,4 +1,4 @@ -# sure `1.2.10` +# sure `1.2.24` A testing