brash-baker-91190
10/28/2021, 5:19 PMTraceback (most recent call last):
File "/home/maier/.cache/pants/setup/bootstrap-Linux-x86_64/2.8.0rc0_py37/lib/python3.7/site-packages/pants/engine/internals/selectors.py", line 711, in native_engine_generator_send
res = func.send(arg)
File "/home/maier/.cache/pants/setup/bootstrap-Linux-x86_64/2.8.0rc0_py37/lib/python3.7/site-packages/pants/backend/python/util_rules/pex.py", line 441, in build_pex
resolve_name,
File "/home/maier/.cache/pants/setup/bootstrap-Linux-x86_64/2.8.0rc0_py37/lib/python3.7/site-packages/pants/backend/python/util_rules/lockfile_metadata.py", line 126, in from_lockfile
concrete_class = _concrete_metadata_classes[metadata["version"]]
KeyError: 'version'
This is when I'm trying to run ./pants update-build-files
to update things. Has anyone run into this before?fast-nail-55400
10/28/2021, 5:30 PMbrash-baker-91190
10/28/2021, 5:32 PMfast-nail-55400
10/28/2021, 5:37 PMpython_library
but did not reproduce the error. So knowing what is configured will help.)brash-baker-91190
10/28/2021, 5:48 PMfast-nail-55400
10/28/2021, 5:53 PMversion
key into the lockfiles and 2.8.x expects it to be thereversion
key is not present in the lockfile metadata./pants generate-lockfiles
version
key in the metadatabrash-baker-91190
10/28/2021, 5:59 PMfast-nail-55400
10/28/2021, 6:01 PMhundreds-father-404
10/28/2021, 6:02 PMancient-vegetable-10556
10/28/2021, 6:02 PMbrash-baker-91190
10/28/2021, 6:05 PMfast-nail-55400
10/28/2021, 6:08 PMancient-vegetable-10556
10/28/2021, 6:09 PMfast-nail-55400
10/28/2021, 6:09 PMversion: 1
hundreds-father-404
10/28/2021, 6:10 PMversion
mechanism was added in 2.7.0rc3 because we wanted it before stabilizing tool lockfilesancient-vegetable-10556
10/28/2021, 6:12 PM