-
-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use adhoc_tool with workspace #21815
Comments
Thanks for the detailed bug report and example repo! Is there prior version of Pants this example does work with? |
|
I confirmed that the bug still exists with Pants v2.25.0a1. |
Also, the bug probably occurs because the workspace environment breaks the assumption that the materialized inputs and the working directory for the execution are the same. So any relative paths will break unless prefixed by the |
Describe the bug
Attempts to run a target with adhoc_tool with
environment="__local_workspace__"
crash.Error:
Pants version
2.24.0.rc0
OS
Just checked MacOS.
Additional info
Minimal example: https://github.com/mnowotnik/pants-poc
The text was updated successfully, but these errors were encountered: