0

我正在运行 buildout,并收到此错误:

Bad constraint 1.2 grokcore.security>=1.6.1

我很难找到>=1.6.1需求的来源。我在 buildout -vvvv 输出中查看了此错误之前出现的所有鸡蛋的所有 setup.py 文件,但无济于事。背景:我正在尝试创建一个新的构建来复制现有站点。我不能使用原始的构建,因为我需要将它集成到现有的生产安装中。但最初的构建使用 grokcore.security 1.2,到目前为止,在此过程中,我使用所有其他发行版的相同版本引脚,所以我不知道为什么会弹出这个 1.6.1,更糟糕的是,我不能不知道它在哪里设置。

有任何想法吗?

这是 buildout -vvvv 输出的尾部:

Getting required 'five.grok'
  required by plone.directives.dexterity 1.0.2.
Picked: five.grok = 1.3.1
Getting required 'zope.app.content==3.4.0'
We have the distribution that satisfies 'zope.app.content==3.4.0'.
Getting required 'plone.alterego'
  required by plone.dexterity 1.1.2.
Picked: plone.alterego = 1.0
Getting required 'plone.synchronize'
  required by plone.dexterity 1.1.2.
Picked: plone.synchronize = 1.0.1
Getting required 'rwproperty'
  required by plone.dexterity 1.1.2.
Picked: rwproperty = 1.0
Getting required 'z3c.relationfield>=0.4.2'
  required by plone.app.relationfield 1.2.0.
Picked: z3c.relationfield = 0.6.1
Getting required 'plone.app.intid'
  required by plone.app.relationfield 1.2.0.
Picked: plone.app.intid = 1.0.1
Getting required 'zope.password==3.5.1'
We have the distribution that satisfies 'zope.password==3.5.1'.
Getting required 'zope.app.dependable==3.4.0'
We have the distribution that satisfies 'zope.app.dependable==3.4.0'.
Getting required 'zope.app.debug==3.4.1'
We have the distribution that satisfies 'zope.app.debug==3.4.1'.
Getting required 'zope.app.appsetup==3.11'
We have the distribution that satisfies 'zope.app.appsetup==3.11'.
Getting required 'zope.app.basicskin==3.4.1'
We have the distribution that satisfies 'zope.app.basicskin==3.4.1'.
Getting required 'zope.browserresource==3.9.0'
We have the distribution that satisfies 'zope.browserresource==3.9.0'.
Getting required 'zope.app.interface==3.5.2'
We have the distribution that satisfies 'zope.app.interface==3.5.2'.
Getting required 'zope.browserpage==3.12.2'
We have the distribution that satisfies 'zope.browserpage==3.12.2'.
Getting required 'zope.hookable==3.4.1'
We have the distribution that satisfies 'zope.hookable==3.4.1'.
Getting required 'zope.app.security==3.7.3'
We have the distribution that satisfies 'zope.app.security==3.7.3'.
Getting required 'zope.app.authentication==3.6.1'
We have the distribution that satisfies 'zope.app.authentication==3.6.1'.
Getting required 'grokcore.viewlet==1.3'
We have the distribution that satisfies 'grokcore.viewlet==1.3'.
Getting required 'grokcore.view==1.12.2'
We have the distribution that satisfies 'grokcore.view==1.12.2'.
Getting required 'grokcore.site==1.1'
We have the distribution that satisfies 'grokcore.site==1.1'.
The constraint, 1.2, is not consistent with the requirement, 'grokcore.security>=1.6.1'.
While:
  Installing instance1.
Error: Bad constraint 1.2 grokcore.security>=1.6.1
4

1 回答 1

1

原来我错过了一个重要的版本别针:

five.grok = 1.1.1

因此,它得到了,它指定了infive.grok 1.3.1的要求,这不是我在寻找它的地方。grokcore.security>=1.6.1EGG-INFO/requires.txt

这是一个示例,其中更好的错误消息会使事情变得更容易。

于 2013-10-07T21:11:37.673 回答