twcook
(Timothy W Cook)
October 28, 2018, 10:19am
1
I haven't used Plone in awhile. I think since around 2003.
Browsing/searching the forums here I cannot tell if Plone 5 supports add-on development in Python3.x
I do see where it's being considered but no actual status messages.
What is the current status of Python 3.6/3.7 support for developing addons for Plone 5?
tmassman
(Thomas Massmann #BlackLivesMatter)
October 28, 2018, 10:37am
2
Please see Porting Plone to Python 3 for details. In short: not yet in an official release.
twcook
(Timothy W Cook)
October 28, 2018, 11:00am
3
Great.
So if I want to play with the bleeding edge which branch should I check out?
pbauer
(Philip Bauer)
October 28, 2018, 12:31pm
4
Use branch 5.2 of https://github.com/plone/buildout.coredev . Add a local.cfg
and in that add the addon you want to migrate like this example:
[buildout]
extends = buildout-py3.cfg
custom-eggs += collective.easyform
test-eggs += collective.easyform [test]
auto-checkout += collective.easyform
[sources]
collective.easyform = git git@github.com:collective/collective.easyform.git branch=python3
Run buildout with
$ python3.7 -m venv .
$ ./bin/pip install -r requirements.txt
$ ./bin/buildout -c local.cfg
Start Plone with ./bin/wsgi
or run tests with ./bin/test -s collective.easyform
2 Likes
1letter
(Jan)
October 29, 2018, 11:32am
5
small typo, it should be:
./bin/buildout -c local.cfg