treewide: more typer-slim fixes after merge
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user