Opened 3 years ago

Closed 2 years ago

#9963 closed enhancement (fixed)

Add minimum required Python version (2.5)

Reported by: rjollos Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords: version
Cc: Trac Release: 0.11


Follow-up to this mailing list post and #9146.

#9800 demonstrates a way to implement it. I'd be happy to push the change to your repository if you'd like.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by rjollos

  • Keywords version added

Well, #9800 doesn't give the exact recipe, but it is contained in the for Trac:

min_python = (2, 5)
if sys.version_info < min_python:
    print "Trac requires Python %d.%d or later" % min_python
if sys.version_info >= (3,):
    print "Trac doesn't support Python 3 (yet)"

So you could just copy that into your and change the printed message.

comment:2 Changed 2 years ago by rjollos

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

(In [12057]) Fixes #9963, Refs #9800, #8276, #8803, #9146: Added check in for minimum required Python version. Python 2.5 is currently required. Later, we'll aim to restore full Python 2.4 compatibility.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.