Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-08-27 16:52:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-six" Changes: -------- --- /work/SRC/openSUSE:Factory/python-six/python-six.changes 2014-06-25 21:19:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-08-27 16:52:58.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Aug 13 07:44:30 UTC 2014 - [email protected] + +- update to 1.7.3: + - Issue #77: Fix import six on Python 3.4 with a custom loader. + - Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python + 2 as documented not xmlrpclib. + +------------------------------------------------------------------- Old: ---- six-1.7.2.tar.gz New: ---- six-1.7.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-six.spec ++++++ --- /var/tmp/diff_new_pack.x5C7Zh/_old 2014-08-27 16:52:59.000000000 +0200 +++ /var/tmp/diff_new_pack.x5C7Zh/_new 2014-08-27 16:52:59.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-six -Version: 1.7.2 +Version: 1.7.3 Release: 0 Url: http://pypi.python.org/pypi/six/ Summary: Python 2 and 3 compatibility utilities ++++++ six-1.7.2.tar.gz -> six-1.7.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/CHANGES new/six-1.7.3/CHANGES --- old/six-1.7.2/CHANGES 2014-06-09 06:12:49.000000000 +0200 +++ new/six-1.7.3/CHANGES 2014-06-29 21:22:59.000000000 +0200 @@ -3,6 +3,14 @@ This file lists the changes in each six version. +1.7.3 +----- + +- Issue #77: Fix import six on Python 3.4 with a custom loader. + +- Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python + 2 as documented not xmlrpclib. + 1.7.2 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/PKG-INFO new/six-1.7.3/PKG-INFO --- old/six-1.7.2/PKG-INFO 2014-06-09 06:15:02.000000000 +0200 +++ new/six-1.7.3/PKG-INFO 2014-06-29 21:30:21.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.7.2 +Version: 1.7.3 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/setup.cfg new/six-1.7.3/setup.cfg --- old/six-1.7.2/setup.cfg 2014-06-09 06:15:02.000000000 +0200 +++ new/six-1.7.3/setup.cfg 2014-06-29 21:30:21.000000000 +0200 @@ -2,7 +2,7 @@ universal = 1 [egg_info] -tag_build = tag_svn_revision = 0 tag_date = 0 +tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/six.egg-info/PKG-INFO new/six-1.7.3/six.egg-info/PKG-INFO --- old/six-1.7.2/six.egg-info/PKG-INFO 2014-06-09 06:15:01.000000000 +0200 +++ new/six-1.7.3/six.egg-info/PKG-INFO 2014-06-29 21:30:21.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.7.2 +Version: 1.7.3 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/six.py new/six-1.7.3/six.py --- old/six-1.7.2/six.py 2014-06-09 06:14:30.000000000 +0200 +++ new/six-1.7.3/six.py 2014-06-29 21:23:14.000000000 +0200 @@ -26,7 +26,7 @@ import types __author__ = "Benjamin Peterson <[email protected]>" -__version__ = "1.7.2" +__version__ = "1.7.3" # Useful for very coarse version differentiation. @@ -281,7 +281,7 @@ MovedModule("urllib", __name__ + ".moves.urllib", __name__ + ".moves.urllib"), MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"), MovedModule("xmlrpc_client", "xmlrpclib", "xmlrpc.client"), - MovedModule("xmlrpc_server", "xmlrpclib", "xmlrpc.server"), + MovedModule("xmlrpc_server", "SimpleXMLRPCServer", "xmlrpc.server"), MovedModule("winreg", "_winreg"), ] for attr in _moved_attributes: @@ -698,20 +698,13 @@ def with_metaclass(meta, *bases): """Create a base class with a metaclass.""" - # This requires a bit of explanation: the basic idea is to make a - # dummy metaclass for one level of class instantiation that replaces - # itself with the actual metaclass. Because of internal type checks - # we also need to make sure that we downgrade the custom metaclass - # for one level to something closer to type (that's why __call__ and - # __init__ comes back from type etc.). + # This requires a bit of explanation: the basic idea is to make a dummy + # metaclass for one level of class instantiation that replaces itself with + # the actual metaclass. class metaclass(meta): - __call__ = type.__call__ - __init__ = type.__init__ def __new__(cls, name, this_bases, d): - if this_bases is None: - return type.__new__(cls, name, (), d) return meta(name, bases, d) - return metaclass('temporary_class', None, {}) + return type.__new__(metaclass, 'temporary_class', (), {}) def add_metaclass(metaclass): @@ -734,10 +727,8 @@ # Turn this module into a package. __path__ = [] # required for PEP 302 and PEP 451 __package__ = __name__ # see PEP 366 @ReservedAssignment -try: +if globals().get("__spec__") is not None: __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable -except NameError: - pass # Remove other six meta path importers, since they cause problems. This can # happen if six is removed from sys.modules and then reloaded. (Setuptools does # this for some reason.) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
