Andreas Jung wrote:
--On Montag, 8. November 2004 8:38 Uhr +0100 Jonas Meurer <jonas@freesources.org> wrote:
On 08/11/2004 Andreas Jung wrote:
The recommended Python version for Zope 2.6 is Python 2.1.X. as documented in various places. There was never an official support for Python 2.2 or higher.
yes, i already read this in the Zope Book and on other places, but some guy in #zope on freenode.net told me that python2.2 support was added in zope 2.6.3, and finally debian zope packages run zope 2.6.4 with python2.2.
Things are as they are. There is nothing in Zope 2.6 built-in to support Python 2.2. Although some people were running Zope 2.6 with any other version than Python 2.1.3 then they run it at their own risk. System recommendations are there to define a supported environment. if Debian installs Zope packages with the wrong versions then Debian should be blamed for not reading-the-fine-documentation and for wrong packaging.
While Andreas is correct about the supported version, I have successfully installed Zope 2.6.x for clients using Python 2.2.3, and saw some modest performance benefits; those instances still run as high-traffic, mission-critical applications for those clients. First, if you are going to run Zope 2.6.x with Python 2.2.x, please ensure that it runs with 2.2.3; there are known crash bugs in earlier 2.2.x versions which make Zope particularly hard to run (likewise with 2.1.3; 2.1.2 and earlier had crash bugs discovered by Zope). Second, I would strongly recommend compiling and running Zope with a separate, "dedicated" Python (installed into /usr/local/ZopePython, or some such). The rationale here is that the system Python may be packaged inappropriately for Zope (e,g,, RedHat builds with 4-byte unicode; some older systems did not have large-file support), and that the system python may be upgraded / munged by sysadmin operations which don't realize that they may impact Zope. If you can reproduce the issue with a Python you built yourself, and a Zope you built and installed from source, then this list can help you. Otherwise, you need to report a packaging bug to the Debian maintainers, as Andreas suggests. Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com