plone/buildout.coredev

Version constraint conflict

Closed this issue · 2 comments

Since about yesterday I get a version constraint conflict, both when I bootstrap towards Pyhon 2 and Python3.

  Requirement of z3c.caching: zope.interface>=3.8.0
While:
  Installing instance.
Error: The requirement ('Zope>=4.1.2') is not allowed by your [versions] constraint (4.1.1)

All Jenkins 5.2 jobs are broken because of this.
See for example https://jenkins.plone.org/job/plone-5.2-python-2.7/305/console
In there, I see that Products.PythonScripts 5.0 now requires Zope 4.1.2.

An obvious thing to try it to change the coredev 5.2 versions.cfg to extend the Zope 4.1.2 versions.
But when I try this locally, I get:

Installing instance.
Version and requirements information containing docutils:
  [versions] constraint on docutils: 0.15.2
  Requirement of Products.CMFCore: docutils<0.15
  Requirement of plone.app.theming: docutils
  Requirement of Products.CMFCore>=2.4.0: docutils<0.15
  Requirement of Products.CMFCore>=2.4.0dev: docutils<0.15
  Requirement of Products.CMFCore>=2.1: docutils<0.15
While:
  Installing instance.
Error: The requirement ('docutils<0.15') is not allowed by your [versions] constraint (0.15.2)

Okay, when I leave the Zope version at 4.1.1 and instead comment out the checkout of Products.PythonScripts, the buildout finishes again.
Let me commit that so it is fixed for the moment, and let's try something better later.

Okay, it seems we can pin docutils to 0.14 on Python 2.7, and then it works. Let me try a PR.