<#17695 `resolves_to_only_binary` does not accept ...
# github-notifications
q
#17695 `resolves_to_only_binary` does not accept `:all:` Issue created by tehwalris Describe the bug When setting
resolves_to_only_binary
in
pants.toml
the value
:all:
is not accepted. The doc says "For each resolve's value, you can use the value
:all:
to disable all source packages." Setting
resolves_to_only_binary = "{'python-default': [':all:']}"
gives:
Copy code
ValueError: Invalid requirement ':all:' in the option `[python].resolves_to_only_binary` for the resolve python-default: Parse error at "':all:'": Expected W:(0-9A-Za-z)
Setting
resolves_to_only_binary = "{'python-default': ':all:'}"
gives:
Copy code
ValueError: Invalid requirement ':' in the option `[python].resolves_to_only_binary` for the resolve python-default: Parse error at "':'": Expected W:(0-9A-Za-z)
Listing all my requirements manually instead of using
:all:
has the expected effect, but is inconvenient. Pants version 2.14.0 OS Only tested on MacOS 12.6 on an M1 Mac with Python 3.8.12 pantsbuild/pants
u