commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2016-05-17 17:10:42 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock-doc.changes 2016-04-14 13:01:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock-doc.changes 2016-05-17 17:10:43.0 +0200 @@ -1,0 +2,8 @@ +Sun May 8 07:02:57 UTC 2016 - a...@gmx.de + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +--- --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2016-04-14 13:01:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2016-05-17 17:10:43.0 +0200 @@ -1,0 +2,8 @@ +Sun May 8 07:02:56 UTC 2016 - a...@gmx.de + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-mock.spec ++ --- /var/tmp/diff_new_pack.Sz3Faf/_old 2016-05-17 17:10:44.0 +0200 +++ /var/tmp/diff_new_pack.Sz3Faf/_new 2016-05-17 17:10:44.0 +0200 @@ -23,7 +23,7 @@ Summary:A Python Mocking and Patching Library for Testing License:BSD-2-Clause Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/m/mock/mock-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel BuildRequires: python3-pbr >= 0.11
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2016-04-14 13:01:14 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock-doc.changes 2015-10-24 10:23:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock-doc.changes 2016-04-14 13:01:15.0 +0200 @@ -1,0 +2,31 @@ +Sat Apr 9 16:43:52 UTC 2016 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 2.0.0: + * Fix #338: depend on a fixed version of funcsigs + * More 3.2 support dropping cleanup + * Update sync point + * Add Mock.assert_called() + * Issue25347 - Format the error message output of mock's +assert_has_calls method + * Issue #22138: Fix mock.patch behavior when patching +descriptors. Restore original values after patching + * Issue #24857: Comparing call_args to a long sequence now correctly +returns a boolean result instead of raising an exception + * Issue #23004: mock_open() now reads binary data correctly when the +type of read_data is bytes + * Add version info in the docs + * Update six to a version with raises_from + * Fix #328 - handle unicode __repr__ on Python 2.x + * Drop support for Python 3.2 + * Fix typo in docs/index.txt + * Fix README.rst checking + * Be clearer about Python version compat + * Issue #295: use a setup_requires dependency + * Improve grouping of imports in tests + * Use six to detect python2/3 in main module + * Use six to detect python2/3 in test modules + +--- python3-mock.changes: same change Old: mock-1.3.0.tar.gz New: mock-2.0.0.tar.gz Other differences: -- ++ python3-mock-doc.spec ++ --- /var/tmp/diff_new_pack.8hHflg/_old 2016-04-14 13:01:15.0 +0200 +++ /var/tmp/diff_new_pack.8hHflg/_new 2016-04-14 13:01:15.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-mock-doc # -# 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: python3-mock-doc -Version:1.3.0 +Version:2.0.0 Release:0 Url:http://www.voidspace.org.uk/python/mock/ Summary:Documentation for python3-mock python3-mock.spec: same change ++ mock-1.3.0.tar.gz -> mock-2.0.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mock-1.3.0/.travis.yml new/mock-2.0.0/.travis.yml --- old/mock-1.3.0/.travis.yml 2015-07-15 02:00:29.0 +0200 +++ new/mock-2.0.0/.travis.yml 2016-03-21 01:09:59.0 +0100 @@ -3,7 +3,6 @@ python: - "2.6" - "2.7" - - "3.2" - "3.3" - "3.4" - pypy @@ -23,4 +22,4 @@ script: - unit2 - if [ -z "$SKIP_DOCS" ]; then python setup.py build_sphinx; fi - - rst2html.py README.rst README.html + - rst2html.py --strict README.rst README.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mock-1.3.0/AUTHORS new/mock-2.0.0/AUTHORS --- old/mock-1.3.0/AUTHORS 2015-07-24 01:17:08.0 +0200 +++ new/mock-2.0.0/AUTHORS 2016-04-06 03:38:11.0 +0200 @@ -2,10 +2,13 @@ Antoine Pitrou Berker Peksag Darragh Bailey +Frankie Robertson +Joachim Jablon Konrad Delong Kumar McMillan Kushal Das Larry Hastings +Michael Fladischer Michael Foord Michael Foord Michael Foord @@ -13,10 +16,13 @@ R David Murray Rob McQueen Robert Collins +Senthil Kumaran Serhiy Storchaka Terry Jan Reedy +Victor Stinner convert-repo fuzzyman konryd +lord63 unknown Ćukasz Langa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mock-1.3.0/ChangeLog new/mock-2.0.0/ChangeLog --- old/mock-1.3.0/ChangeLog2015-07-24 01:17:08.0 +0200 +++ new/mock-2.0.0/ChangeLog2016-04-06 03:38:11.0 +0200 @@ -1,6 +1,29 @@ CHANGES === +2.0.0 +- + +* Fix #338: depend on a fixed version of funcsigs +* More 3.2 support dropping cleanup +* Update sync point +* Add Mock.assert_called() +* Issue25347 - Format the error message output of mock's assert_has_calls method +* Issue #22138: Fix mock.patch behavior when patching descriptors. Restore original values after patching +* Issue #24857: Comparing call_args to a long sequence now correctly returns a boolean result instead o
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2015-11-18 22:33:32 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2015-10-24 10:23:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2015-11-18 22:33:34.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 11 15:09:28 UTC 2015 - h...@urpla.net + +- fix python3-setuptools version requirements (>= 17.1) + +--- Other differences: -- ++ python3-mock.spec ++ --- /var/tmp/diff_new_pack.4JpJhT/_old 2015-11-18 22:33:35.0 +0100 +++ /var/tmp/diff_new_pack.4JpJhT/_new 2015-11-18 22:33:35.0 +0100 @@ -27,7 +27,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel BuildRequires: python3-pbr >= 0.11 -BuildRequires: python3-setuptools +BuildRequires: python3-setuptools >= 17.1 BuildRequires: python3-six >= 1.7 BuildRequires: python3-unittest2 Requires: python3-pbr >= 0.11
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2015-10-24 10:22:47 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: New Changes file: --- /dev/null 2015-10-14 00:04:03.524025256 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock-doc.changes 2015-10-24 10:23:01.0 +0200 @@ -0,0 +1,10 @@ +--- +Mon Oct 12 20:38:34 UTC 2015 - toddrme2...@gmail.com + +- Don't run tests in doc package. + +--- +Mon Oct 12 10:46:05 UTC 2015 - toddrme2...@gmail.com + +- Split documentation into separate spec file to avoid dependency loop + python3-mock <--> python3-Sphinx --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2014-07-24 01:18:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2015-10-24 10:23:01.0 +0200 @@ -1,0 +2,141 @@ +Mon Oct 12 20:38:34 UTC 2015 - toddrme2...@gmail.com + +- Don't run tests in doc package. + +--- +Mon Oct 12 10:46:05 UTC 2015 - toddrme2...@gmail.com + +- Split documentation into separate spec file to avoid dependency loop + python3-mock <--> python3-Sphinx + +--- +Sat Aug 1 22:00:39 UTC 2015 - a...@gmx.de + +- specfile: + * update copyright year + * include pbr, six + * add Sphinx and setup sphinx build + * add NEWS, Changelog, rename README.txt->README.rst + * removed patch_fix_py34_mock_1.0.1.patch: applied upstream + * removed mock-unittest2py27.patch + * "rm -rf html/.doctrees" not needed anymore + +- update to version 1.3.0: + * Update sync point + * Issue #21750: Further fixup to be styled like other mock APIs + * Typo fix in mock.patch + +- changes from version 1.2.0: + * Revert "Issue #21750: mock_open.read_data can now be read from +each instance, as it" + +- changes from version 1.1.4: + * Add 2.6 back to classifiers + * Record sync point + * Issue #21750: mock_open.read_data can now be read from each +instance, as it could in Python 3.3 + * Issue #18622: unittest.mock.mock_open().reset_mock would recurse +infinitely + * Folk should test 2.6 locally too + * Closes #279: setuptools.version is too new + * Support python 2.6 + +- changes from version 1.1.3: + * Update sync point and sync docs + * Issue #23661: unittest.mock side_effects can now be exceptions again + * Abort installation if the installer is using setuptools<17.1 + +- changes from version 1.1.2: + * Closes #269: setup_requires pbr 1.3 + +- changes from version 1.1.1: + * Closes #257: version the dependency on six + * Rename README.txt to README.rst + +- changes from version 1.1.0: + * Make reproducing travis behaviour somewhat easier + * Cleanup version number handling + * Overhaul docs + * Update docs + * Remove stale MANIFEST.in, ignore pbr outputs + * Convert to a package, use pbr, update metadata + * Bump versions + * Officially drop 2.6 support + * Issue #23310: Fix MagicMock's initializer to work with +__methods__. Behavior equivalent to m.configure_mock(). Patch by +Kasia Jachim + * Issue #23568: Add rdivmod support to MagicMock() objects + * Issue #23581: Add matmul support to MagicMock + * Issue #23326: Removed __ne__ implementations. Since fixing default +__ne__ implementation in issue #21408 they are redundant + * Issue #22823: Use set literals instead of creating a set from a +list. Fixed an output of sets in examples + * Closes #21270 : We now override tuple methods in mock.call objects + * Suppress a couple more DeprecationWarnings in the test suite + * Closes #21256: Printout of keyword args in deterministic order in mock calls + * Removes unused varargs and varkwargs from assert_not_called() + * Closes Issue 21262: New method assert_not_called for Mock + * Closes Issue 21238: New keyword argument `unsafe` to Mock + * Closes issue 21239. unittest.mock.patch.stopall() did not work +deterministically when the same name was patched multiple times + * Closes Issue 21222 + * Closes issue 17660. You no longer need to explicitly pass +create=True when patching builtin names + * Issue 17826. Setting an iterable side_effect on a mock created by +create_autospec now works + * Issue 20968. unittest.mock.MagicMock now supports division + * Issue #20189: Four additional builtin types (PyTypeObject, +PyMethodDescr_Type, _PyMethodWrapper_Type, and +PyWrapperDescr_Type) have been modified to provide introspection +information for builtins. Also: many add
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2014-02-13 15:02:56 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2013-08-27 21:22:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2014-02-13 15:02:57.0 +0100 @@ -1,0 +2,8 @@ +Wed Feb 12 11:03:45 UTC 2014 - speili...@suse.com + +- Add mock-unittest2py27.patch: For py3.2+, the stdlib unittest module + is sufficient +- Remove python-unittest2 requirement +- Use python-setuptools instead of distribute (upstreams merged) + +--- New: mock-unittest2py27.patch Other differences: -- ++ python3-mock.spec ++ --- /var/tmp/diff_new_pack.0n9IWi/_old 2014-02-13 15:02:57.0 +0100 +++ /var/tmp/diff_new_pack.0n9IWi/_new 2014-02-13 15:02:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-mock # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,11 +24,13 @@ License:BSD-2-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz +# PATCH-FIX-UPSTREAM speili...@suse.com -- http://code.google.com/p/mock/issues/detail?id=194 +Patch0: mock-unittest2py27.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +#NOTE(saschpe): Need 'python3' for the xml module: BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-distribute -BuildRequires: python3-unittest2 +BuildRequires: python3-setuptools BuildArch: noarch %description @@ -40,6 +42,7 @@ %prep %setup -q -n mock-%{version} +%patch0 -p1 rm -rf html/.doctrees # Remove junk %build @@ -49,7 +52,7 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -unit2-python%{py3_ver} discover +python3 setup.py test %files %defattr(-,root,root,-) ++ mock-unittest2py27.patch ++ # HG changeset patch # User Sascha Peilicke # Date 1392200447 -3600 # Wed Feb 12 11:20:47 2014 +0100 # Node ID 3f15152f49e49e745d63e066b23b482454c67fc9 # Parent d356250e275daa62b2972521885f42fa639341e6 Fix unittest2 check for Python-2.7 The features of unittest2 are available from py2.7+ or py3.2+. Fix the test accordingly. While at it, simplify other related tests. diff -r d356250e275d -r 3f15152f49e4 setup.py --- a/setup.py Tue Apr 09 14:53:33 2013 +0100 +++ b/setup.py Wed Feb 12 11:20:47 2014 +0100 @@ -7,6 +7,7 @@ from mock import __version__ import os +import sys NAME = 'mock' @@ -66,7 +67,11 @@ except ImportError: from distutils.core import setup else: -params['tests_require'] = ['unittest2'] -params['test_suite'] = 'unittest2.collector' +info = sys.version_info[:3] +if info >= (3, 2, 0) or (info[0] == 2 and info >= (2, 7, 0)): +params['test_suite'] = 'tests' +else: +params['tests_require'] = ['unittest2'] +params['test_suite'] = 'unittest2.collector' setup(**params) diff -r d356250e275d -r 3f15152f49e4 tests/support.py --- a/tests/support.py Tue Apr 09 14:53:33 2013 +0100 +++ b/tests/support.py Wed Feb 12 11:20:47 2014 +0100 @@ -1,8 +1,11 @@ import sys -info = sys.version_info -if info[:3] >= (3, 2, 0): -# for Python 3.2 ordinary unittest is fine +info = sys.version_info[:3] +inPy3k = info[0] == 3 +with_available = info >= (2, 5, 0) + +if info >= (3, 2, 0) or (info[0] == 2 and info >= (2, 7, 0)): +# for Python 3.2+ or 2.7+ ordinary unittest is fine import unittest as unittest2 else: import unittest2 @@ -15,10 +18,6 @@ return hasattr(obj, '__call__') -inPy3k = sys.version_info[0] == 3 -with_available = sys.version_info[:2] >= (2, 5) - - def is_instance(obj, klass): """Version of is_instance that doesn't access __class__""" return issubclass(type(obj), klass) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2013-08-27 21:06:19 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock" Changes: --- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2013-06-25 13:46:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2013-08-27 21:22:10.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 15 07:16:48 UTC 2013 - cfarr...@suse.com + +- license update: BSD-2-Clause + See LICENSE file + +--- Other differences: -- ++ python3-mock.spec ++ --- /var/tmp/diff_new_pack.jdjaDQ/_old 2013-08-27 21:22:11.0 +0200 +++ /var/tmp/diff_new_pack.jdjaDQ/_new 2013-08-27 21:22:11.0 +0200 @@ -21,7 +21,7 @@ Release:0 Url:http://www.voidspace.org.uk/python/mock/ Summary:A Python Mocking and Patching Library for Testing -License:BSD-3-Clause +License:BSD-2-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2013-01-18 10:47:34 Comparing /work/SRC/openSUSE:Factory/python3-mock (Old) and /work/SRC/openSUSE:Factory/.python3-mock.new (New) Package is "python3-mock", Maintainer is "" Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org