Commit ddc553f4 authored by Arnaud Fontaine's avatar Arnaud Fontaine

RFC: genbt5list may depend on non-standard Python modules.

Until now it wasn't but with python3, import on future (not part of Python
library) means ${buildout:executable} is not enough. Anyhow, genbt5list should
be executed with all eggs IMO to avoid such problem.
parent eb5c6047
Pipeline #20231 failed with stage
in 0 seconds
......@@ -317,7 +317,7 @@ recipe = plone.recipe.command
stop-on-error = true
genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
command =
echo '${local-bt5-repository:list}' |xargs ${buildout:executable} ${:genbt5list}
echo '${local-bt5-repository:list}' |xargs ${eggs:bin-directory}/python ${:genbt5list}
update-command = ${:command}
[erp5_repository_list]
......
  • In erp5@7ef79ec5 we tried to keep using standard library only because developers often run this script directly.

    It seems that with erp5@7ef79ec5 we had a genbt5list working also for python3, but it's when using futurize in erp5@f01065f8 that we introduced the need for more packages installed on the python. Maybe we can tell tools to ignore this genbt5list ? or maybe we can generate a wrapper in slapos ?

    Edited by Jérome Perrin
  • mentioned in commit ab4d2346

    Toggle commit list
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment