From 2bb8283a53f2dc2cba86bf827f251cd1bec3f8e4 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 6 Aug 2024 23:20:36 +0200 Subject: [PATCH] python3Packages.gradio: fix pydantic's `nativeCheckInputs`. --- pkgs/development/python-modules/gradio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/gradio/default.nix b/pkgs/development/python-modules/gradio/default.nix index a25d8baa10d3..44ebf7a80365 100644 --- a/pkgs/development/python-modules/gradio/default.nix +++ b/pkgs/development/python-modules/gradio/default.nix @@ -149,7 +149,7 @@ buildPythonPackage rec { # mock calls to `shutil.which(...)` (writeShellScriptBin "npm" "false") - ] ++ passthru.optional-dependencies.oauth ++ pydantic.passthru.optional-dependencies.email; + ] ++ passthru.optional-dependencies.oauth ++ pydantic.optional-dependencies.email; # Add a pytest hook skipping tests that access network, marking them as "Expected fail" (xfail). # We additionally xfail FileNotFoundError, since the gradio devs often fail to upload test assets to pypi.