From f75f818db3b937c8bab326d486fc2536c2a8dbe455a2308f4b735fc078395252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 20 May 2021 09:52:06 +0000 Subject: [PATCH] Accepting request 894584 from home:pgajdos:python - version update to 3.9.1 * Avoid various traceback reference cycles. * Removed compatibility code for unsupported Python versions * Dropped support for obsolete Python 3.4 * Fixed namespace handling when redefining a variable in the same tal:define (#237) * Fixed failure computing a template's digest if template.filename is None (#254) - %check: use %pytest macro OBS-URL: https://build.opensuse.org/request/show/894584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=37 --- Chameleon-3.8.1.tar.gz | 3 --- Chameleon-3.9.1.tar.gz | 3 +++ python-Chameleon.changes | 11 +++++++++++ python-Chameleon.spec | 10 ++++++---- 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 Chameleon-3.8.1.tar.gz create mode 100644 Chameleon-3.9.1.tar.gz diff --git a/Chameleon-3.8.1.tar.gz b/Chameleon-3.8.1.tar.gz deleted file mode 100644 index 74476ac..0000000 --- a/Chameleon-3.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7599f9edb1de7af601dcca14aa61c2d02ba383642712725d7dcdf0e3f7def1f -size 137012 diff --git a/Chameleon-3.9.1.tar.gz b/Chameleon-3.9.1.tar.gz new file mode 100644 index 0000000..9cdbfd5 --- /dev/null +++ b/Chameleon-3.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abdc3dda6586bf02522f4f4ef2e18ed9671f0ff5637c869885b99e8722d253f2 +size 136555 diff --git a/python-Chameleon.changes b/python-Chameleon.changes index 237a2eb..10dc525 100644 --- a/python-Chameleon.changes +++ b/python-Chameleon.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 20 09:41:02 UTC 2021 - pgajdos@suse.com + +- version update to 3.9.1 + * Avoid various traceback reference cycles. + * Removed compatibility code for unsupported Python versions + * Dropped support for obsolete Python 3.4 + * Fixed namespace handling when redefining a variable in the same tal:define (#237) + * Fixed failure computing a template's digest if template.filename is None (#254) +- %check: use %pytest macro + ------------------------------------------------------------------- Wed Jul 8 14:03:55 UTC 2020 - Ondřej Súkup diff --git a/python-Chameleon.spec b/python-Chameleon.spec index 4e7a47e..fb71ddd 100644 --- a/python-Chameleon.spec +++ b/python-Chameleon.spec @@ -1,7 +1,7 @@ # # spec file for package python-Chameleon # -# 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 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Chameleon -Version: 3.8.1 +Version: 3.9.1 Release: 0 Summary: Fast HTML/XML Template Compiler License: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1 Group: Development/Languages/Python URL: https://github.com/malthe/chameleon Source: https://github.com/malthe/chameleon/archive/%{version}.tar.gz#/Chameleon-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -52,8 +53,9 @@ version of Python (2.5 and up, including 3.x and pypy). %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 -%python_exec setup.py test +# doctest have not run at all so far +# AttributeError: '_DocTestSuite' object has no attribute 'test_exc' +%pytest -k 'not doctest' %files %{python_files} %license LICENSE.txt