Docs builds are using the host python when buildtools are required and failing like this. subprocess.run(["git", "show", "yocto-%s" % release_series[activereleases[0]]], capture_output=True, check=True) File "/usr/lib64/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: TypeError: __init__() got an unexpected keyword argument 'capture_output' From: https://valkyrie.yoctoproject.org/#/builders/34/builds/86 https://valkyrie.yoctoproject.org/#/builders/34/builds/68 We could exclude older workers from docs builds or alter the build to make sure buildtools is used.
May be able to fix code to use older python syntax.
Fixed by commit: https://git.yoctoproject.org/yocto-docs/commit/?id=28850c974a3896895bc921c094071523218d6d07. As suggested, I changed the calls to make them backward-compatible. Closing!