Merge pull request #332830 from drupol/gradio/fix

python3Packages.gradio: fix pydantic's `nativeCheckInputs`
This commit is contained in:
Pol Dellaiera
2024-08-06 23:32:51 +02:00
committed by GitHub
@@ -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.