List Info

Thread: maintaining python 2.4.4 and 2.5 on my test machine




maintaining python 2.4.4 and 2.5 on my test machine
country flaguser name
United States
2007-09-16 12:11:46
Hi, I run python 2.5 on my fedora 7 machine. 

I noticed that plone 3 has a 2.4.4 dependency and I would
have to install
python separately outside of yum.  

(my webhost supports both 2.5 and 2.4). 

Does that mean that any python packages/eggs would need to
be downloaded
outside of fedora's yum? 

Is there any documentation about the art of maintaining two
versions of
python on my machine? 

Thanks. 

robert nagle
houston, TX
http://www.imaginaryplanet.net/weblogs/idiotprogrammer/


-- 
View this message in context: http://
www.nabble.com/maintaining-python-2.4.4-and-2.5--on-my-test-
machine-tf4461240s15482.html#a12721832
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: maintaining python 2.4.4 and 2.5 on my test machine
country flaguser name
United States
2007-09-16 13:13:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rjnagle wrote:
> Hi, I run python 2.5 on my fedora 7 machine.

Fun, right?

> 
> I noticed that plone 3 has a 2.4.4 dependency and I
would have to install
> python separately outside of yum.

I've got compat packages for everything, so you can still
use yum.

> 
> (my webhost supports both 2.5 and 2.4). 
> 
> Does that mean that any python packages/eggs would need
to be downloaded
> outside of fedora's yum? 

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 

> 
> Is there any documentation about the art of maintaining
two versions of
> python on my machine? 

The accepted practice outside of rpm is to maintain
everything in /opt.
You can also use the unified installer. Let me know if you
you'd like
the compat packages. There are only a few minor changes I've
yet to
complete to add them to a public repo. I would love more
testers.


Jonathan Steffan
daMaestro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


iD8DBQFG7XJRrRJs5w2Gr1kRAmzOAKDTWLJomGMQUAUBnYNGN5DThn0ctQCe
PHtX
hFK9K4PP0fw0wyuDFIbA+C0=
=7aYu
-----END PGP SIGNATURE-----

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: maintaining python 2.4.4 and 2.5 on my test machine
country flaguser name
United States
2007-09-16 20:00:23
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 

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? 

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)

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? 

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

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

Robert nagle 

-- 
View this message in context: http://
www.nabble.com/maintaining-python-2.4.4-and-2.5--on-my-test-
machine-tf4461240s15482.html#a12727887
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: maintaining python 2.4.4 and 2.5 on my test machine
country flaguser name
United States
2007-09-16 22:40:39
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

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )