Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437290 - Version bump dev-python/markdown-2.2.0
Summary: Version bump dev-python/markdown-2.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 12:06 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2012-11-10 12:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirkjan Ochtman (RETIRED) gentoo-dev 2012-10-05 12:06:31 UTC
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 << ---------------------
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-10-09 03:33:55 UTC
(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
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-11-10 12:21:56 UTC
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)