#1618 closed defect (fixed)
reStructuredText doesn't work with docutils 0.3.10
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.8.2 |
Component: | general | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I didn't have docutils installed, so I went to their site and downloaded the "lastest version". This version is labelled as 0.3.10, and causes whe following error (e.g., on WikiRestructuredText):
Docutils version >= 0.3.3 required, 0.3.10 found
This is caused by the fact that the version numbers are compared as strings. The attached patch fixes this by using distutils.version.LooseVersion for comparing version numbers.
I'm setting the milestone to 0.8.2 because it's a really simple patch, localized to reStructuredText support, and I don't think it could introduce buggy side-effects, but feel free to re-schedule it.
Attachments (1)
Change History (3)
by , 20 years ago
Attachment: | rst.py.patch added |
---|
comment:1 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Okay, I'll slip this fix into 0.8.2.
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Patch against 1458