Opened 10 years ago

Closed 10 years ago

#5362 closed (fixed)

markup test with docutils failed

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

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@…> 10 years ago.
markup docutils test fix
5362_fix.diff (992 bytes) - added by Keith Bussell 10 years ago.
Patch for the test

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by Dirk Datzert <dummy@…>

markup docutils test fix

comment:1 Changed 10 years ago by Russell Keith-Magee

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 Changed 10 years ago by Dirk Datzert <dummy@…>

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 Changed 10 years ago by Russell Keith-Magee

Resolution: worksforme
Status: closedreopened

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

comment:4 in reply to:  2 Changed 10 years ago by Matt Boersma

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 Changed 10 years ago by Keith Bussell

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.

Changed 10 years ago by Keith Bussell

Attachment: 5362_fix.diff added

Patch for the test

comment:6 Changed 10 years ago by Keith Bussell

Cc: kbussell@… added

comment:7 Changed 10 years ago by Keith Bussell

Status: newassigned

comment:8 Changed 10 years ago by Simon G <dev@…>

Triage Stage: UnreviewedReady for checkin

Excellent - thanks for tracking this down Keithb

comment:9 Changed 10 years ago by Jacob

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