@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.
Files changed (2) hide show
  1. package/bin/seldon.js +3 -1
  2. 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]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gorlitzer-labs/seldon",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Install the Seldon stack — pick your tools from a checklist; each installs via its native method.",
5
5
  "type": "module",
6
6
  "bin": {