<#18354 TypeError: __init__() got an unexpected ke...
# github-notifications
q
#18354 TypeError: __init__() got an unexpected keyword argument 'platform' Issue created by reven33 Describe the bug I have some protobuf go changes in PR and the PR checks failed because of the error below. Does anyone know how to fix it? Really appreciate. Run ./pants proto-compile Bootstrapping Pants using /opt/hostedtoolcache/Python/3.9.16/x64/bin/python3.9 Creating the virtualenv PEX. Downloading the Pex PEX. SHA256 fingerprint of https://github.com/pantsbuild/pex/releases/download/v2.1.103/pex verified. Installing pantsbuild.pants==2.15.0rc7 into a virtual environment at /home/runner/.cache/pants/setup/bootstrap-Linux-x86_64/2.15.0rc7_py39 New virtual environment successfully created at /home/runner/.cache/pants/setup/bootstrap-Linux-x86_64/2.15.0rc7_py39. 174041.22 [INFO] Initialization options changed: reinitializing scheduler... 174042.65 [INFO] Scheduler initialized. Error: 5.17 [ERROR] 1 Exception encountered: Engine traceback: in
proto-compile
goal TypeError: *init*() got an unexpected keyword argument 'platform' Error: Process completed with exit code 1. Pants version Which version of Pants are you using? 2.15.0rc7 OS Are you encountering the bug on MacOS, Linux, or both? The issue happens in github build &release step Additional info Add any other information about the problem here, such as attachments or links to gists, if relevant. pantsbuild/pants