Offline mode unable to install eggs from dist/site-plone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Confirmed
|
Undecided
|
Sidnei da Silva |
Bug Description
When run in offline mode, buildout will issue a cryptic message and die if a dependency is unavailable -- even if there is a matching egg in download/dist or python's site-packages. (The error message is the subject of #229678.)
Ideally, buildout in offline mode should go ahead and install an egg that's available from one one of those locations. I'd particularly like to be able to do that so that I can distribute a buildout with eggs in download/dist for the Plone installers (so that the pyc files get compiled with the right locations).
Patch against zc.buildout 1.1.1:
Macintosh-
789a790
> dest = self['buildout'
791d791
< dest = None
794d793
< dest = self['buildout'
880a880
> dest = buildout_
882d881
< dest = None
887d885
< dest = buildout_
Against zc.recipe.egg 1.1.0:
Macintosh-2:egg steve$ diff egg.py.1.1.0 egg.py
73,75c73,76
< ws = zc.buildout.
< distributions, options[
< [options[
---
> ws = zc.buildout.
> distributions, options[
> executable = options[
> path=[options[
Thanks!
Changed in zc.buildout: | |
assignee: | nobody → Sidnei da Silva (sidnei) |
status: | New → Confirmed |
I face the same problem: when trying to install MySQL-python driver.
In my setup, MySQL-python tarball is placed in download-cache. Buildbot, in offline mode, finds the tarball, and builds an egg from it successfully. It then fails to install it, because the dest argument to easy_install. install( ) is is None in various places.