5d6310f28c
Lint & Test / test (push) Successful in 3m31s
Chaquopy's pip --find-links argument was built with a hard-coded "file:///" prefix plus rootDir.absolutePath. That works on Windows (paths start with "C:/...", so prefix + path produces three slashes after "file:") but breaks on Linux (paths start with "/workspace/...", so prefix + path produces four slashes — pip then parses "workspace" as the URL's hostname and aborts with "ValueError: non-local file URIs are not supported on this platform". Pick the prefix based on whether the absolute path already starts with "/", so we always end up with exactly three slashes between "file:" and the drive letter or root.