How to pin version of recipe egg for a particular part

二次信任 提交于 2019-12-01 19:44:40

I just had the exact same problem, and solved it by uninstalling the python-zc.buildout Debian package which was installed on my machine with version 1.4.3.

You can pin any and all eggs (regardless of what they are used for) with a versions section. You have to explicitly declare such a section, but then it applies to recipe eggs as well:

[buildout]
... # Other options in the buildout section omitted
versions = versions

[versions]
zc.recipe.egg = 1.2.2

You can name the part that specifies version pins any way you want, but most people just name it versions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!