Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2021-05-12 19:31:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-six" Wed May 12 19:31:21 2021 rev:40 rq:891898 version:1.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-six/python-six.changes 2020-10-25 18:10:26.355562155 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.2988/python-six.changes 2021-05-12 19:31:30.639213141 +0200 @@ -1,0 +2,6 @@ +Sun May 9 17:19:05 UTC 2021 - Dirk M??ller <[email protected]> + +- update to 1.16.0: +- Port _SixMetaPathImporter to Python 3.10. + +------------------------------------------------------------------- Old: ---- six-1.15.0.tar.gz New: ---- six-1.16.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-six.spec ++++++ --- /var/tmp/diff_new_pack.EsTrU4/_old 2021-05-12 19:31:31.067211240 +0200 +++ /var/tmp/diff_new_pack.EsTrU4/_new 2021-05-12 19:31:31.067211240 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-six +# spec file for package python-six-test # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ %define psuffix %{nil} %endif Name: python-six%{psuffix} -Version: 1.15.0 +Version: 1.16.0 Release: 0 Summary: Python 2 and 3 compatibility utilities License: MIT @@ -106,6 +106,7 @@ %pycache_only %{python_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info %else + %files -n python-six-doc %license LICENSE %doc documentation/_build/html ++++++ six-1.15.0.tar.gz -> six-1.16.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.15.0/CHANGES new/six-1.16.0/CHANGES --- old/six-1.15.0/CHANGES 2020-05-21 17:25:33.000000000 +0200 +++ new/six-1.16.0/CHANGES 2021-05-05 16:17:58.000000000 +0200 @@ -3,6 +3,12 @@ This file lists the changes in each six version. +1.16.0 +------ + +- Pull request #343, issue #341, pull request #349: Port _SixMetaPathImporter to + Python 3.10. + 1.15.0 ------ @@ -100,7 +106,7 @@ - Issue #98: Fix `six.moves` race condition in multi-threaded code. -- Pull request #51: Add `six.view(keys|values|itmes)`, which provide dictionary +- Pull request #51: Add `six.view(keys|values|items)`, which provide dictionary views on Python 2.7+. - Issue #112: `six.moves.reload_module` now uses the importlib module on @@ -227,7 +233,7 @@ - Issue #40: Add import mapping for the Python 2 gdbm module. - Issue #35: On Python versions less than 2.7, print_ now encodes unicode - strings when outputing to standard streams. (Python 2.7 handles this + strings when outputting to standard streams. (Python 2.7 handles this automatically.) 1.4.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.15.0/PKG-INFO new/six-1.16.0/PKG-INFO --- old/six-1.15.0/PKG-INFO 2020-05-21 17:25:53.508234700 +0200 +++ new/six-1.16.0/PKG-INFO 2021-05-05 16:18:16.777235000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.15.0 +Version: 1.16.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.15.0/six.egg-info/PKG-INFO new/six-1.16.0/six.egg-info/PKG-INFO --- old/six-1.15.0/six.egg-info/PKG-INFO 2020-05-21 17:25:53.000000000 +0200 +++ new/six-1.16.0/six.egg-info/PKG-INFO 2021-05-05 16:18:16.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.15.0 +Version: 1.16.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.15.0/six.py new/six-1.16.0/six.py --- old/six-1.15.0/six.py 2020-05-21 17:25:33.000000000 +0200 +++ new/six-1.16.0/six.py 2021-05-05 16:17:58.000000000 +0200 @@ -29,7 +29,7 @@ import types __author__ = "Benjamin Peterson <[email protected]>" -__version__ = "1.15.0" +__version__ = "1.16.0" # Useful for very coarse version differentiation. @@ -71,6 +71,11 @@ MAXSIZE = int((1 << 63) - 1) del X +if PY34: + from importlib.util import spec_from_loader +else: + spec_from_loader = None + def _add_doc(func, doc): """Add documentation to a function.""" @@ -186,6 +191,11 @@ return self return None + def find_spec(self, fullname, path, target=None): + if fullname in self.known_modules: + return spec_from_loader(fullname, self) + return None + def __get_module(self, fullname): try: return self.known_modules[fullname] @@ -223,6 +233,12 @@ return None get_source = get_code # same as get_code + def create_module(self, spec): + return self.load_module(spec.name) + + def exec_module(self, module): + pass + _importer = _SixMetaPathImporter(__name__)
