Adding `interpreter_constraints` to some tool conf...
# general
r
Adding
interpreter_constraints
to some tool config sections in
pants.toml
results in the following error only in macOS, not Linux (a self-built version) -- where both platform uses 2.12.0 and pex 2.1.99. Am I missing something...?:
1
h
Yeah, not all tools register the
--interpreter-constraints
option. Not sure why, @hundreds-father-404 do you recall why this is optional and not standard for every tool? But very surprising that linux doesn't error too.
👀 1
h
Because some tools use the ICs of the code they run, which impacts the behavior. Running Flake8 w/ Python 2 results in different behavior than running w/ Python 3. So, Pants runs w/ the code's constraints, rather than an option