Unverified Commit b734fa8f authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python3Packages.gradio: fix build (#356645)

parents f477b375 64bd2c05
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -105,7 +105,10 @@ buildPythonPackage rec {
  __darwinAllowLocalNetworking = true;

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version-regex" "gradio_client@(.*)" ];
    extraArgs = [
      "--version-regex"
      "gradio_client@(.*)"
    ];
  };

  meta = {
+77 −74
Original line number Diff line number Diff line
@@ -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"