early-twilight-26336
08/01/2024, 5:58 PMpants run 3rdparty/python:common#bentoml
just fine, however the trouble is that I need another Python dependency present as well (fs-gcsfs
), which bentoml
doesn't explicitly depend on. Is there some way I can include that dependency, or force Pants to do so?
๐งตearly-twilight-26336
08/01/2024, 6:00 PMpex_binary(
name="bentoml_gcs",
dependencies=[
"3rdparty/python:common#bentoml",
"3rdparty/python:common#fs-gcsfs",
],
executable=("bentoml"),
)
but this gives me
โฏ pants run libs/shared:bentoml_gcs
13:54:33.34 [INFO] Preserving local process execution dir /private/var/folders/z2/877msnyx3qx5bt51vqmgmk540000gq/T/pants-sandbox-M7OxU3 for Building 2 requirements for libs.shared/bentoml_gcs.pex from the 3rdparty/python/default.lock resolve: bentoml==1.2.7, fs-gcsfs@ git+<https://github.com/dvgica/gcsfs@e7d97373280f551722dfe9d81cfe1f9895a05603>
13:54:33.34 [INFO] Completed: Building 2 requirements for libs.shared/bentoml_gcs.pex from the 3rdparty/python/default.lock resolve: bentoml==1.2.7, fs-gcsfs@ git+<https://github.com/dvgica/gcsfs@e7d97373280f551722dfe9d81cfe1f9895a>... (5 characters truncated)
13:54:33.34 [ERROR] 1 Exception encountered:
Engine traceback:
in `run` goal
ProcessExecutionFailure: Process 'Building 2 requirements for libs.shared/bentoml_gcs.pex from the 3rdparty/python/default.lock resolve: bentoml==1.2.7, fs-gcsfs@ git+<https://github.com/dvgica/gcsfs@e7d97373280f551722dfe9d81cfe1f9895a05603>' failed with exit code 1.
stdout:
stderr:
[Errno 2] No such file or directory: '/private/var/folders/z2/877msnyx3qx5bt51vqmgmk540000gq/T/pants-sandbox-M7OxU3/.tmp/tmpxbm86qok/__pex_executable__.py'
which is a bit mysteriousearly-twilight-26336
08/01/2024, 6:01 PMscript
not executable
๐คฆwide-midnight-78598
08/01/2024, 6:01 PM