plone / bobtemplates.plone

Python Code Templates for Plone Projects with mr.bob
https://pypi.org/project/bobtemplates.plone/
GNU General Public License v2.0
24 stars 31 forks source link

package not used by buildout when creating a existing plone-package #94

Closed pbauer closed 9 years ago

pbauer commented 9 years ago

Steps to reproduce:

$ ./bin/mrbob -O plone.app.contenttypes bobtemplates:plone_addon
$ cd plone.app.contenttypes
$ virtualenv-2.7 .
$ ./bin/python bootstrap-buildout.py
$ ./bin/buildout

bin/instanceand bin/test now contain the '/Users/philip/.cache/buildout/eggs/plone.app.contenttypes-1.2b3-py2.7.egg', instead of the new egg.

Why is this a issue? I want to test the 4.3-compatible version of plone.app.contenttypes because I'm backporting some features (https://github.com/plone/plone.app.contenttypes/tree/backport). For this I modified to buildout to follow the best-practices of bobtemplates.plone.

But now (and I guess for quite some time travis and local tests always test the released version and the package itself is ignored. I had the same problem with plone.app.linkintegrity. The only way to get these instances to work is to use the coredev.

I remember that used to work at some point and cannot seem to figure out what is wrong. :cry:

pbauer commented 9 years ago

Found it! The version has to be unset like this:

[versions]
plone.app.contenttypes =