https://pantsbuild.org/ logo
#development
Title
# development
f

fast-nail-55400

07/08/2022, 7:46 PM
inconsistent deprecation messaging with
use_deprecated_pex_binary_run_semantics
. With Pants v2.13.0a1, not having the config prints out:
Copy code
To fix this deprecation, explictly set `use_deprecated_pex_binary_run_semantics` in the `[GLOBAL]` section of `pants.toml`. Set it to `true` to use the "old" behavior. Set it to `false` to use the "new" behavior.
Setting it to false then causes a message to appear suggesting to remove the config option:
Copy code
If `use_deprecated_pex_binary_run_semantics` is already set explicitly to `false`, simply delete the option from `pants.toml` because `false` is now the default.

If set to `true`, removing the option will cause `run` on a `pex_binary` to package and run the built PEX file. Additionally, the `pex_binary` must be referred to by its address. To keep the old `run` semantics, use `run` on the relevant `python_source` target.
b

bitter-ability-32190

07/09/2022, 10:21 AM
3 Views