straight-alligator-54644
05/01/2023, 7:10 PMrun_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.bitter-ability-32190
05/01/2023, 7:38 PMbitter-ability-32190
05/01/2023, 7:38 PMbitter-ability-32190
05/01/2023, 7:38 PMstraight-alligator-54644
05/01/2023, 7:43 PMbitter-ability-32190
05/01/2023, 7:44 PMbitter-ability-32190
05/01/2023, 7:45 PM2.15.1rc1
and 2.14.2rc1
respectivelystraight-alligator-54644
05/01/2023, 7:46 PM