mirror of https://github.com/astral-sh/uv
uv currently panics with a stack overflow when requirements or constraints are recursively included. Instead, we ignore files we have already seen. The one complexity here is that we have to track whether we're in a requirements inclusion or in a constraints inclusion, to allow including a file separately for requirements and for constraints, and to handle `-r` inside or `-c` (which we treat as constraints too). Fixes #15650 |
||
|---|---|---|
| .. | ||
| snapshots | ||
| lib.rs | ||
| requirement.rs | ||
| shquote.rs | ||