Modify

Opened 5 years ago

Closed 4 years ago

#5310 closed defect (fixed)

GitPlugin requires Python 2.5

Reported by: jeremy@… Owned by: hvr
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: jeremy@… Trac Release: 0.11

Description

GitPlugin 0.11 now requires Python 2.5. This is a problem for anyone running current version of RHEL, CentOS, etc. only support Python 2.4. If the requirement for Python 2.5 is based on syntactic sugar only, I suggest modifications to make this only require Python 2.4

Attachments (2)

python24.patch (6.6 KB) - added by Slava Zanko <slavazanko()gmail_com> 5 years ago.
Patch for works with python-2.4
python24.2.patch (7.4 KB) - added by Slava Zanko <slavazanko()gmail_com> 5 years ago.
Work with python-2.4

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by jeremyross

  • Cc jeremy@… added

comment:2 Changed 5 years ago by Slava Zanko <slavazanko()gmail_com>

I agree with ticket-starter: need to support Long Time distros (like Ubuntu LTS, RHEL/CentOS, SLES, etc). Usually, people don't install on servers packages with latest versions - much important stable packages rather than 'newest'.

... And usually git and trac placed on servers... ;)

Changed 5 years ago by Slava Zanko <slavazanko()gmail_com>

Patch for works with python-2.4

comment:3 Changed 5 years ago by Slava Zanko <slavazanko()gmail_com>

Reviw my patch, please. If some wrong - fix it, I'm don't familar with Python.

As for me all works on my CentOS-5

P.S. Seems tickets #5846, #3451 as duplicats of this ticket...

Changed 5 years ago by Slava Zanko <slavazanko()gmail_com>

Work with python-2.4

comment:4 Changed 5 years ago by Slava Zanko <slavazanko()gmail_com>

Sorry, first patch not correct and ugly. See second patch

comment:5 Changed 5 years ago by Haw Loeung

See #5273 for alternative patch.

comment:6 Changed 4 years ago by hvr

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

(In [7752]) branched off python 2.4 backport of 0.11 using attachment:trac-git-plugin-python2.4.patch:ticket:6402

closes #6402
closes #5273
closes #3411
closes #5310

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hvr. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.