Hello community, here is the log from the commit of package python-Chameleon for openSUSE:Factory checked in at 2019-07-22 17:18:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Chameleon (Old) and /work/SRC/openSUSE:Factory/.python-Chameleon.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Chameleon" Mon Jul 22 17:18:25 2019 rev:8 rq:717492 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Chameleon/python-Chameleon.changes 2019-04-02 09:22:41.488725465 +0200 +++ /work/SRC/openSUSE:Factory/.python-Chameleon.new.4126/python-Chameleon.changes 2019-07-22 17:18:26.713955853 +0200 @@ -1,0 +2,6 @@ +Mon Jul 22 09:10:22 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 3.6.2: + * Fix SyntaxWarnings in Python 3.8 resulting from comparing literals with 'is' + +------------------------------------------------------------------- Old: ---- Chameleon-3.6.1.tar.gz New: ---- Chameleon-3.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Chameleon.spec ++++++ --- /var/tmp/diff_new_pack.Ecy7o0/_old 2019-07-22 17:18:27.481955242 +0200 +++ /var/tmp/diff_new_pack.Ecy7o0/_new 2019-07-22 17:18:27.481955242 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Chameleon -Version: 3.6.1 +Version: 3.6.2 Release: 0 Summary: Fast HTML/XML Template Compiler License: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1 ++++++ Chameleon-3.6.1.tar.gz -> Chameleon-3.6.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chameleon-3.6.1/PKG-INFO new/Chameleon-3.6.2/PKG-INFO --- old/Chameleon-3.6.1/PKG-INFO 2019-04-01 09:56:05.000000000 +0200 +++ new/Chameleon-3.6.2/PKG-INFO 2019-06-22 11:13:36.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Chameleon -Version: 3.6.1 +Version: 3.6.2 Summary: Fast HTML/XML Template Compiler. Home-page: https://chameleon.readthedocs.io Author: Malthe Borch @@ -36,6 +36,12 @@ Changes ======= + 3.6.2 (2019-06-22) + ------------------ + + - Fix SyntaxWarnings in Python 3.8 resulting from comparing literals with 'is'. + See https://github.com/plone/Products.CMFPlone/issues/2890. + 3.6.1 (2019-04-01) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chameleon-3.6.1/setup.py new/Chameleon-3.6.2/setup.py --- old/Chameleon-3.6.1/setup.py 2019-04-01 09:55:50.000000000 +0200 +++ new/Chameleon-3.6.2/setup.py 2019-06-22 11:11:23.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = '3.6.1' +__version__ = '3.6.2' import os diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chameleon-3.6.1/src/Chameleon.egg-info/PKG-INFO new/Chameleon-3.6.2/src/Chameleon.egg-info/PKG-INFO --- old/Chameleon-3.6.1/src/Chameleon.egg-info/PKG-INFO 2019-04-01 09:56:03.000000000 +0200 +++ new/Chameleon-3.6.2/src/Chameleon.egg-info/PKG-INFO 2019-06-22 11:13:35.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Chameleon -Version: 3.6.1 +Version: 3.6.2 Summary: Fast HTML/XML Template Compiler. Home-page: https://chameleon.readthedocs.io Author: Malthe Borch @@ -36,6 +36,12 @@ Changes ======= + 3.6.2 (2019-06-22) + ------------------ + + - Fix SyntaxWarnings in Python 3.8 resulting from comparing literals with 'is'. + See https://github.com/plone/Products.CMFPlone/issues/2890. + 3.6.1 (2019-04-01) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chameleon-3.6.1/src/chameleon/compiler.py new/Chameleon-3.6.2/src/chameleon/compiler.py --- old/Chameleon-3.6.1/src/chameleon/compiler.py 2019-02-19 08:50:12.000000000 +0100 +++ new/Chameleon-3.6.2/src/chameleon/compiler.py 2019-06-22 11:10:39.000000000 +0200 @@ -216,8 +216,8 @@ 'default'), func_defaults=(None,), source=r""" - target = translate(msgid, default=default, domain=__i18n_domain, - context=__i18n_context, + target = translate(msgid, default=default, domain=__i18n_domain, + context=__i18n_context, target_language=target_language)""") @@ -949,7 +949,7 @@ module = ast.Module([]) module.body += self.visit(node) ast.fix_missing_locations(module) - prelude = "__filename = %r" % filename + prelude = "__filename = %r\n__default = object()" % filename generator = TemplateCodeGenerator(module, source) tokens = [ Token(source[pos:pos + length], pos, source) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chameleon-3.6.1/src/chameleon/zpt/template.py new/Chameleon-3.6.2/src/chameleon/zpt/template.py --- old/Chameleon-3.6.1/src/chameleon/zpt/template.py 2019-02-19 08:50:12.000000000 +0100 +++ new/Chameleon-3.6.2/src/chameleon/zpt/template.py 2019-06-22 11:10:39.000000000 +0200 @@ -209,7 +209,7 @@ @property def engine(self): if self.literal_false: - default_marker = ast.Str(s="__default__") + default_marker = Builtin("__default") else: default_marker = Builtin("False") @@ -225,7 +225,7 @@ def parse(self, body): if self.literal_false: - default_marker = ast.Str(s="__default__") + default_marker = Builtin("__default") else: default_marker = Builtin("False")