Commit 6acb0028 authored by Jérome Perrin's avatar Jérome Perrin

ERP5 py3: WIP changes

parent 23a762f4
...@@ -12,6 +12,8 @@ patches = ...@@ -12,6 +12,8 @@ patches =
${:_profile_base_location_}/astroid-six_moves_import_error.patch#377beb0c50f52b9608bb6be7bf93096e ${:_profile_base_location_}/astroid-six_moves_import_error.patch#377beb0c50f52b9608bb6be7bf93096e
patch-options = -p1 patch-options = -p1
patch-binary = ${patch:location}/bin/patch patch-binary = ${patch:location}/bin/patch
[astroid:python3]
setup-eggs = ${lazy-object-proxy:egg} setup-eggs = ${lazy-object-proxy:egg}
[lazy-object-proxy] [lazy-object-proxy]
...@@ -40,3 +42,15 @@ patches = ...@@ -40,3 +42,15 @@ patches =
${:_profile_base_location_}/pylint-redefining-builtins-modules.patch#043defc6e9002ac48b40e078797d4d17 ${:_profile_base_location_}/pylint-redefining-builtins-modules.patch#043defc6e9002ac48b40e078797d4d17
patch-options = -p1 patch-options = -p1
patch-binary = ${patch:location}/bin/patch patch-binary = ${patch:location}/bin/patch
[pylint:python3]
recipe = zc.recipe.egg
patches =
[mccabe:python3]
recipe = zc.recipe.egg
patches =
setup-eggs =
[astroid:python3]
recipe = zc.recipe.egg
...@@ -22,7 +22,7 @@ md5sum = c91b5540f94ce76af31f84584df7a3ef ...@@ -22,7 +22,7 @@ md5sum = c91b5540f94ce76af31f84584df7a3ef
[instance-neo-admin] [instance-neo-admin]
filename = instance-neo-admin.cfg.in filename = instance-neo-admin.cfg.in
md5sum = b6e1ccb1d90160110202e5111eec2afa md5sum = a0ec1dce4c7a237fbeef3f8aee62e55a
[instance-neo-master] [instance-neo-master]
filename = instance-neo-master.cfg.in filename = instance-neo-master.cfg.in
...@@ -34,7 +34,7 @@ md5sum = fda911d5ef9efee365f1b0ff9843a50b ...@@ -34,7 +34,7 @@ md5sum = fda911d5ef9efee365f1b0ff9843a50b
[template-neo-my-cnf] [template-neo-my-cnf]
filename = my.cnf.in filename = my.cnf.in
md5sum = 56ea8f452d9e1526157ab9d03e631e1a md5sum = 3ae93702f3890a504cc8a93eb5ad52bc
[template-neo] [template-neo]
filename = instance.cfg.in filename = instance.cfg.in
......
...@@ -45,7 +45,7 @@ ssl = {{ dumps(bool(slapparameter_dict['ssl'])) }} ...@@ -45,7 +45,7 @@ ssl = {{ dumps(bool(slapparameter_dict['ssl'])) }}
cluster = {{ dumps(slapparameter_dict['cluster']) }} cluster = {{ dumps(slapparameter_dict['cluster']) }}
masters = {{ dumps(slapparameter_dict['masters']) }} masters = {{ dumps(slapparameter_dict['masters']) }}
extra-options = extra-options =
{%- for k, v in monitor_dict.iteritems() %} {%- for k, v in six.iteritems(monitor_dict) %}
{%- if k == 'backup' %} {%- if k == 'backup' %}
{%- set k = 'monitor-backup' %} {%- set k = 'monitor-backup' %}
{%- endif %} {%- endif %}
......
...@@ -45,7 +45,7 @@ innodb_locks_unsafe_for_binlog = 1 ...@@ -45,7 +45,7 @@ innodb_locks_unsafe_for_binlog = 1
{{x}}sync_frm = 0 {{x}}sync_frm = 0
# Extra parameters. # Extra parameters.
{%- for k, v in extra_dict.iteritems() %} {%- for k, v in six.iteritems(extra_dict) %}
{%- do assert('-' not in k) %} {%- do assert('-' not in k) %}
{{ k }} = {{ v }} {{ k }} = {{ v }}
{%- endfor %} {%- endfor %}
......
...@@ -130,8 +130,11 @@ inline = ...@@ -130,8 +130,11 @@ inline =
[versions] [versions]
coverage = 5.5 coverage = 5.5
ecdsa = 0.13 ecdsa = 0.13
mysqlclient = 1.3.12 mysqlclient = 2.0.1
PyMySQL = 0.10.1 PyMySQL = 0.10.1
pycrypto = 2.6.1 pycrypto = 2.6.1
cython-zstd = 0.2 cython-zstd = 0.2
funcsigs = 1.0.2 funcsigs = 1.0.2
[versions:python2]
mysqlclient = 1.3.12
...@@ -497,7 +497,6 @@ pysftp = 0.2.9 ...@@ -497,7 +497,6 @@ pysftp = 0.2.9
requests-toolbelt = 0.8.0 requests-toolbelt = 0.8.0
testfixtures = 6.11.0 testfixtures = 6.11.0
mysqlclient = 2.1.1 mysqlclient = 2.1.1
pexpect = 4.8.0
ptyprocess = 0.6.0 ptyprocess = 0.6.0
psycopg2 = 2.8.6 psycopg2 = 2.8.6
paho-mqtt = 1.5.0 paho-mqtt = 1.5.0
......
...@@ -4,12 +4,6 @@ extends = ...@@ -4,12 +4,6 @@ extends =
../../component/cython/buildout.cfg ../../component/cython/buildout.cfg
buildout.cfg buildout.cfg
parts +=
# Development eggs
slapos-cookbook-develop
slapos-cookbook
PyStemmer
cython
parts -= parts -=
# XXX: The following parts have no support for Python 3. Ignore for now. # XXX: The following parts have no support for Python 3. Ignore for now.
...@@ -24,7 +18,6 @@ parts -= ...@@ -24,7 +18,6 @@ parts -=
jupyter jupyter
matplotlibrc matplotlibrc
h5py h5py
custom-js
find-links += find-links +=
http://www.nexedi.org/static/packages/source/ http://www.nexedi.org/static/packages/source/
...@@ -59,6 +52,7 @@ recipe = ...@@ -59,6 +52,7 @@ recipe =
recipe = recipe =
[ocropy] [ocropy]
recipe = recipe =
[hookbox] [hookbox]
recipe = recipe =
[scipy] [scipy]
...@@ -83,30 +77,10 @@ include-dirs += ...@@ -83,30 +77,10 @@ include-dirs +=
${cyrus-sasl:location}/include ${cyrus-sasl:location}/include
[eggs] [eggs]
eggs +=
## Python 3 variant
SOAPpy-py3
suds-py3
eggs -= eggs -=
## Python 2 only
ZServer
Products.DCWorkflowGraph
uuid
# Probably not worth the effort (used for backuping multi-ZODB instances and has
# been discouraged for many years over NEO)
Products.TIDStorage
## Python < 3.5
typing
## tracemalloc is now part of Python 3.4!
pytracemalloc
## XXX: The following eggs have no support for Python 3. Ignore for now.
ocropy
${ocropy:egg} ${ocropy:egg}
PyXML # fpconst
threadframe
suds
SOAPpy
fpconst
${scipy:egg} ${scipy:egg}
${scikit-learn:egg} ${scikit-learn:egg}
${scikit-image:egg} ${scikit-image:egg}
...@@ -116,7 +90,6 @@ eggs -= ...@@ -116,7 +90,6 @@ eggs -=
${statsmodels:egg} ${statsmodels:egg}
astor astor
jupyter jupyter
# explicit eggs to generate scripts from them
jupyter_client jupyter_client
jupyter_console jupyter_console
jupyter_core jupyter_core
...@@ -125,86 +98,58 @@ eggs -= ...@@ -125,86 +98,58 @@ eggs -=
notebook notebook
# additional eggs # additional eggs
astor astor
${matplotlib:egg}
${scipy:egg}
${scikit-learn:egg}
${seaborn:egg} ${seaborn:egg}
${statsmodels:egg} ${statsmodels:egg}
patsy
${h5py:egg}
openpyxl
sympy
xlrd
# additional eggs for jupyterlab # additional eggs for jupyterlab
jupyterlab jupyterlab
jupyterlab-launcher jupyterlab-launcher
pytesseract pytesseract
[astroid]
patches =
[pylint]
patches=
setup-eggs = ${mccabe:egg}
[versions] [versions]
# zc.recipe.egg 2.0.7 (in versions.cfg) requires zc.buildout>=2.12.0, so let's
# revert to the version contained in stack/slapos.cfg
zc.recipe.egg = 2.0.3+slapos003
pyasn1-modules = 0.2.8 pyasn1-modules = 0.2.8
pyasn1 = 0.4.8 pyasn1 = 0.4.8
## Version up to support Python 3.8 google-api-python-client = 2.81.0
numpy = 1.16.6
pandas = 0.24.2
google-api-python-client = 2.41.0
zope.app.appsetup = 4.2.0
zope.app.publication = 4.5
# google-api-python-client version bump
uritemplate = 3.0.1
google-api-core = 2.7.1 google-api-core = 2.7.1
google-auth-httplib2 = 0.1.0 google-auth-httplib2 = 0.1.0
google-auth = 2.6.0 google-auth = 2.6.0
httplib2 = 0.15.0 httplib2 = 0.15.0
protobuf = 3.19.4 protobuf = 3.19.4
googleapis-common-protos = 1.55.0 googleapis-common-protos = 1.55.0
cachetools = 5.0.0 scipy = 1.8.1
## XXX: No version of scipy is both compatible with Python 2.7 and 3.7
scipy = 1.5.2
#scikit-learn = 0.20.4 #scikit-learn = 0.20.4
statsmodels = 0.10.2 statsmodels = 0.10.2
pyzmq = 19.0.2 pyzmq = 19.0.2
PyStemmer = 2.0.1
python-ldap = 3.1.0 python-ldap = 3.1.0
ipython = 7.31.1 #mysqlclient = 2.0.1
mccabe = 0.6 #polib = 1.2.0
setuptools-scm = 7.0.5
packaging = 20.4
typing-extensions = 4.3.0:whl
tomli = 2.0.1:whl
lazy-object-proxy = 1.4.3
isort = 4.2.5
astroid = 2.4.0
wrapt = 1.11
typed-ast = 1.4.0
jedi = 0.16.0
parso = 0.5.2
mysqlclient = 2.0.1
polib = 1.1.0
# testrunner
pexpect = 4.8.0
matplotlib-inline = 0.1.3 matplotlib-inline = 0.1.3
backcall = 0.2.0 #prompt-toolkit = 3.0.27
prompt-toolkit = 3.0.27
# 2to3 fixers to port code to python3
zope.fixers = 1.1.2
SOAPpy-py3 = 0.52.26 SOAPpy-py3 = 0.52.26
defusedxml = 0.7.1 defusedxml = 0.7.1
suds-py3 = 1.4.5.0 suds-py3 = 1.4.5.0
wstools-py3 = 0.54.4 wstools-py3 = 0.54.4
toml = 0.10.2
soupsieve = 2.3.2.post1:whl soupsieve = 2.3.2.post1:whl
pylint = 2.6.0 # WIP pylint
[versions]
pylint = 2.17.0:whl
mccabe = 0.7.0:whl
tomli = 2.0.1:whl
lazy-object-proxy = 1.4.3
isort = 4.2.5
astroid = 2.15.0:whl
wrapt = 1.11
typed-ast = 1.4.0
tomlkit = 0.11.6
platformdirs = 3.1.1:whl
dill = 0.3.6:whl
[erp5]
repository = https://lab.nexedi.com/nexedi/erp5.git
branch = zope4py3
develop = true
...@@ -344,8 +344,10 @@ wcfs-enable-default = false ...@@ -344,8 +344,10 @@ wcfs-enable-default = false
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/erp5.git repository = https://lab.nexedi.com/nexedi/erp5.git
branch = master branch = master
develop = true
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
[testrunner] [testrunner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not # XXX: Workaround for fact ERP5Type is not an distribution and does not
# expose entry point for test runner # expose entry point for test runner
...@@ -502,7 +504,6 @@ eggs += ...@@ -502,7 +504,6 @@ eggs +=
ipython_genutils ipython_genutils
ipykernel ipykernel
ipywidgets ipywidgets
requests
[egg-with-zope-proxy] [egg-with-zope-proxy]
...@@ -519,13 +520,15 @@ setup-eggs += ...@@ -519,13 +520,15 @@ setup-eggs +=
[eggs] [eggs]
<= neoppod <= neoppod
eggs = ${neoppod:eggs} eggs =
${erp5-eggs-python2:eggs}
${erp5-eggs-python3:eggs}
${neoppod:eggs}
${caucase-eggs:eggs} ${caucase-eggs:eggs}
${wendelin.core:egg} ${wendelin.core:egg}
${numpy:egg} ${numpy:egg}
${matplotlib:egg} ${matplotlib:egg}
${lxml-python:egg} ${lxml-python:egg}
${ocropy:egg}
${pandas:egg} ${pandas:egg}
${pillow-python:egg} ${pillow-python:egg}
${python-ldap-python:egg} ${python-ldap-python:egg}
...@@ -547,14 +550,12 @@ eggs = ${neoppod:eggs} ...@@ -547,14 +550,12 @@ eggs = ${neoppod:eggs}
astor astor
APacheDEX APacheDEX
Pympler Pympler
SOAPpy
chardet chardet
collective.recipe.template collective.recipe.template
erp5diff erp5diff
interval interval
ipdb ipdb
Jinja2 Jinja2
jsonschema
mechanize mechanize
oauthlib oauthlib
objgraph objgraph
...@@ -570,7 +571,6 @@ eggs = ${neoppod:eggs} ...@@ -570,7 +571,6 @@ eggs = ${neoppod:eggs}
requests requests
responses responses
urlnorm urlnorm
uuid
xml_marshaller xml_marshaller
xupdate_processor xupdate_processor
feedparser feedparser
...@@ -581,11 +581,9 @@ eggs = ${neoppod:eggs} ...@@ -581,11 +581,9 @@ eggs = ${neoppod:eggs}
qrcode qrcode
spyne spyne
httplib2 httplib2
suds
pprofile pprofile
pycountry pycountry
xfw xfw
jsonschema
${selenium:egg} ${selenium:egg}
pytesseract pytesseract
decorator decorator
...@@ -595,10 +593,6 @@ eggs = ${neoppod:eggs} ...@@ -595,10 +593,6 @@ eggs = ${neoppod:eggs}
${pylint:egg} ${pylint:egg}
jedi jedi
yapf yapf
typing
# Used for Python 2 only
${pytracemalloc:egg}
xlrd
pydot pydot
# Zope # Zope
...@@ -611,16 +605,10 @@ eggs = ${neoppod:eggs} ...@@ -611,16 +605,10 @@ eggs = ${neoppod:eggs}
# for runzeo # for runzeo
${ZEO:egg} ${ZEO:egg}
# Other Zope 2 packages
Products.PluggableAuthService
Products.DCWorkflow Products.DCWorkflow
Products.PluggableAuthService
# Other products
Products.MimetypesRegistry Products.MimetypesRegistry
Products.TIDStorage
# Currently forked in our repository
# Products.PortalTransforms
# Dependency for our fork of PortalTransforms # Dependency for our fork of PortalTransforms
StructuredText StructuredText
...@@ -655,11 +643,9 @@ eggs = ${neoppod:eggs} ...@@ -655,11 +643,9 @@ eggs = ${neoppod:eggs}
docutils docutils
zLOG zLOG
Products.ZSQLMethods Products.ZSQLMethods
ZServer
Products.ExternalMethod Products.ExternalMethod
Products.SiteErrorLog Products.SiteErrorLog
tempstorage tempstorage
Products.DCWorkflow
Products.Sessions Products.Sessions
Products.ZODBMountPoint Products.ZODBMountPoint
Record Record
...@@ -699,6 +685,11 @@ python-magic-patches = ${:_profile_base_location_}/../../component/egg-patch/pyt ...@@ -699,6 +685,11 @@ python-magic-patches = ${:_profile_base_location_}/../../component/egg-patch/pyt
python-magic-patch-options = -p1 python-magic-patch-options = -p1
urlnorm-patches = ${:_profile_base_location_}/../../component/egg-patch/urlnorm/urlnorm-1.1.4-py3.patch#5ef268fb44cbc005b62140099c33b641 urlnorm-patches = ${:_profile_base_location_}/../../component/egg-patch/urlnorm/urlnorm-1.1.4-py3.patch#5ef268fb44cbc005b62140099c33b641
urlnorm-patch-options = -p1 urlnorm-patch-options = -p1
Zope-patches =
${:_profile_base_location_}/../../component/egg-patch/Zope/0001-WSGIPublisher-set-REMOTE_USER-even-in-case-of-error-.patch#a437f4da28975f94dd07db0b02954111
Zope-patch-options = -p1
[eggs:python2]
# backported security patches for waitress-1.4.4 from Debian 1.4.4-1.1+deb11u1 package. # backported security patches for waitress-1.4.4 from Debian 1.4.4-1.1+deb11u1 package.
waitress-patches = waitress-patches =
${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-1.patch#a0508880f24662e48a20ce3bcbf440c2 ${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-1.patch#a0508880f24662e48a20ce3bcbf440c2
...@@ -708,9 +699,30 @@ waitress-patches = ...@@ -708,9 +699,30 @@ waitress-patches =
${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-5.patch#ad2765822397cd1e28e02a68a52d7768 ${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-5.patch#ad2765822397cd1e28e02a68a52d7768
${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-6.patch#85fc9c4105eabee3ff71c800b2ddf63b ${:_profile_base_location_}/../../component/egg-patch/waitress/CVE-2022-24761-6.patch#85fc9c4105eabee3ff71c800b2ddf63b
waitress-patch-options = -p1 waitress-patch-options = -p1
Zope-patches =
${:_profile_base_location_}/../../component/egg-patch/Zope/0001-WSGIPublisher-set-REMOTE_USER-even-in-case-of-error-.patch#a437f4da28975f94dd07db0b02954111 # python version dependent eggs
Zope-patch-options = -p1 [erp5-eggs-python2]
eggs =
[erp5-eggs-python2:python2]
eggs =
${ocropy:egg}
ZServer
Products.TIDStorage
pytracemalloc
SOAPpy
suds
typing
uuid
xlrd
[erp5-eggs-python3]
eggs =
SOAPpy-py3
suds-py3
[erp5-eggs-python3:python2]
eggs =
# neoppod installs bin/coverage so we inject erp5 plugin here so that coverage script can use it in report # neoppod installs bin/coverage so we inject erp5 plugin here so that coverage script can use it in report
[neoppod] [neoppod]
...@@ -749,20 +761,17 @@ PyPDF2 = 1.26.0+SlapOSPatched002 ...@@ -749,20 +761,17 @@ PyPDF2 = 1.26.0+SlapOSPatched002
pysvn = 1.9.15+SlapOSPatched001 pysvn = 1.9.15+SlapOSPatched001
python-ldap = 2.4.32+SlapOSPatched001 python-ldap = 2.4.32+SlapOSPatched001
python-magic = 0.4.12+SlapOSPatched001 python-magic = 0.4.12+SlapOSPatched001
waitress = 1.4.4+SlapOSPatched006
Zope = 4.8.9+SlapOSPatched001 Zope = 4.8.9+SlapOSPatched001
## https://lab.nexedi.com/nexedi/slapos/merge_requests/648 ## https://lab.nexedi.com/nexedi/slapos/merge_requests/648
pylint = 1.4.4+SlapOSPatched002 pylint = 1.4.4+SlapOSPatched002
# astroid 1.4.1 breaks testDynamicClassGeneration # astroid 1.4.1 breaks testDynamicClassGeneration
astroid = 1.3.8+SlapOSPatched001 astroid = 1.3.8+SlapOSPatched001
# modified version that works fine for buildout installation
SOAPpy = 0.12.0nxd001
# Pinned versions # Pinned versions
alabaster = 0.7.12 alabaster = 0.7.12
APacheDEX = 1.8 APacheDEX = 1.8
arrow = 1.2.3
Beaker = 1.11.0 Beaker = 1.11.0
cloudpickle = 0.5.3 cloudpickle = 0.5.3
cookies = 2.2.1 cookies = 2.2.1
...@@ -774,7 +783,7 @@ erp5diff = 0.8.1.8 ...@@ -774,7 +783,7 @@ erp5diff = 0.8.1.8
facebook-sdk = 2.0.0 facebook-sdk = 2.0.0
five.formlib = 1.0.4 five.formlib = 1.0.4
fpconst = 0.7.2 fpconst = 0.7.2
future = 0.18.2 fqdn = 1.5.1
google-api-python-client = 1.6.1 google-api-python-client = 1.6.1
graphviz = 0.5.2 graphviz = 0.5.2
haufe.requestmonitoring = 0.6.0 haufe.requestmonitoring = 0.6.0
...@@ -783,8 +792,8 @@ httplib2 = 0.10.3 ...@@ -783,8 +792,8 @@ httplib2 = 0.10.3
huBarcode = 1.0.0 huBarcode = 1.0.0
interval = 1.0.0 interval = 1.0.0
ipdb = 0.10.2 ipdb = 0.10.2
isoduration = 20.11.0
jdcal = 1.3 jdcal = 1.3
jedi = 0.15.1
jsonpickle = 0.9.6 jsonpickle = 0.9.6
jsonpointer = 2.2 jsonpointer = 2.2
logilab-common = 1.3.0 logilab-common = 1.3.0
...@@ -794,16 +803,13 @@ mpmath = 0.19 ...@@ -794,16 +803,13 @@ mpmath = 0.19
munnel = 0.3 munnel = 0.3
networkx = 2.1 networkx = 2.1
nt-svcutils = 2.13.0 nt-svcutils = 2.13.0
numpy = 1.13.1
oauth2client = 4.0.0 oauth2client = 4.0.0
oauthlib = 3.1.0 oauthlib = 3.1.0
objgraph = 3.1.0 objgraph = 3.1.0
oic = 0.15.1 oic = 0.15.1
olefile = 0.44 olefile = 0.44
openpyxl = 2.4.8
parso = 0.5.1
Pillow = 6.2.2 Pillow = 6.2.2
polib = 1.0.8 polib = 1.2.0
pprofile = 2.0.4 pprofile = 2.0.4
Products.BTreeFolder2 = 4.4+SlapOSPatched001 Products.BTreeFolder2 = 4.4+SlapOSPatched001
Products.CMFCore = 2.7.0+SlapOSPatched001 Products.CMFCore = 2.7.0+SlapOSPatched001
...@@ -838,10 +844,12 @@ pytracemalloc = 1.2 ...@@ -838,10 +844,12 @@ pytracemalloc = 1.2
PyWavelets = 0.5.2 PyWavelets = 0.5.2
qrcode = 5.3 qrcode = 5.3
responses = 0.10.6 responses = 0.10.6
rfc3339-validator = 0.1.4
rfc3987 = 1.3.8 rfc3987 = 1.3.8
rsa = 3.4.2 rsa = 3.4.2
scikit-image = 0.14.0 scikit-image = 0.14.0
scipy = 0.19.0 scipy = 0.19.0
SOAPpy-py3 = 0.52.26
spyne = 2.12.14 spyne = 2.12.14
strict-rfc3339 = 0.7 strict-rfc3339 = 0.7
StructuredText = 2.11.1 StructuredText = 2.11.1
...@@ -849,10 +857,11 @@ suds = 0.4 ...@@ -849,10 +857,11 @@ suds = 0.4
toolz = 0.9.0 toolz = 0.9.0
typing = 3.10.0.0 typing = 3.10.0.0
unidiff = 0.5.5 unidiff = 0.5.5
uri-template = 1.2.0
urlnorm = 1.1.4+SlapOSPatched001 urlnorm = 1.1.4+SlapOSPatched001
uuid = 1.30 uuid = 1.30
validictory = 1.1.0 validictory = 1.1.0
webcolors = 1.10 webcolors = 1.12
webencodings = 0.5.1 webencodings = 0.5.1
WebOb = 1.8.5 WebOb = 1.8.5
WebTest = 2.0.33 WebTest = 2.0.33
...@@ -878,4 +887,14 @@ zope.session = 4.5 ...@@ -878,4 +887,14 @@ zope.session = 4.5
zope.testbrowser = 5.5.1 zope.testbrowser = 5.5.1
[versions:python2] [versions:python2]
ipython = 5.3.0
jedi = 0.15.1
numpy = 1.13.1
ocropy = 1.0+SlapOSPatched001
openpyxl = 2.4.8
parso = 0.5.1
prompt-toolkit = 1.0.13
PyStemmer = 1.3.0 PyStemmer = 1.3.0
SOAPpy = 0.12.0nxd001
waitress = 1.4.4+SlapOSPatched006
webcolors = 1.10
...@@ -74,7 +74,7 @@ md5sum = 3f7b28085ceff321a3cb785db60f7c3e ...@@ -74,7 +74,7 @@ md5sum = 3f7b28085ceff321a3cb785db60f7c3e
[template-erp5] [template-erp5]
filename = instance-erp5.cfg.in filename = instance-erp5.cfg.in
md5sum = 2cecadd50525f2c517fb19bd82a8d3e7 md5sum = 55af2fba884e66927599cc8e4c241fb7
[template-zeo] [template-zeo]
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
......
...@@ -201,7 +201,7 @@ config-zodb-dict = {{ dumps(zodb_dict) }} ...@@ -201,7 +201,7 @@ config-zodb-dict = {{ dumps(zodb_dict) }}
{% for server_type, server_dict in six.iteritems(storage_dict) -%} {% for server_type, server_dict in six.iteritems(storage_dict) -%}
{% if server_type == 'neo' -%} {% if server_type == 'neo' -%}
config-neo-cluster = ${publish-early:neo-cluster} config-neo-cluster = ${publish-early:neo-cluster}
config-neo-name = {{ server_dict.keys()[0] }} config-neo-name = {{ list(server_dict.keys())[0] }}
config-neo-masters = ${publish-early:neo-masters} config-neo-masters = ${publish-early:neo-masters}
{% else -%} {% else -%}
config-zodb-zeo = ${request-zodb:connection-storage-dict} config-zodb-zeo = ${request-zodb:connection-storage-dict}
......
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