PyPI page shows ReST source

Bug #355600 reported by Marius Gedminas
2
Affects Status Importance Assigned to Milestone
lazr.enum
Fix Released
Medium
Unassigned

Bug Description

http://pypi.python.org/pypi/lazr.enum shows the ReStructuredText markup source instead of a prettily formatted page. The reason for this is usually invalid ReST markup. In this particular case it seems to come from Sphinx directives (.. toc-tree:) that basic ReST doesn't define.

I've a proposed fix in a local Bazaar branch. Now if only I could figure out how to attach that fix to this bug report...

Related branches

Revision history for this message
Tim Penhey (thumper) wrote :

Francis, is this in the default lazr package? If it is we'd probably want to put this change in there too.

Changed in lazr.enum:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Tim Penhey (thumper) wrote :

Fix landed on trunk at r27.

Changed in lazr.enum:
assignee: nobody → mgedmin
status: Confirmed → Fix Released
Revision history for this message
Tim Penhey (thumper) wrote :

Actually, changing to only committed as the fix has landed but PyPI isn't yet updated.

Changed in lazr.enum:
assignee: mgedmin → nobody
status: Fix Released → Fix Committed
Revision history for this message
Gary Poster (gary) wrote :

Thanks Tim, thanks Marius.

It is a general lazr.yourpkg template problem. Francis and I decided that this was not a priority problem at the moment.

My general plan to solve this for all lazr packages (subject to someone convincing me with another one) is to upload the Sphinx docs to http://packages.python.org/; and switch to having the top-level README provide the long description, and have it point to the Sphinx docs.

Marius' solution is fine for smaller packages, also.

Tim, I can update the package's registration today. Feel free to bug me if I haven't done it. If you give me your PyPI name I can grant you access too, if you like.

Gary

Tim Penhey (thumper)
Changed in lazr.enum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.