treewide: more typer-slim fixes after merge

This commit is contained in:
K900
2026-02-18 09:57:34 +03:00
parent 6db61e0560
commit 456afa61df
2 changed files with 14 additions and 4 deletions
@@ -15,7 +15,7 @@
pyyaml,
shellingham,
tqdm,
typer-slim,
typer,
typing-extensions,
# optional-dependencies
@@ -45,6 +45,11 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-At3FN+dplQ3L9B4vDZrEvREdwgepUvzWC7yeU6L5XY8=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "typer-slim" "typer"
'';
build-system = [ setuptools ];
dependencies = [
@@ -56,7 +61,7 @@ buildPythonPackage (finalAttrs: {
pyyaml
shellingham
tqdm
typer-slim
typer
typing-extensions
];
@@ -15,7 +15,7 @@
safetensors,
tokenizers,
tqdm,
typer-slim,
typer,
# optional-dependencies
# sklearn
@@ -103,6 +103,11 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-vus4Y+1QXUNqwBO1ZK0gWd+sJBPwrqWW7O2sn0EBvno=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "typer-slim" "typer"
'';
build-system = [ setuptools ];
dependencies = [
@@ -114,7 +119,7 @@ buildPythonPackage (finalAttrs: {
safetensors
tokenizers
tqdm
typer-slim
typer
];
optional-dependencies = lib.fix (self: {