Buildout problem

I have a minimal buildout to illustrate my problem.

[buildout]
parts =
    instance

find-links =
    http://dist.plone.org/release/5.0-latest
    http://dist.plone.org/thirdparty

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080

eggs =
    Plone
    Pillow

The result of pip list:

pip (9.0.1)
pkg-resources (0.0.0)
setuptools (38.2.3)
wheel (0.30.0)
zc.buildout (2.9.5)

I want to install now.

$ buildout bootstrap
Setting socket time out to 3 seconds.
Creating directory '~/develop-eggs'.
Generated script '~/bin/buildout'.
$ bin/buildout 
Setting socket time out to 3 seconds.
Getting distribution for 'Record'.
Using unpack_wheel() shim over the deprecated wheel_to_egg() hook.
Please update your wheel extension implementation for one that installs a .whl
handler in zc.buildout.easy_install.UNPACKERS
While:
  Installing.
  Getting section instance.
  Initializing section instance.
  Installing recipe plone.recipe.zope2instance.
  Getting distribution for 'Record'.
Error: Wheels are not supported

I do not know how to come around this error. In "former times" buildout has downloaded a earlier version of buildout and restartet buildout. Now it starts to install wheels. What has changed and how to bypass this error?

I had the same problem recently in a travis build. Try using

setuptools==36.8.0

It's due to an update in setuptools: https://github.com/buildout/buildout/issues/425

1 Like

Maybe someone could be bothered with what to do (where to put this) or maybe update something (I think this happens with 'the latest installer'

No since the bugs are fixed in setuptools and zc.buildout, those are the versions working right now:

setuptools==38.2.4
zc.buildout==2.10.0

They should be added in a requirements.txt file and installed into a virtual environment with pip install -r requirements.txt.

1 Like