Code

Opened 7 years ago

Closed 6 years ago

#5362 closed (fixed)

markup test with docutils failed

Reported by: Dirk Datzert <dummy@…> Owned by: keithb
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@…> 7 years ago.
markup docutils test fix
5362_fix.diff (992 bytes) - added by keithb 6 years ago.
Patch for the test

Download all attachments as: .zip

Change History (11)

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

markup docutils test fix

comment:1 Changed 7 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

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 follow-up: Changed 7 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 7 years ago by russellm

  • Resolution worksforme deleted
  • Status changed from closed to reopened

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

comment:4 in reply to: ↑ 2 Changed 7 years ago by mboersma

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 6 years ago by keithb

  • Owner changed from nobody to keithb
  • Status changed from reopened to new

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 6 years ago by keithb

Patch for the test

comment:6 Changed 6 years ago by keithb

  • Cc kbussell@… added

comment:7 Changed 6 years ago by keithb

  • Status changed from new to assigned

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

  • Triage Stage changed from Unreviewed to Ready for checkin

Excellent - thanks for tracking this down Keithb

comment:9 Changed 6 years ago by jacob

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.