Opened 17 years ago

Closed 16 years ago

#5362 closed (fixed)

markup test with docutils failed

Reported by: Dirk Datzert <dummy@…> Owned by: Keith Bussell
Component: Testing framework Version: dev
Severity: Keywords:
Cc: kbussell@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

I have python 2.5, docutils 0.5 and SVN-trunk (Rev 6066) Django installed. I run the django/contrib/markup/tests.py and I wondered that the docutils test failed.

Attached a fix for the bug !?

Regards,
Dirk

Attachments (2)

django-contrib-markup-tests.patch (629 bytes ) - added by Dirk Datzert <dummy@…> 17 years ago.
markup docutils test fix
5362_fix.diff (992 bytes ) - added by Keith Bussell 16 years ago.
Patch for the test

Download all attachments as: .zip

Change History (11)

by Dirk Datzert <dummy@…>, 17 years ago

markup docutils test fix

comment:1 by Russell Keith-Magee, 17 years ago

Resolution: worksforme
Status: newclosed

This works as-is for docutils-0.4. Where are you getting docutils 0.5 from? The project home page lists this 0.4 as the current release, and there is no 0.5 tarball available for download.

comment:2 by Dirk Datzert <dummy@…>, 17 years ago

There will no separate docutils 0.5 tarball. This is in the version released with python2.5

docutils.version

'0.5'

docutils.version_details

'snapshot 2007-09-07, r5427'

http://docutils.sourceforge.net/RELEASE-NOTES.html#release-0-4-2006-01-09 claims this:

Docutils 0.4.x is the last version that will support Python 2.1. Docutils 0.5 will not be compatible with Python 2.1; Python 2.2 or later will be required.

comment:3 by Russell Keith-Magee, 17 years ago

Resolution: worksforme
Status: closedreopened

Ah - ok. I'll need to break out a Python2.5 install.

in reply to:  2 comment:4 by Matt Boersma, 17 years ago

Replying to Dirk Datzert <dummy@habmalnefrage.de>:

There will no separate docutils 0.5 tarball. This is in the version released with python2.5

There is no docutils 0.5 release, at last not as of today. And docutils is not a battery included with Python 2.5 or 2.5.1, sorry:
http://docs.python.org/modindex.html

I don't think this is worth anyone spending time on.

comment:5 by Keith Bussell, 16 years ago

Owner: changed from nobody to Keith Bussell
Status: reopenednew

I tested and verified this bug with python2.5.1, and the latest source snapshot of docutils. Note that this is the recommended distribution, and it installs itself as v0.5.

docutils v0.4 does not exhibit this problem.

I created a patch to take both versions into account.

by Keith Bussell, 16 years ago

Attachment: 5362_fix.diff added

Patch for the test

comment:6 by Keith Bussell, 16 years ago

Cc: kbussell@… added

comment:7 by Keith Bussell, 16 years ago

Status: newassigned

comment:8 by Simon G <dev@…>, 16 years ago

Triage Stage: UnreviewedReady for checkin

Excellent - thanks for tracking this down Keithb

comment:9 by Jacob, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [6850]) Fixed #5362: markup tests no longer fail under SVN versions of docutils. Thanks, keithb.

Note: See TracTickets for help on using tickets.
Back to Top