how to use Mercurial's Buildbot hook with python3?

127 Views Asked by At

I am using this buildbot hook to send information about HG repository changesets to Buildmaster(build server) and the setup works fine with python2. Now I am upgrading Buildbot to 2.0.1 version, which supports only python3.5+ and the Buildbot version on HG(hook) should be same as that of Build server(master and worker); My issues are:

  1. How to use mercurial python module in the hook with Buildbot 2.0.1(python 3.5+) - when mercurialmodule is not supported bypython3`

  2. is the setting [hgbuildbot] venv = /home/buildbot/.virtualenvs/builtbot/lib/python3.5/sitepackages enough to make sure the hook runs in virutalenv with python3

update: Answer to my second issue is yes, tested with python2 virtual environment.

0

There are 0 best solutions below