[python-win32] upgrading to python 2.4

Paul Moore p.f.moore at gmail.com
Thu Dec 9 11:53:42 CET 2004


On Tue, 7 Dec 2004 15:33:34 -0800, Charlie Taylor <charlie at ezweave.com> wrote:
> Is there a good reference to the steps that should be taken to upgrade a
> Windows machine to the next version of python?
> 
> My journey from 2.2 to 2.3 was very knicker-twisting.  I'm hoping for more
> of a controlled landing on 2.4.

I just did this, and my approach was:

1. Go into Add/Remove Programs, and list all the Python extensions I
have installed.
2. Get 2.4 binaries for any that use C extensions
3. Remove all of the 2.3 stuff, and Python 2.3 itself.
4. Install 2.4, and the extensions I use.

That's it. Worked OK for me. Some points, though:

1. I install *everything* via bdist_wininst installers. If one isn't
provided, I build one myself.
2. If I have services using Python, I have to be a bit more careful.
Uninstall the service before removing 2.3, then reinstall after.
3. I'm assuming that all of the scripts and applications I have will
work. Testing thye upgrade is a separate issue. You can install 2.3
and 2.4 side by side if this helps with your testing...

Also, I have a fairly high tolerance for breakage, or issues. Most of
what I use Python for is timesaving utilities, added-value
applications, and other nce-to-have stuff. If your business will fail
should a Python application stop working, take a bit more care than I
do!!

But overall, the transition hasn't been too painful.

Paul.


More information about the Python-win32 mailing list