Plone 5.2 upgrade guide

In case anyone is working on Plone 5.2 upgrades, the upgrade guide is not yet up on but can be found here:

Information on the Plone add-ons that are being migrated to Python 3:

Would it be an idea to document 'what common imports (etc)' to use while planning to upgrade add-ons for Python 3' ?

Without knowing too much about it, it looks to me that some add-ons use:
from plone.directives import form and then form.schema
while others use model.schema

and 'form.widget' have been imported from plone.directives and auto form (??)

Never import from plone.directives. It is deprecated.

Thanks Espen - I would think that someone would have started such a document already but I haven’t looked and I’m not aware of it. Maybe you could start one if you don’t find one.

… if I only know what was correct :wink:

I tried to find out 'where things have moved'.

plone.directives.form explains that widget and schema should be imported from plone.supermodel and plone.autoform, but I could not find out from where to import buttons (etc)

I found some Forms defined with:


is this available through another import, or what is the correct approach for porting these forms to 5.2 ?

plone.directives is gone, all directives are available from `plone.autoform.directivesorplone.supermodel.directives``.

Plone Foundation Code of Conduct