@gorlitzer-labs/seldon 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/seldon.js +3 -1
- package/package.json +1 -1
package/bin/seldon.js
CHANGED
|
@@ -155,7 +155,9 @@ function installPython(m, dev) {
|
|
|
155
155
|
let ok;
|
|
156
156
|
const uv = ensureUv();
|
|
157
157
|
if (uv) {
|
|
158
|
-
const venvArgs = ["venv", venv];
|
|
158
|
+
const venvArgs = ["venv", venv, "--seed"]; // --seed puts pip in the venv:
|
|
159
|
+
// kokoro/misaki/spaCy shells out to pip at runtime to load its model, and a
|
|
160
|
+
// bare uv venv has none (crashes the voice on start otherwise).
|
|
159
161
|
if (m.pyVersion) venvArgs.push("--python", m.pyVersion); // uv fetches a standalone CPython
|
|
160
162
|
if (!run(uv, venvArgs)) return false;
|
|
161
163
|
ok = run(uv, ["pip", "install", "--python", path.join(venv, "bin", "python"), "-r", req]);
|