Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

runbot_buildout uses deprecated bootstrap.py #200

Open
hbrunn opened this issue Jun 2, 2020 · 0 comments
Open

runbot_buildout uses deprecated bootstrap.py #200

hbrunn opened this issue Jun 2, 2020 · 0 comments

Comments

@hbrunn
Copy link
Member

hbrunn commented Jun 2, 2020

all of https://github.com/OCA/runbot-addons/blob/11.0/runbot_buildout/models/runbot_build.py#L237 and following is wrong, and will fail by now as the master branch of buildout deprecated the bootstrap script. (fast fix is to change master to 2.x)

The right thing to do here is pip install zc.buildout, and adapt https://github.com/OCA/runbot-addons/blob/11.0/runbot_buildout/models/runbot_build.py#L101 to call the buildout command in $PATH. This might involve having virtualenvs per build (very non-trivial I think), or make zc.buildout in both python versions a prerequisite of the module.

As the perpetrator of this miss I feel responsible for reporting it, but won't fix it myself as I'm on an extended leave. So I hope @NL66278 @janverb @thomaspaulb will come up with a fix :-)

@hbrunn hbrunn changed the title runbot_buildout runbot_buildout uses deprecated bootstrap.py Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant