thousands-needle-6460
08/30/2023, 7:25 PMpython_source(name="abc_module",source="/path/to/abc_service.py") - target
2. create a pex binary using pex_binary(name="abc",dependencies=":abc_module")
3. run the binary using shell_command(name="run_abc",command="pants run project:abc",tools=["pants"])
However, this gives the following error:
192536.03 [INFO] Completed: Running theatshell_commandproject:run_abc
192536.04 [ERROR] 1 Exception encountered:
Engine traceback:
ingoaltest
ProcessExecutionFailure: Process ‘theat `project:run_abc`’ failed with exit code 1.shell_command
stdout:
Would you like to configure /tmp/pants-sandbox-CZRboR/pants as a Pants project? (Y/n):
stderr:
No Pants configuration was found at or above /tmp/pants-sandbox-CZRboR/project.Thanks. 👋
enough-analyst-54434
08/30/2023, 7:46 PMthousands-needle-6460
08/31/2023, 4:23 AM