From 504ed13ac82848edb70798ccd3d435e1dc0b9e0d620f7b23f38960d4d6acf0f9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 30 Jan 2024 12:03:39 +0000 Subject: [PATCH] - update to 4.5.2: * Fix a regression where a static symbol would not get correctly imported. * Add Python 3.13 classifier. * Fix a regression where default_extension was no longer permitted * Chameleon now has type annotations! * Fix a regression where generated template code would suboptimal due to incorrect handling of internal variables. * Always cook templates in debug mode, even when using CHAMELEON_CACHE option to persist generated code on disk. * Parsing the AST back to Python code now uses the built-in ast.unparse function. This change is not directly surfaced but means that the unparsing code is now more correctly tracking changes to the interpreter. * Drop support for platforms where AST nodes aren't weakref- capable (e.g., older PyPy). * Fix a PyPy compatibility issue having to do with determining the set OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=47 --- Chameleon-4.4.3.tar.gz | 3 --- Chameleon-4.5.2.tar.gz | 3 +++ python-Chameleon.changes | 22 ++++++++++++++++++++++ python-Chameleon.spec | 2 +- 4 files changed, 26 insertions(+), 4 deletions(-) delete mode 100644 Chameleon-4.4.3.tar.gz create mode 100644 Chameleon-4.5.2.tar.gz diff --git a/Chameleon-4.4.3.tar.gz b/Chameleon-4.4.3.tar.gz deleted file mode 100644 index 879de41..0000000 --- a/Chameleon-4.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e15c82cdd43eb93767107094c0d7559ac9717928b9a6ac5cfa3635921d82676 -size 141947 diff --git a/Chameleon-4.5.2.tar.gz b/Chameleon-4.5.2.tar.gz new file mode 100644 index 0000000..f83ee96 --- /dev/null +++ b/Chameleon-4.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd9f57c5d25426181fefa67213ea456f3fc4209b1227e08d2099affd1ddb026 +size 141437 diff --git a/python-Chameleon.changes b/python-Chameleon.changes index ceb7977..eb3e70a 100644 --- a/python-Chameleon.changes +++ b/python-Chameleon.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Jan 30 12:02:45 UTC 2024 - Dirk Müller + +- update to 4.5.2: + * Fix a regression where a static symbol would not get + correctly imported. + * Add Python 3.13 classifier. + * Fix a regression where default_extension was no longer permitted + * Chameleon now has type annotations! + * Fix a regression where generated template code would + suboptimal due to incorrect handling of internal variables. + * Always cook templates in debug mode, even when using + CHAMELEON_CACHE option to persist generated code on disk. + * Parsing the AST back to Python code now uses the built-in + ast.unparse function. This change is not directly surfaced + but means that the unparsing code is now more correctly + tracking changes to the interpreter. + * Drop support for platforms where AST nodes aren't weakref- + capable (e.g., older PyPy). + * Fix a PyPy compatibility issue having to do with determining + the set + ------------------------------------------------------------------- Wed Jan 10 16:27:29 UTC 2024 - Dirk Müller diff --git a/python-Chameleon.spec b/python-Chameleon.spec index 3d46e9d..a06ee51 100644 --- a/python-Chameleon.spec +++ b/python-Chameleon.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-Chameleon -Version: 4.4.3 +Version: 4.5.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