[Distutils] PyPI not rendering ReST long_description

Wichert Akkerman wichert at wiggy.net
Tue Jul 15 11:24:59 CEST 2014

> On 15 Jul 2014, at 11:22, Richard Jones <richard at python.org> wrote:
> Hi, I just want to note that I'm aware of this issue and I have "do something about it" in my long TODO.
> That link is malformed in any case - docutils just passes it on through and you're just lucky that browsers will guess that it is supposed to have a "http://" scheme on the front. PyPI does indeed check URL schemes in links for security reasons. I guess I never though that I'd need to allow a blank one - I'd have to think about the implications of allowing it.

I don’t particularly mind PyPI refusing URL without a scheme – that is a perfectly reasonably precaution. The problem is that there is no way at all to see why PyPI was refusing to render my ReST without manually bisecting the long description manually through its web-interface.


More information about the Distutils-SIG mailing list