Hello community, here is the log from the commit of package python-simplejson for openSUSE:Factory checked in at 2014-05-21 16:23:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-simplejson (Old) and /work/SRC/openSUSE:Factory/.python-simplejson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-simplejson" Changes: -------- --- /work/SRC/openSUSE:Factory/python-simplejson/python-simplejson.changes 2013-11-04 13:41:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-simplejson.new/python-simplejson.changes 2014-05-21 16:23:31.000000000 +0200 @@ -1,0 +2,15 @@ +Tue May 20 12:27:38 UTC 2014 - toddrme2...@gmail.com + +- Update to 3.4.1 + * Fixed tests to run on Python 3.4 +- Update to 3.4.0 + * Native setuptools support re-introduced + https://github.com/simplejson/simplejson/pull/92 +- Update to 3.3.3 + * Improve test suite's Python 3.4 compatibility + https://github.com/simplejson/simplejson/issues/87 +- Update to 3.3.2 + * Docstring fix for decoded string types + https://github.com/simplejson/simplejson/pull/82 + +------------------------------------------------------------------- Old: ---- simplejson-3.3.1.tar.gz New: ---- simplejson-3.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-simplejson.spec ++++++ --- /var/tmp/diff_new_pack.Oc4y4v/_old 2014-05-21 16:23:33.000000000 +0200 +++ /var/tmp/diff_new_pack.Oc4y4v/_new 2014-05-21 16:23:33.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-simplejson # -# 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 @@ -17,7 +17,7 @@ Name: python-simplejson -Version: 3.3.1 +Version: 3.4.1 Release: 0 Url: http://github.com/simplejson/simplejson Summary: Simple, fast, extensible JSON encoder/decoder for Python ++++++ simplejson-3.3.1.tar.gz -> simplejson-3.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/CHANGES.txt new/simplejson-3.4.1/CHANGES.txt --- old/simplejson-3.3.1/CHANGES.txt 2013-10-05 20:54:41.000000000 +0200 +++ new/simplejson-3.4.1/CHANGES.txt 2014-04-30 20:42:30.000000000 +0200 @@ -1,3 +1,22 @@ +Version 3.4.1 released 2014-04-30 + +* Fixed tests to run on Python 3.4 + +Version 3.4.0 released 2014-04-02 + +* Native setuptools support re-introduced + https://github.com/simplejson/simplejson/pull/92 + +Version 3.3.3 released 2014-02-14 + +* Improve test suite's Python 3.4 compatibility + https://github.com/simplejson/simplejson/issues/87 + +Version 3.3.2 released 2014-01-06 + +* Docstring fix for decoded string types + https://github.com/simplejson/simplejson/pull/82 + Version 3.3.1 released 2013-10-05 * JSONDecodeError exceptions can now be pickled diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/PKG-INFO new/simplejson-3.4.1/PKG-INFO --- old/simplejson-3.3.1/PKG-INFO 2013-10-05 20:56:43.000000000 +0200 +++ new/simplejson-3.4.1/PKG-INFO 2014-04-30 20:47:34.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: simplejson -Version: 3.3.1 +Version: 3.4.1 Summary: Simple, fast, extensible JSON encoder/decoder for Python Home-page: http://github.com/simplejson/simplejson Author: Bob Ippolito diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/conf.py new/simplejson-3.4.1/conf.py --- old/simplejson-3.3.1/conf.py 2013-10-05 20:55:12.000000000 +0200 +++ new/simplejson-3.4.1/conf.py 2014-04-30 20:42:56.000000000 +0200 @@ -36,15 +36,15 @@ # General substitutions. project = 'simplejson' -copyright = '2013, Bob Ippolito' +copyright = '2014, Bob Ippolito' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. # # The short X.Y version. -version = '3.3' +version = '3.4' # The full version, including alpha/beta/rc tags. -release = '3.3.1' +release = '3.4.1' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/setup.cfg new/simplejson-3.4.1/setup.cfg --- old/simplejson-3.3.1/setup.cfg 1970-01-01 01:00:00.000000000 +0100 +++ new/simplejson-3.4.1/setup.cfg 2014-04-30 20:47:34.000000000 +0200 @@ -0,0 +1,5 @@ +[egg_info] +tag_build = +tag_date = 0 +tag_svn_revision = 0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/setup.py new/simplejson-3.4.1/setup.py --- old/simplejson-3.3.1/setup.py 2013-10-05 20:55:09.000000000 +0200 +++ new/simplejson-3.4.1/setup.py 2014-04-30 20:42:52.000000000 +0200 @@ -2,13 +2,16 @@ from __future__ import with_statement import sys -from distutils.core import setup, Extension, Command +try: + from setuptools import setup, Extension, Command +except ImportError: + from distutils.core import setup, Extension, Command from distutils.command.build_ext import build_ext from distutils.errors import CCompilerError, DistutilsExecError, \ DistutilsPlatformError IS_PYPY = hasattr(sys, 'pypy_translation_info') -VERSION = '3.3.1' +VERSION = '3.4.1' DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python" with open('README.rst', 'r') as f: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson/__init__.py new/simplejson-3.4.1/simplejson/__init__.py --- old/simplejson-3.3.1/simplejson/__init__.py 2013-10-05 20:55:06.000000000 +0200 +++ new/simplejson-3.4.1/simplejson/__init__.py 2014-04-30 20:43:04.000000000 +0200 @@ -98,7 +98,7 @@ Expecting property name: line 1 column 3 (char 2) """ from __future__ import absolute_import -__version__ = '3.3.1' +__version__ = '3.4.1' __all__ = [ 'dump', 'dumps', 'load', 'loads', 'JSONDecoder', 'JSONDecodeError', 'JSONEncoder', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson/compat.py new/simplejson-3.4.1/simplejson/compat.py --- old/simplejson-3.3.1/simplejson/compat.py 2013-03-20 04:01:50.000000000 +0100 +++ new/simplejson-3.4.1/simplejson/compat.py 2014-02-15 00:58:10.000000000 +0100 @@ -20,7 +20,10 @@ else: PY3 = True - from imp import reload as reload_module + if sys.version_info[:2] >= (3, 4): + from importlib import reload as reload_module + else: + from imp import reload as reload_module import codecs def b(s): return codecs.latin_1_encode(s)[0] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson/decoder.py new/simplejson-3.4.1/simplejson/decoder.py --- old/simplejson-3.3.1/simplejson/decoder.py 2013-05-08 08:04:12.000000000 +0200 +++ new/simplejson-3.4.1/simplejson/decoder.py 2014-01-06 17:34:50.000000000 +0100 @@ -281,7 +281,7 @@ +---------------+-------------------+ | array | list | +---------------+-------------------+ - | string | unicode | + | string | str, unicode | +---------------+-------------------+ | number (int) | int, long | +---------------+-------------------+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson/tests/__init__.py new/simplejson-3.4.1/simplejson/tests/__init__.py --- old/simplejson-3.3.1/simplejson/tests/__init__.py 2013-05-01 20:48:26.000000000 +0200 +++ new/simplejson-3.4.1/simplejson/tests/__init__.py 2014-04-30 20:42:00.000000000 +0200 @@ -3,19 +3,16 @@ import doctest import sys -class OptionalExtensionTestSuite(unittest.TestSuite): + +class NoExtensionTestSuite(unittest.TestSuite): def run(self, result): import simplejson - run = unittest.TestSuite.run - run(self, result) - if simplejson._import_c_make_encoder() is None: - TestMissingSpeedups().run(result) - else: - simplejson._toggle_speedups(False) - run(self, result) - simplejson._toggle_speedups(True) + simplejson._toggle_speedups(False) + result = unittest.TestSuite.run(self, result) + simplejson._toggle_speedups(True) return result + class TestMissingSpeedups(unittest.TestCase): def runTest(self): if hasattr(sys, 'pypy_translation_info'): @@ -23,6 +20,7 @@ elif hasattr(self, 'skipTest'): self.skipTest('_speedups.so is missing!') + def additional_tests(suite=None): import simplejson import simplejson.encoder @@ -36,34 +34,44 @@ def all_tests_suite(): - suite = unittest.TestLoader().loadTestsFromNames([ - 'simplejson.tests.test_bigint_as_string', - 'simplejson.tests.test_check_circular', - 'simplejson.tests.test_decode', - 'simplejson.tests.test_default', - 'simplejson.tests.test_dump', - 'simplejson.tests.test_encode_basestring_ascii', - 'simplejson.tests.test_encode_for_html', - 'simplejson.tests.test_errors', - 'simplejson.tests.test_fail', - 'simplejson.tests.test_float', - 'simplejson.tests.test_indent', - 'simplejson.tests.test_pass1', - 'simplejson.tests.test_pass2', - 'simplejson.tests.test_pass3', - 'simplejson.tests.test_recursion', - 'simplejson.tests.test_scanstring', - 'simplejson.tests.test_separators', - 'simplejson.tests.test_speedups', - 'simplejson.tests.test_unicode', - 'simplejson.tests.test_decimal', - 'simplejson.tests.test_tuple', - 'simplejson.tests.test_namedtuple', - 'simplejson.tests.test_tool', - 'simplejson.tests.test_for_json', - ]) - suite = additional_tests(suite) - return OptionalExtensionTestSuite([suite]) + def get_suite(): + return additional_tests( + unittest.TestLoader().loadTestsFromNames([ + 'simplejson.tests.test_bigint_as_string', + 'simplejson.tests.test_check_circular', + 'simplejson.tests.test_decode', + 'simplejson.tests.test_default', + 'simplejson.tests.test_dump', + 'simplejson.tests.test_encode_basestring_ascii', + 'simplejson.tests.test_encode_for_html', + 'simplejson.tests.test_errors', + 'simplejson.tests.test_fail', + 'simplejson.tests.test_float', + 'simplejson.tests.test_indent', + 'simplejson.tests.test_pass1', + 'simplejson.tests.test_pass2', + 'simplejson.tests.test_pass3', + 'simplejson.tests.test_recursion', + 'simplejson.tests.test_scanstring', + 'simplejson.tests.test_separators', + 'simplejson.tests.test_speedups', + 'simplejson.tests.test_unicode', + 'simplejson.tests.test_decimal', + 'simplejson.tests.test_tuple', + 'simplejson.tests.test_namedtuple', + 'simplejson.tests.test_tool', + 'simplejson.tests.test_for_json', + ])) + suite = get_suite() + import simplejson + if simplejson._import_c_make_encoder() is None: + suite.addTest(TestMissingSpeedups()) + else: + suite = unittest.TestSuite([ + suite, + NoExtensionTestSuite([get_suite()]), + ]) + return suite def main(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson/tests/test_errors.py new/simplejson-3.4.1/simplejson/tests/test_errors.py --- old/simplejson-3.3.1/simplejson/tests/test_errors.py 2013-10-05 20:53:51.000000000 +0200 +++ new/simplejson-3.4.1/simplejson/tests/test_errors.py 2014-02-15 00:59:03.000000000 +0100 @@ -45,7 +45,7 @@ s = pickle.dumps(err) e = pickle.loads(s) - self.assertEquals(err.msg, e.msg) - self.assertEquals(err.doc, e.doc) - self.assertEquals(err.pos, e.pos) - self.assertEquals(err.end, e.end) + self.assertEqual(err.msg, e.msg) + self.assertEqual(err.doc, e.doc) + self.assertEqual(err.pos, e.pos) + self.assertEqual(err.end, e.end) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson.egg-info/PKG-INFO new/simplejson-3.4.1/simplejson.egg-info/PKG-INFO --- old/simplejson-3.3.1/simplejson.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/simplejson-3.4.1/simplejson.egg-info/PKG-INFO 2014-04-30 20:47:30.000000000 +0200 @@ -0,0 +1,47 @@ +Metadata-Version: 1.1 +Name: simplejson +Version: 3.4.1 +Summary: Simple, fast, extensible JSON encoder/decoder for Python +Home-page: http://github.com/simplejson/simplejson +Author: Bob Ippolito +Author-email: b...@redivi.com +License: MIT License +Description: simplejson is a simple, fast, complete, correct and extensible + JSON <http://json.org> encoder and decoder for Python 2.5+ + and Python 3.3+. It is pure Python code with no dependencies, + but includes an optional C extension for a serious speed boost. + + The latest documentation for simplejson can be read online here: + http://simplejson.readthedocs.org/ + + simplejson is the externally maintained development version of the + json library included with Python 2.6 and Python 3.0, but maintains + backwards compatibility with Python 2.5. + + The encoder can be specialized to provide serialization in any kind of + situation, without any special support by the objects to be serialized + (somewhat like pickle). This is best done with the ``default`` kwarg + to dumps. + + The decoder can handle incoming JSON strings of any specified encoding + (UTF-8 by default). It can also be specialized to post-process JSON + objects with the ``object_hook`` or ``object_pairs_hook`` kwargs. This + is particularly useful for implementing protocols such as JSON-RPC + that have a richer type system than JSON itself. + + +Platform: any +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: License :: OSI Approved :: Academic Free License (AFL) +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.5 +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: Software Development :: Libraries :: Python Modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson.egg-info/SOURCES.txt new/simplejson-3.4.1/simplejson.egg-info/SOURCES.txt --- old/simplejson-3.3.1/simplejson.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/simplejson-3.4.1/simplejson.egg-info/SOURCES.txt 2014-04-30 20:47:31.000000000 +0200 @@ -0,0 +1,46 @@ +CHANGES.txt +LICENSE.txt +MANIFEST.in +README.rst +conf.py +index.rst +setup.py +scripts/make_docs.py +simplejson/__init__.py +simplejson/_speedups.c +simplejson/compat.py +simplejson/decoder.py +simplejson/encoder.py +simplejson/ordered_dict.py +simplejson/scanner.py +simplejson/tool.py +simplejson.egg-info/PKG-INFO +simplejson.egg-info/SOURCES.txt +simplejson.egg-info/dependency_links.txt +simplejson.egg-info/top_level.txt +simplejson/tests/__init__.py +simplejson/tests/test_bigint_as_string.py +simplejson/tests/test_check_circular.py +simplejson/tests/test_decimal.py +simplejson/tests/test_decode.py +simplejson/tests/test_default.py +simplejson/tests/test_dump.py +simplejson/tests/test_encode_basestring_ascii.py +simplejson/tests/test_encode_for_html.py +simplejson/tests/test_errors.py +simplejson/tests/test_fail.py +simplejson/tests/test_float.py +simplejson/tests/test_for_json.py +simplejson/tests/test_indent.py +simplejson/tests/test_item_sort_key.py +simplejson/tests/test_namedtuple.py +simplejson/tests/test_pass1.py +simplejson/tests/test_pass2.py +simplejson/tests/test_pass3.py +simplejson/tests/test_recursion.py +simplejson/tests/test_scanstring.py +simplejson/tests/test_separators.py +simplejson/tests/test_speedups.py +simplejson/tests/test_tool.py +simplejson/tests/test_tuple.py +simplejson/tests/test_unicode.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson.egg-info/dependency_links.txt new/simplejson-3.4.1/simplejson.egg-info/dependency_links.txt --- old/simplejson-3.3.1/simplejson.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/simplejson-3.4.1/simplejson.egg-info/dependency_links.txt 2014-04-30 20:47:30.000000000 +0200 @@ -0,0 +1 @@ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simplejson-3.3.1/simplejson.egg-info/top_level.txt new/simplejson-3.4.1/simplejson.egg-info/top_level.txt --- old/simplejson-3.3.1/simplejson.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/simplejson-3.4.1/simplejson.egg-info/top_level.txt 2014-04-30 20:47:30.000000000 +0200 @@ -0,0 +1 @@ +simplejson -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org