Opened 10 years ago

Closed 10 years ago

#9963 closed enhancement (fixed)

Add minimum required Python version (2.5)

Reported by: Ryan J Ollos Owned by: Radek Bartoň
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 10 years ago by Ryan J Ollos

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 10 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.