python-3.x - 如何在 python3 中使用 Mercurial 的 Buildbot 钩子?
问题描述
我正在使用此buildbot 挂钩将有关 HG 存储库变更集的信息发送到 Buildmaster(构建服务器),并且该设置适用于 python2。现在我正在将Buildbot升级到2.0.1版本,它只支持python3.5+,并且HG(hook)上的Buildbot版本应该与Build server(master和worker)的版本相同;我的问题是:
如何
mercurial
在 Buildbot 2.0.1(python 3.5+)的钩子中使用 python 模块-当 mercurialmodule is not supported by
python3`设置是否
[hgbuildbot] venv = /home/buildbot/.virtualenvs/builtbot/lib/python3.5/sitepackages
足以确保钩子在带有 python3 的virutalenv 中运行
更新:我的第二个问题的答案是肯定的,用 python2 虚拟环境测试。
解决方案
推荐阅读
- java - 如何在 JOOQ 3.11 中从 JSONB 转换
- lxd - LXD:“默认”存储池不存在
- angular - 如何在 Angular 中重新执行订阅的 Observable
- dynamic-memory-allocation - 动态使用 zlib deflateBound()
- php - “如何修复”语法错误,意外 T_CONSTANT_ENCAPSED_STRING,期待 T_STRING
- java - 使用 javafx 播放视频的正确编码是什么
- assembly - moffs16/32 的段基础
- reactjs - 在 ubuntu vps 上启动 nginx 服务时出错
- java - 如何使用 jbenchx 更改我的 rsa 密钥大小加密的 int
- python - 如何让 timedelta64[ns] 与 pandas astype() 一起将多列转换为不同的 dtype