ZCML configuration conflict between Zope2 and another zope. * Package

I have a Plone add-on with the following setup.py

setup(
    ...
    install_requires=[
        ...
        'zope.i18n',
        ...
        'Zope2',
    ],
    ...
)

If I run bin/instance, I get the following trace:

  File ".buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts
    raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
  For: ('utility', <InterfaceClass zope.i18n.interfaces.INegotiator>, '')
    File ".buildout/eggs/zope.i18n-3.7.4-py2.7.egg/zope/i18n/configure.zcml", line 3.2-6.8
        <utility
            provides="zope.i18n.interfaces.INegotiator"
            component="zope.i18n.negotiator.negotiator"
            />
    File ".buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/i18n.zcml", line 5.2-8.8
        <utility 
            provides="zope.i18n.interfaces.INegotiator"
            component="zope.i18n.negotiator.negotiator"
            />

If I comment zope.i18nout setup.py, run buildout again, then the instance will start fine.

Surprisingly, both files bin/instance(before and after deletion zope.i18n) are exactly the same .

So, I didn’t seem to understand what was wrong in defining something on setup.py, that in any case the same version is selected ...

Last note, in the main distribution configure.zcmlI have this line:

<includeDependencies package="." />

Is this at all?

+4
1

??? , , ? . <includeDependencies package="." />, plone z3c.autoinclude. , plone .

Plone 4.3.6... Negotiator zope.i18n.

, , <includeDependencies package="." /> configure.zcml Zope2, .

<includeDependencies package="." /> .

+3

All Articles