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
❯ echo "/../test" | uv pip compile -
thread 'main' panicked at crates/pep508-rs/src/verbatim_url.rs:81:42:
path is absolute: Custom { kind: InvalidInput, error: "cannot normalize a relative path beyond the base directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
We should throw a better error message here instead of panicking
The text was updated successfully, but these errors were encountered:
## Summary
Closes#3715.
## Test Plan
```
❯ echo "/../test" | cargo run pip compile -
error: Couldn't parse requirement in `-` at position 0
Caused by: path could not be normalized: /../test
/../test
^^^^^^^^
❯ echo "-e /../test" | cargo run pip compile -
error: Invalid URL in `-`: `/../test`
Caused by: path could not be normalized: /../test
Caused by: cannot normalize a relative path beyond the base directory
```
We should throw a better error message here instead of panicking
The text was updated successfully, but these errors were encountered: