Commit ccdc5e33 authored by Michael Dunstan's avatar Michael Dunstan

- Removed Python 2.3.3 as valid option. ZODB 3.3 requires Python

  2.3.4 or later.
parent d2450e66
......@@ -18,7 +18,7 @@ TARGET="2.3.4"
# sys.version) below in "best" to "worst" order, not including the
# target version. Up to six acceptable python versions are allowed.
# Do not include the target version number in this list!
ACCEPTABLE="2.3.3"
ACCEPTABLE=""
# provide the executable names for all the acceptable versions
# (and the target version) below
......@@ -115,8 +115,10 @@ get_python() {
[ -z "$FOUND4" ] && [ -z "$FOUND5" ] && [ -z "$FOUND6" ] ; then
out ""
out " No suitable Python version found. You should install"
out " Python version $TARGET before continuing. Versions"
out " $ACCEPTABLE also work, but not as optimally."
out " Python version $TARGET before continuing."
if [ "$ACCEPTABLE" ]; then
out " Versions $ACCEPTABLE also work, but not as optimally."
fi
exit 1
else
if [ -n "$FOUND1" ]; then
......
......@@ -157,6 +157,9 @@ Zope Changes
Bugs fixed
- Removed Python 2.3.3 as valid option. ZODB 3.3 requires Python
2.3.4 or later.
- Collector #1332: Added in-place migration of the Catalog.__len__
attribute to avoid new-style class caching problems. Instances of
ZCatalog or instances of classes with ZCatalog as base class will be
......
......@@ -7,7 +7,7 @@ Building and installing Zope from source
System requirements when building from source
bash or another Bourne shell variant
Python 2.3.3 or later installed somewhere in the system PATH
Python 2.3.4 or later installed somewhere in the system PATH
GNU make
A C compiler (gcc recommended)
......@@ -148,7 +148,7 @@ Integrating Zope With An Existing Webserver
Troubleshooting
- This version of Zope requires Python 2.3.3 or better.
- This version of Zope requires Python 2.3.4 or better.
- The Python you run Zope with *must* have threads compiled in,
which is the case for a vanilla build. Warning: Zope will not run
......
......@@ -342,8 +342,8 @@ class UnixZopeStarter(ZopeStarter):
def check_python_version():
# check for Python version
python_version = sys.version.split()[0]
optimum_version = '2.3.3'
if python_version < '2.3.3':
optimum_version = '2.3.4'
if python_version < '2.3.4':
raise ZConfig.ConfigurationError(
'Invalid python version: %s, the optimal version is %s or higher' %
(python_version, optimum_version))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment