I'm running into a pretty basic issue, maybe I mis...
# general
s
I'm running into a pretty basic issue, maybe I misunderstand the intended usage: When I add
run_against_entire_lockfile = true
to the
pants.toml
, it seems like
pants run <myfile.py>
ends up opening an InteractiveConsole instead of running the python file. If I set to false, then using pants run does run the binary. I can repro this on the https://github.com/pantsbuild/example-python repo, by adding the above and then trying to run
pants run helloworld/main.py
.To note, if I add a pex_binary, I can run that successfully with run_against_entire_lockfile = true.
1
b
This was fixed recently.
Lots of cherry picks, so there's likely a version of Pants that has your fix in it
s
ah got it, thanks! 2.15.0 and 2.14.0 don't seem to have it, let me try some other versions
b
2.15.1rc1
and
2.14.2rc1
respectively
s
ah cool cool, 🙏