python3Packages.gradio: fix pydantic's nativeCheckInputs.

This commit is contained in:
Pol Dellaiera
2024-08-06 23:24:22 +02:00
parent 3a118435f4
commit 2bb8283a53
@@ -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.