Collective.contact.core

I am trying to get this to work on plone 6.0.14, but am getting an error:

ImportError: cannot import name 'implements' from 'zope.interface' (/home/padmin/training/contact-test/backend/.venv/lib/python3.12/site-packages/zope/interface/init.py)

I have created a brand new project using cookieplone and did the usual make install, make backend-start.
This is working fine.
Now adding collective.contact.core to the mx.ini and instance.yaml and running make backend-build is running fine.
Then, I want to fire up the backend to make use of the contact addon and get the error.

Is this addon at all compatible with plone 6.0?
The features are exactly what I am looking for.

the classifiers in the setup.py say not compatible with Plone 6.

1 Like

Thanks Jan.
Did not know where to check for compatibility.

[UPDATE: I see (now) that the add-on is 'very old', so it will probably be much work to update it]

If that is the only error it should be easy to update it.

implements is now 'implementer', and you 'move it in front', something like:

from zope.interface import implementer

@implementer(ISomething)
class SomethingElse

I have seen some side efforts to make it plone 5 compatible. It seems the original author had abandoned the project.

Maybe I will check it later. For now, I am using the collective.person addon to have some of the required functionality.

There is a Python 3 / Plone 6 branch here : Commits · collective/collective.contact.core · GitHub

1 Like