Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upPython 2.6 compatibility (markdown dependency issue) #19
Comments
BurntSushi
closed this
in
7ecae95
Dec 2, 2014
This comment has been minimized.
This comment has been minimized.
|
I don't feel any pressing need to use Markdown >= 2.5, so I just forced the dependency to The writing is on the wall for Python 2.6 though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
florianlherbette commentedDec 2, 2014
Hi. It is not a pdoc issue per say, but it might be useful to update the documentation.
You're keeping pdoc compatible with Python 2.6 (which is a good thing for the unlucky people still stuck with it). But the Python
markdownpackage dropped Python 2.6 support in its 2.5 release.Therefore currently a fresh install of pdoc from PyPi does not work. This is easily worked around by downgrading
markdownto version 2.4.1, but the cause of the problem may be difficult to figure out.The exception raised by
markdownis caught and re-raised inhtml_out()in thepdocscript, so we lose the original backtrace from markdown, so users may have some difficulty seeing that the compatibility issue is with markdown. See this sample backtrace:Or, if installing the backported
importlibfor 2.6 from PyPi, this other error thrown by markdown: