How can I disable dependency inference for Python:...
# general
How can I disable dependency inference for Python: A use case, I wanna launch a Python repl for interactive usage, I do not want any of my dependencies are missing and I do not want to create a virtualenv manually.
disabling dependency inference would make it so you have to manually specify all dependencies for all targets in your project, which doesn’t sounds like what you want
which will make it so all the 3rdparty requirements from your lockfile get loaded into the repl sandbox
Thanks! It is exactly what I need.
But I found it will launch a Python REPL, but not what I expect.
Finally, I use Pants macro to solve my problem: