Collective.z3cform.datagridfield Plone 5.2 / Python 3 support

Have any of you been able to use collective.z3cform.datagridfield recently? I am running into a "unknown directive widgetTemplate" with both Python 2 and 3 on the most recent 1.5.1 and 1.5.2dev0

I'm looking at you @pbauer and @agitator :slight_smile:

We are using version 1.5.1 in Plone 5.2 and python 3.7 without issues.

We're currently using the branch from https://github.com/collective/collective.z3cform.datagridfield/pull/88 without problems on 5.2 and 5.2.1 in py3.

I'm seeing this with the master branch. I'll try the other one next.

Here's the buildout.cfg I created:

[buildout]
extends =
    test-5.2.x.cfg

parts +=
    omelette
    scripts

[omelette]
recipe = collective.recipe.omelette
eggs =
    ${instance:eggs}
    ${test:eggs}
packages = ${instance:location}/lib/python ./

[scripts]
recipe = zc.recipe.egg
eggs = zest.releaser

Here's the test-5.2.x.cfg I created:

[buildout]
extends =
    https://raw.github.com/collective/buildout.plonetest/master/test-5.2.x.cfg
    test-base.cfg

[versions]
PyYAML = 4.2b1

I get a mismatched pkginfo pin, which needs to be updated to 1.4.2,

    Version and requirements information containing pkginfo:
      [versions] constraint on pkginfo: 1.4.1
      Requirement of twine>=1.6.0: pkginfo>=1.4.2

but after that buildout runs ok. (with Python 2.7 and 3.7). However, starting the instance still gets me the widgetTemplate error.

With the branch duplicated_row I still have to remove the pkginfo = 1.4.1 pin for buildout to complete, and am still getting the 'Unknown directive', u'http://namespaces.zope.org/z3c', u'widgetTemplate' error.

Plone Foundation Code of Conduct