[Setup] maintaining python 2.4.4 and 2.5 on my test machine

Jonathan Steffan jon at fedoraunity.org
Mon Sep 17 03:40:39 UTC 2007


rjnagle wrote:
> First, this is great news that someone is working on it. 
> 
> YOU WROTE: 
> I've got the core stuff needed but there will be things you'll need to
> manually download if you use them. Stuff like DB connectors, and other
> things. I'll most likely package up setuptools also, so installing extra
> 2.4 stuff would be easier and I don't have to maintain the packages ;-)

Basically, in Fedora, we do stuff like python-ldap. This is a bad
example because I've actually done the compat-python24-ldap package...
but I hope it illustrates.

yum list python-\*

Most of the packages, I wont personally maintain the compat package for.
I just don't have time.

> 
> I need to be 100% sure I understand what you are saying here. 
> by setup tools, you mean the ability to run a command like 
> easy_install-2.4 -d $HOME/lib/python2.4 -s $HOME/bin cherrypy , right?

Yes, if the functionality you need does not have a compat-python24
package, you will be able to use cheeseshop. Though, it would be more like:

easy_install-2.4 cherrypy

This would make cherrypy available to zope/plone.

> 
> When you say stuff like DB connectors and other things, what exactly do you
> mean? 
> (I'm guessing that DB connectors that come with fc7 yum wouldn't necessarily
> work  with python 2.4)

Example: python-sqlalchemy

I've not packaged compat-python24-sqlalchemy. This might be a bad
example as I might package it in the near future, but right now it's not
done. The Fedora provided package (python-sqlalchemy) would be for
python 2.5 and thus zope/plone wont be able to use it.

> 
> so basically I'm going to use yum for 2.5 libraries and cheeseshop for 2.4
> libraries? And then manually install anything not in cheeseshop? 

Basically, yes. There will be some packages that will have compat
packages you can fetch via yum... but after reading your message I've
decided to add compat-python24-setuptools so adding additional stuff
that has not been packaged is not too hard.

> 
> I'm not sure what you mean by compat packages though.

Packages that can "live" along side the Fedora provided packages and
have the same QA as Fedora provided packages. The compat packages are
all based on the FC6 packages for python 2.4.4.

> 
> Sure,  I'd be willing to try your rpm's out.

Just follow the review ticket.
http://bugzilla.livna.org/show_bug.cgi?id=1558

If you'd prefer not having to build the packages, shoot me an off list
email and I'd be happy to respond with the information about my testing
repo. I've been using the packages for some time for developing with
Plone 3.

Jonathan Steffan
daMaestro



More information about the Setup mailing list