| Summary: | Version bump dev-python/markdown-2.2.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dirkjan Ochtman (RETIRED) <djc> |
| Component: | New packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(In reply to comment #0) > Test failures Arfrever reported test failures to upstream about 3 months ago: https://github.com/waylan/Python-Markdown/issues/112 Upstream patch cited above sees tests pass for all bar python2.5. Setting PYTHON_DEPEND to 2:2.6 3:3.1 accordingly. dev-python/markdown $ USE_PYTHON="2.6 2.7 2.7-pypy-1.9 3.1 3.2" ebuild markdown-2.2.0.ebuild clean test * Testing of dev-python/markdown-2.2.0 with CPython 2.6... Ran 168 tests in 2.049s OK (SKIP=1) * Testing of dev-python/markdown-2.2.0 with CPython 2.7... Ran 168 tests in 2.070s OK (SKIP=1) * Testing of dev-python/markdown-2.2.0 with PyPy 1.9 (Python 2.7)... Ran 168 tests in 4.874s OK (SKIP=1) * Testing of dev-python/markdown-2.2.0 with CPython 3.1... Ran 168 tests in 1.895s OK (SKIP=1) * Testing of dev-python/markdown-2.2.0 with CPython 3.2... Ran 168 tests in 1.947s OK (SKIP=1) |
Test failures (2.1.1 passes): ====================================================================== FAIL: Test loading of an Extension with no makeExtension function. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/markdown-2.2.0/work/Markdown-2.2.0/build-2.7/tests/test_apis.py", line 254, in testLoadBadExtension self.assertRaises(ValueError, markdown.Markdown, extensions=['fake']) AssertionError: ValueError not raised -------------------- >> begin captured logging << -------------------- MARKDOWN: WARNING: Failed to initiate extension 'fake': 'module' object has no attribute 'makeExtension' --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: Test failure of an extension to load. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/markdown-2.2.0/work/Markdown-2.2.0/build-2.7/tests/test_apis.py", line 249, in testLoadExtensionFailure markdown.Markdown, extensions=['non_existant_ext']) AssertionError: ValueError not raised -------------------- >> begin captured logging << -------------------- MARKDOWN: WARNING: Failed loading extension 'non_existant_ext' from 'markdown.extensions.non_existant_ext' or 'mdx_non_existant_ext' --------------------- >> end captured logging << ---------------------