Upgrading standard library module

Mike Driscoll kyosohma at gmail.com
Fri Feb 13 15:46:37 EST 2009


On Feb 13, 2:42 pm, Bryan <bryanv... at gmail.com> wrote:
> I have a Python v2.5.2 server running and I found some undesirable
> behavior in the xmlrpclib module that is included with that version of
> Python.  The xmlrpclib version that is included with Python 2.6
> changes the behavior for the better.  I nervous about upgrading my
> Python install to 2.6 on this server because I remember reading in the
> docs of a library I use that it targets the 2.5 branch.  What is the
> best way to only upgrade the xmlrpclib in my 2.5 install?
>
> Also, have you all had problems with libraries not specifying which
> Python version they target?  I can't find a requirements for the
> formencode library.  It is kind of scary upgrading my Python server
> install without being sure all my libraries will work.  Experiences??
>
> Bryan

Well, you could put your current install in a virtualenv and then try
the new version of Python 2.6 in another virtualenv. See
http://pypi.python.org/pypi/virtualenv for more info.

As long as your 3rd party packages are pure python, you should be ok.
If they depend on c/c++ headers, then you may have issues.

Mike



More information about the Python-list mailing list