Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ccdc5e33
Commit
ccdc5e33
authored
Oct 15, 2004
by
Michael Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed Python 2.3.3 as valid option. ZODB 3.3 requires Python
2.3.4 or later.
parent
d2450e66
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
configure
configure
+5
-3
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
doc/INSTALL.txt
doc/INSTALL.txt
+2
-2
lib/python/Zope/Startup/__init__.py
lib/python/Zope/Startup/__init__.py
+2
-2
No files found.
configure
View file @
ccdc5e33
...
@@ -18,7 +18,7 @@ TARGET="2.3.4"
...
@@ -18,7 +18,7 @@ TARGET="2.3.4"
# sys.version) below in "best" to "worst" order, not including the
# sys.version) below in "best" to "worst" order, not including the
# target version. Up to six acceptable python versions are allowed.
# target version. Up to six acceptable python versions are allowed.
# Do not include the target version number in this list!
# Do not include the target version number in this list!
ACCEPTABLE
=
"
2.3.3
"
ACCEPTABLE
=
""
# provide the executable names for all the acceptable versions
# provide the executable names for all the acceptable versions
# (and the target version) below
# (and the target version) below
...
@@ -115,8 +115,10 @@ get_python() {
...
@@ -115,8 +115,10 @@ get_python() {
[
-z
"
$FOUND4
"
]
&&
[
-z
"
$FOUND5
"
]
&&
[
-z
"
$FOUND6
"
]
;
then
[
-z
"
$FOUND4
"
]
&&
[
-z
"
$FOUND5
"
]
&&
[
-z
"
$FOUND6
"
]
;
then
out
""
out
""
out
" No suitable Python version found. You should install"
out
" No suitable Python version found. You should install"
out
" Python version
$TARGET
before continuing. Versions"
out
" Python version
$TARGET
before continuing."
out
"
$ACCEPTABLE
also work, but not as optimally."
if
[
"
$ACCEPTABLE
"
]
;
then
out
" Versions
$ACCEPTABLE
also work, but not as optimally."
fi
exit
1
exit
1
else
else
if
[
-n
"
$FOUND1
"
]
;
then
if
[
-n
"
$FOUND1
"
]
;
then
...
...
doc/CHANGES.txt
View file @
ccdc5e33
...
@@ -157,6 +157,9 @@ Zope Changes
...
@@ -157,6 +157,9 @@ Zope Changes
Bugs fixed
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__
- Collector #1332: Added in-place migration of the Catalog.__len__
attribute to avoid new-style class caching problems. Instances of
attribute to avoid new-style class caching problems. Instances of
ZCatalog or instances of classes with ZCatalog as base class will be
ZCatalog or instances of classes with ZCatalog as base class will be
...
...
doc/INSTALL.txt
View file @
ccdc5e33
...
@@ -7,7 +7,7 @@ Building and installing Zope from source
...
@@ -7,7 +7,7 @@ Building and installing Zope from source
System requirements when building from source
System requirements when building from source
bash or another Bourne shell variant
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
GNU make
A C compiler (gcc recommended)
A C compiler (gcc recommended)
...
@@ -148,7 +148,7 @@ Integrating Zope With An Existing Webserver
...
@@ -148,7 +148,7 @@ Integrating Zope With An Existing Webserver
Troubleshooting
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,
- The Python you run Zope with *must* have threads compiled in,
which is the case for a vanilla build. Warning: Zope will not run
which is the case for a vanilla build. Warning: Zope will not run
...
...
lib/python/Zope/Startup/__init__.py
View file @
ccdc5e33
...
@@ -342,8 +342,8 @@ class UnixZopeStarter(ZopeStarter):
...
@@ -342,8 +342,8 @@ class UnixZopeStarter(ZopeStarter):
def
check_python_version
():
def
check_python_version
():
# check for Python version
# check for Python version
python_version
=
sys
.
version
.
split
()[
0
]
python_version
=
sys
.
version
.
split
()[
0
]
optimum_version
=
'2.3.
3
'
optimum_version
=
'2.3.
4
'
if
python_version
<
'2.3.
3
'
:
if
python_version
<
'2.3.
4
'
:
raise
ZConfig
.
ConfigurationError
(
raise
ZConfig
.
ConfigurationError
(
'Invalid python version: %s, the optimal version is %s or higher'
%
'Invalid python version: %s, the optimal version is %s or higher'
%
(
python_version
,
optimum_version
))
(
python_version
,
optimum_version
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment