pyCairo 1.8.4 requires python2.6 ?

Hi all,
Does pyCairo 1.8.4 requires python 2.6 ??
I tried to build it from source and it says so, also in the announce for this release:
"Pycairo 1.8.4 requires cairo 1.8.4 (or later) and Python 2.6"
I say so because in fact the 1.8.4 pyCairo python 2.5 build that's in http://www.wxpython.org/cairo/ does not work for me on windows xp and wxPython 2.8.10.1

Marco De Felice wrote:

Hi all,
Does pyCairo 1.8.4 requires python 2.6 ??
I tried to build it from source and it says so, also in the announce for this release:
"Pycairo 1.8.4 requires cairo 1.8.4 (or later) and Python 2.6"
I say so because in fact the 1.8.4 pyCairo python 2.5 build that's in Index of /cairo does not work for me on windows xp and wxPython 2.8.10.1

I looked at the code and didn't see anything in it that was Py2.6 specific, so I removed the restriction in setup.py when I built the PyCairo package. There were some compile errors, probably due to my using MS VC++ instead of the mingw32 that the PyCairo authors probably used, but they were easily fixed. So for me at least that build of PyCairo and Cairo 1.8.6 works fine with Python 2.5.

  PyCrust 0.9.5 - The Flakiest Python Shell
  Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import wx
  >>> wx.version()
  '2.8.10.1 (msw-unicode)'
  >>> import cairo
  >>> cairo.cairo_version_string()
  '1.8.6'
  >>> cairo.version
  '1.8.4'

···

--
Robin Dunn
Software Craftsman