https://pantsbuild.org/ logo
#general
Title
# general
r

rhythmic-morning-87313

07/21/2022, 12:25 PM
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

happy-kitchen-89482

07/24/2022, 5:08 PM
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

hundreds-father-404

07/25/2022, 2:48 PM
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
4 Views