Marcel Telka
2023-12-05 978668342ded1c2f560ae989c97cf6fd24859bd3
python/Chameleon: update to 4.3.0

7 files modified
137 ■■■■■ changed files
components/python/Chameleon/Chameleon-PYVER.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/Chameleon/Makefile 14 ●●●● patch | view | raw | blame | history
components/python/Chameleon/history 2 ●●● patch | view | raw | blame | history
components/python/Chameleon/manifests/sample-manifest.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/Chameleon/pkg5 1 ●●●● patch | view | raw | blame | history
components/python/Chameleon/python-integrate-project.conf 3 ●●●●● patch | view | raw | blame | history
components/python/Chameleon/test/results-all.master 113 ●●●●● patch | view | raw | blame | history
components/python/Chameleon/Chameleon-PYVER.p5m
@@ -410,6 +410,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_sniffing.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_templates.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_tokenizer.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_utils.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tokenize.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/utils.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/zpt/__init__.py
@@ -422,3 +423,4 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/importlib-metadata-$(PYV)
components/python/Chameleon/Makefile
@@ -19,14 +19,14 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        Chameleon
HUMAN_VERSION =            4.2.0
HUMAN_VERSION =            4.3.0
COMPONENT_SUMMARY =        Chameleon - Fast HTML/XML Template Compiler.
COMPONENT_PROJECT_URL =        https://chameleon.readthedocs.io
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/8f/54/241db142fe924cbdd06d3d9ba7628624cb46baf6e87ab6fb9bbe722fb33b/Chameleon-4.2.0.tar.gz
    https://files.pythonhosted.org/packages/0a/c7/bf24207ad79a383c8105df50f5d32e075a97fb30a85e1123810ac2326ad8/Chameleon-4.3.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:2a7bda67ba9f8fa31d1e17b8d1cefdae8687741293ffe0938e831e71843b4751
COMPONENT_LICENSE =        PSF-2.0
    sha256:5105991bc4f69f4f4061af5318528a6953c0427a30d7cde4cb9d94405f1aac23
COMPONENT_LICENSE =        BSD-3-Clause OR PSF-2.0
COMPONENT_LICENSE_FILE =    LICENSE.txt
include $(WS_MAKE_RULES)/common.mk
@@ -34,6 +34,12 @@
# Force no colors and more verbose output via tox posargs
COMPONENT_TEST_TARGETS += -- -vv
# Normalize timetstamps that change with every run
COMPONENT_TEST_TRANSFORMS += "-e 's|\[../../.. ..:..:..\]|[XX/XX/XX XX:XX:XX]|'"
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/build
TEST_REQUIRED_PACKAGES.python += library/python/wheel
TEST_REQUIRED_PACKAGES.python += library/python/zope-testrunner
components/python/Chameleon/history
@@ -1 +1 @@
library/python/chameleon-37@4.0.1,5.11-2023.0.0.1 noincorporate
library/python/chameleon-37@4.0.1,5.11-2023.0.0.2
components/python/Chameleon/manifests/sample-manifest.p5m
@@ -410,6 +410,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_sniffing.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_templates.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_tokenizer.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tests/test_utils.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/tokenize.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/utils.py
file path=usr/lib/python$(PYVER)/vendor-packages/chameleon/zpt/__init__.py
@@ -422,3 +423,4 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/importlib-metadata-$(PYV)
components/python/Chameleon/pkg5
@@ -1,5 +1,6 @@
{
    "dependencies": [
        "library/python/importlib-metadata-39",
        "runtime/python-39"
    ],
    "fmris": [
components/python/Chameleon/python-integrate-project.conf
@@ -16,3 +16,6 @@
%include-3%
# Force no colors and more verbose output via tox posargs
COMPONENT_TEST_TARGETS += -- -vv
# Normalize timetstamps that change with every run
COMPONENT_TEST_TRANSFORMS += "-e 's|\[../../.. ..:..:..\]|[XX/XX/XX XX:XX:XX]|'"
components/python/Chameleon/test/results-all.master
@@ -59,8 +59,116 @@
 test_umlaut_exc_to_string (chameleon.tests.test_exc.TestTemplateError)
 test_consecutive_loads (chameleon.tests.test_loader.LoadPageTests)
 test_load_abs (chameleon.tests.test_loader.LoadPageTests)
 test_load_egg (chameleon.tests.test_loader.LoadPageTests)[XX/XX/XX XX:XX:XX] ERROR    listing git files failed - pretending there aren't any                                                                                                                                                      git.py:24
        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.
        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************
!!
  self.initialize_options()
$(PYTHON_DIR)/vendor-packages/setuptools/command/build_py.py:207: _Warning: Package 'chameleon_test_pkg.templates' is absent from the `packages` configuration.
!!
        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'chameleon_test_pkg.templates' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.
        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'chameleon_test_pkg.templates' is explicitly added
        to the `packages` configuration field.
        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).
        You can read more about "package discovery" on setuptools documentation page:
        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
        If you don't want 'chameleon_test_pkg.templates' to be distributed and are
        already explicitly excluding 'chameleon_test_pkg.templates' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.
        You can read more about "package data files" on setuptools documentation page:
        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************
!!
  check.warn(importable)
 test_load_relative (chameleon.tests.test_loader.LoadPageTests)
 test_load_relative_badpath_in_searchpath (chameleon.tests.test_loader.LoadPageTests)
 test_load_wheel (chameleon.tests.test_loader.LoadPageTests)[XX/XX/XX XX:XX:XX] ERROR    listing git files failed - pretending there aren't any                                                                                                                                                      git.py:24
$(PYTHON_DIR)/vendor-packages/setuptools/command/build_py.py:207: _Warning: Package 'chameleon_test_pkg.templates' is absent from the `packages` configuration.
!!
        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'chameleon_test_pkg.templates' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.
        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'chameleon_test_pkg.templates' is explicitly added
        to the `packages` configuration field.
        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).
        You can read more about "package discovery" on setuptools documentation page:
        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
        If you don't want 'chameleon_test_pkg.templates' to be distributed and are
        already explicitly excluding 'chameleon_test_pkg.templates' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.
        You can read more about "package data files" on setuptools documentation page:
        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************
!!
  check.warn(importable)
        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.
        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************
!!
  self.initialize_options()
 test_build (chameleon.tests.test_loader.ModuleLoadTests)
 test_load_getitem_gets_xml_file (chameleon.tests.test_loader.ZPTLoadTests)
 test_load_text (chameleon.tests.test_loader.ZPTLoadTests)
@@ -121,7 +229,10 @@
 test_txt_files (chameleon.tests.test_templates.ZopeTemplatesTestSuite)
 test_sample_files (chameleon.tests.test_tokenizer.TokenizerTest)
 test_token (chameleon.tests.test_tokenizer.TokenizerTest)
  Ran 117 tests with 0 failures, 0 errors and 0 skipped.
 test_items (chameleon.tests.test_utils.ScopeTestCase)
 test_keys (chameleon.tests.test_utils.ScopeTestCase)
 test_values (chameleon.tests.test_utils.ScopeTestCase)
  Ran 122 tests with 0 failures, 0 errors and 0 skipped.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests.
  py$(PYV): OK