Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Blinov
slapos
Commits
0353202a
Commit
0353202a
authored
Dec 05, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip: ERP5: new software release targeting Python 3
parent
7529eb90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
1 deletion
+61
-1
software/erp5/software-py3.cfg
software/erp5/software-py3.cfg
+3
-0
software/erp5/test/test/__init__.py
software/erp5/test/test/__init__.py
+4
-1
stack/erp5/buildout-py3.cfg
stack/erp5/buildout-py3.cfg
+54
-0
No files found.
software/erp5/software-py3.cfg
0 → 100644
View file @
0353202a
[buildout]
extends =
../../stack/erp5/buildout-py3.cfg
software/erp5/test/test/__init__.py
View file @
0353202a
...
@@ -28,11 +28,14 @@
...
@@ -28,11 +28,14 @@
import
json
import
json
import
os
import
os
import
six
from
slapos.testing.testcase
import
makeModuleSetUpAndTestCaseClass
from
slapos.testing.testcase
import
makeModuleSetUpAndTestCaseClass
setUpModule
,
SlapOSInstanceTestCase
=
makeModuleSetUpAndTestCaseClass
(
setUpModule
,
SlapOSInstanceTestCase
=
makeModuleSetUpAndTestCaseClass
(
os
.
path
.
abspath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
,
'..'
,
'software.cfg'
)))
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
,
'..'
,
'software%s.cfg'
%
(
"-py3"
if
six
.
PY3
else
""
))))
class
ERP5InstanceTestCase
(
SlapOSInstanceTestCase
):
class
ERP5InstanceTestCase
(
SlapOSInstanceTestCase
):
...
...
stack/erp5/buildout-py3.cfg
0 → 100644
View file @
0353202a
[buildout]
extends =
../../component/python3/buildout.cfg
buildout.cfg
# Exact version of Zope 4
versions.cfg
versions-prod.cfg
python = python3
# XXX: ignore for now
parts -=
# Require a version compatible with Py3 (also need to update patches)
rdiff-backup
# VVV No Py3 support VVV
ocropy
hookbox
# ^^^ No Py3 support ^^^
[rdiff-backup]
recipe =
[rdiff-backup-build]
recipe =
[ocropy]
recipe =
[hookbox]
recipe =
[eggs]
eggs -=
# tracemalloc is now part of Python 3.4!
pytracemalloc
# XXX: ignore for now
# VVV No Py3 support VVV
ocropy
${ocropy:egg}
PyXML
threadframe
suds
xupdate_processor
SOAPpy
fpconst
# ^^^ No Py3 support ^^^
[versions]
supervisor = 4.1.0
# zc.recipe.egg 2.0.7 requires zc.buildout>=2.12.0
# From buildout.cfg
zc.recipe.egg = 2.0.3+slapos003
pyasn1-modules = 0.2.7
pyasn1 = 0.4.8
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