Summary: | dev-python/chameleon-2.8.5 bump request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild patch |
Description
Patrick Lauer
![]() This regression is tracked in https://github.com/malthe/chameleon/issues/109 archtester chameleon # ebuild chameleon-2.8.5.ebuild clean test ====================================================================== FAIL: test_unicode_decode_error (chameleon.tests.test_templates.ZopePageTemplatesTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/gen2/TmpDir/portage/dev-python/chameleon-2.8.5/work/Chameleon-2.8.5/src/chameleon/tests/test_templates.py", line 253, in test_unicode_decode_error self.assertTrue('^^^^^' in formatted) AssertionError: False is not True ---------------------------------------------------------------------- Ran 68 tests in 4.319s FAILED (failures=1) ditto chameleon-2.8.5. However, what wasn't pointed out before in addition to the issue being tracked; from chameleon-2.8.4/work/Chameleon-2.8.4/setup.py self.distribution.tests_require = [ 'zope.pagetemplate', 'zope.component', 'zope.i18n', 'zope.testing'] ditto setup.py chameleon-2.8.5. archtester chameleon # ls ../../net-zope/ metadata.xml zc-buildout zope-fixers zope-interface The test suite ropes in 4 zope packages, NONE of which are in portage. The point of the unicode issue appears moot. I would think the test suite is destined for a restrict . Zope packages are needed only by `$(PYTHON) setup.py benchmark` command, not by test suite. I bumped us to 2.8.3, which does not seem to have this test failure. Created attachment 313243 [details, diff] ebuild patch (In reply to comment #3) > Zope packages are needed only by `$(PYTHON) setup.py benchmark` command, not > by test suite. in Chameleon-2.8.5/src/chameleon//tests/test_templates.py class ZopePageTemplatesTest(RenderTestCase): !! archtester chameleon # USE_PYTHON="2.5 2.6 2.7 3.1 3.2" ebuild chameleon-2.8.5.ebuild clean test test_txt_files (chameleon.tests.test_templates.ZopeTemplatesTestSuite) ... ok ---------------------------------------------------------------------- Ran 68 tests in 4.322s OK for all versions. archtester chameleon # USE_PYTHON="2.5 2.6 2.7 3.1 3.2" ebuild chameleon-2.8.5.ebuild clean merge * Compilation and optimization of Python modules for CPython 2.5 [ ok ] * Compilation and optimization of Python modules for CPython 2.6 [ ok ] * Compilation and optimization of Python modules for CPython 2.7 [ ok ] * Compilation and optimization of Python modules for CPython 3.1 [ ok ] * Compilation and optimization of Python modules for CPython 3.2 [ ok ] (In reply to comment #5) The test is correct and should not be disabled. Tests do not depend on Zope packages at all. all the better good to go old news # eix chameleon Available versions: (~)2.8.3-r1 (~)2.9.2 (~)2.10 {{doc test}} |