I've been looking at `./pants generate-lockfiles` ...
# general
c
I've been looking at
./pants generate-lockfiles
in v 2.12 and noticed that the lockfiles generated seem to have this "platform_tag" field in "locked_resolves". From what I can tell, this seems to be dependent on the machine that actually generated the lockfiles. This seems bad from a consistency POV. Is my understanding of this field correct? If so what is it's purpose?
h
Hi, this was removed in Pants 2.13 I believe. You can opt into that early by setting
version
and
known_versions
https://www.pantsbuild.org/docs/reference-pex-cli#section-version See https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/python/util_rules/pex_cli.py#L42 for most current values