cedarai/rules_pyvenv

Missing data dependencies

Closed this issue · 0 comments

Issue

The resulting virtual environment are missing data dependencies of the package.

When running the command pyre, a script within the pyre_check package invokes a binary that sits inside the data folder. However, this data folder is not included by the virtual environment created with this Bazel rules.

For example, @pip_pyre_check//:data/bin/pyre.bin is needed in order for pyre command to successfully run.

I think the fix here would be to include the data dependencies into the generated virtual environment.

➜ pyre
ƛ Invalid configuration: Cannot locate a Pyre binary to run.