python3Packages.gradio: fix build (#356645)
This commit is contained in:
@@ -105,7 +105,10 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "gradio_client@(.*)" ];
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"gradio_client@(.*)"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -87,6 +87,7 @@ buildPythonPackage rec {
|
||||
"tomlkit"
|
||||
"aiofiles"
|
||||
"markupsafe"
|
||||
"pillow"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
@@ -169,7 +170,8 @@ buildPythonPackage rec {
|
||||
ulimit -n 4096
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
disabledTests =
|
||||
[
|
||||
# Actually broken
|
||||
"test_mount_gradio_app"
|
||||
"test_processing_utils_backwards_compatibility" # type error
|
||||
@@ -200,7 +202,8 @@ buildPythonPackage rec {
|
||||
|
||||
# tests if pip and other tools are installed
|
||||
"test_get_executable_path"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# flaky on darwin (depend on port availability)
|
||||
"test_all_status_messages"
|
||||
"test_async_generators"
|
||||
|
||||
Reference in New Issue
Block a user