On Fri, May 20, 2011 at 9:30 AM, Alessandro Molina <[email protected]> wrote: > On Fri, May 20, 2011 at 6:02 AM, Michael Pedersen <[email protected]> > wrote: >> We have three options: >> 1. Get Kajiki to support Python 2.4. Alessandro already did this, but the >> problem is ongoing support. Future updates could drop the support as easily >> as it gets added back in. > > I did it just for fun so I'm really interested in maintaining it > especially as I don't have any production system running > python2.4 anymore.
I guess you mean you are NOT interested in maintaining Kajiki on Python 2.4? ;) >> 2. Drop Kajiki support in our code base. From everything I've seen, Kajiki >> has better performance than Genshi. I would like to keep Kajiki around as >> an option, and maybe (someday) move default development to it instead >> of Genshi (but that is a ways off, at least a year, don't worry). > > I'm really against this, I got used to using both genshi and kajiki > together, and I'm starting to think that they are a really good couple > as you can also start with genshi and quickly switch to kajiki if required. > > Most of my apps currently use kajiki for helpers or partial templates > to gain performance boost of things that you show multiple times per > page. > >> 3. Drop Python 2.4 support. >> > > I would suggest doing this for TG2.1 while we can keep TG2.0 > compatible with Py2.4 > >> Now, the major problem is RedHat 5.x and CentOS 5.x. They run Python 2.4, >> and upgrading the system Python will raise issues with yum. As such, we're >> going to see places where people will be deploying on RH% and CentOS5, >> and we can't avoid this. The question becomes: Do we support this? > > To install Python2.5 on CentOS there are some ready made RPM that install > it as an alternative interpreter which can be used to create the virtualenv > for TG without touching yum or the other python based software. I think > that we just need to document this in the "Installation" section for Centos > users to make everybody happy. We run CentOS with a locally installed Python 2.6 under /usr/local/bin (compiled from source) so as not to interfere with the system Python 2.4 because several libraries we use have dropped Python 2.4 (or have announced their plans for dropping it). We would be using Python 2.7 except for one key library for us doesn't support it yet. So yes, RedHat 5.x and CentOS 5.x are a pain, but it isn't too hard to work around. Peter -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

