You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently started using pants v2. I tried using this extension to load some of the code and it doesn't even detect the codebase.
Looking into the code of the plugin, this is happening because this line is looking for a directory called pants, which doesn't exist. It also runs the binary directly (./pants instead of using the one in the path). The widgets don't seem to be working, hiding the error messages.
I cloned it locally and changed the code to get it to build, but still wasn't able to import it yet. However, it seems achievable with a few hours of work.
My question is: was this code abandoned by pants, or should I expect an update some time soon?
The text was updated successfully, but these errors were encountered:
The plugin does not work at all, but if anyone wants to run jupyter notebooks on their codebase, you can use the build rule below:
pex_binary(
name="notebook-name",
dependencies=[
# Whatever packages you want to import in your notebook.
],
script="jupyter-lab",
# This is important, otherwise you'll get all kinds of errors.
execution_mode="venv",
)
I recently started using pants v2. I tried using this extension to load some of the code and it doesn't even detect the codebase.
Looking into the code of the plugin, this is happening because this line is looking for a directory called pants, which doesn't exist. It also runs the binary directly (
./pants
instead of using the one in the path). The widgets don't seem to be working, hiding the error messages.I cloned it locally and changed the code to get it to build, but still wasn't able to import it yet. However, it seems achievable with a few hours of work.
My question is: was this code abandoned by pants, or should I expect an update some time soon?
The text was updated successfully, but these errors were encountered: