-
Notifications
You must be signed in to change notification settings - Fork 153
Environment paths with pip options are not supported #3674
Copy link
Copy link
Closed
Labels
DABsDABs related issuesDABs related issues
Description
Describe the issue
DABs does not currently support environment paths with pip options. This appears to be due to a problem with relative path handling.
As an example, a pipeline with an environment like
environment:
dependencies:
- "-e .."
is currently evaluated as
environment:
dependencies:
- "/Workspace/Path/to/files/-e .."
The same applies to environments with jobs.
See #3671 (comment) for an example use case of -e.
Workaround
The CLI does currently have special handling for double-dash options, which disables any relative path handling. So a workaround is to use
environment:
dependencies:
- "--editable ${workspace.file_path}"
which will result in
environment:
dependencies:
- "--editable /Workspace/Path/to/files"
Configuration
CLI 0.270.0
Is this a regression?
This is not a regression; this has never worked.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DABsDABs related issuesDABs related issues