Ticket #1325 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

python 2.5 incompatibilities

Reported by: dread Owned by: dread
Priority: minor Milestone: ckan-sprint-2011-09-12
Component: ckan Keywords:
Cc: kindly Repository: ckan
Theme: none

Description

We claim to support Python 2.5 (useful for Lenny), yet a few problems have crept in:

  • 'with' statement requires from __future__ import with_statement
  • import json from ckan.lib.helpers, rather than directly, since it copes with reverting to simplejson, used in python 2.5.

Change History

comment:1 Changed 3 years ago by dread

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

Fixed in cset:0dd4d4457c97 for release 1.4.3. Previous Python 2.5 incompatible versions include 1.4.2 - 1.3.4.1 and maybe further.

Note: See TracTickets for help on using tickets.