Loading pkgs/development/python-modules/gradio/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ # check pytestCheckHook, hypothesis, altair, boto3, gradio-pdf, Loading @@ -63,7 +64,7 @@ buildPythonPackage rec { pname = "gradio"; version = "4.40.0"; version = "4.41.0"; format = "pyproject"; disabled = pythonOlder "3.7"; Loading @@ -71,7 +72,7 @@ buildPythonPackage rec { # We use the Pypi release, since it provides prebuilt webui assets src = fetchPypi { inherit pname version; hash = "sha256-ChV5E6RfFcOwW6uFqU4/phfHfn27yS8+MKjMVytnlgU="; hash = "sha256-d4li7kQFMzlUVGdm2nTSnj25pTOWIqnZuOvTOtwPLpc="; }; # fix packaging.ParserSyntaxError, which can't handle comments Loading Loading @@ -133,6 +134,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook hypothesis altair boto3 gradio-pdf Loading Loading @@ -187,6 +189,9 @@ buildPythonPackage rec { # flaky: OSError: Cannot find empty port in range: 7860-7959 "test_docs_url" "test_orjson_serialization" "test_dataset_is_updated" "test_multimodal_api" # tests if pip and other tools are installed "test_get_executable_path" Loading Loading @@ -245,8 +250,8 @@ buildPythonPackage rec { "test/test_networking.py" # makes pytest freeze 50% of the time "test/test_interfaces.py" ] ++ lib.optionals stdenv.isDarwin [ # Network-related tests that are flaky on darwin (depend on port availability) # Local network tests dependant on port availability (port 7860-7959) "test/test_routes.py" ]; pytestFlagsArray = [ Loading Loading
pkgs/development/python-modules/gradio/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ # check pytestCheckHook, hypothesis, altair, boto3, gradio-pdf, Loading @@ -63,7 +64,7 @@ buildPythonPackage rec { pname = "gradio"; version = "4.40.0"; version = "4.41.0"; format = "pyproject"; disabled = pythonOlder "3.7"; Loading @@ -71,7 +72,7 @@ buildPythonPackage rec { # We use the Pypi release, since it provides prebuilt webui assets src = fetchPypi { inherit pname version; hash = "sha256-ChV5E6RfFcOwW6uFqU4/phfHfn27yS8+MKjMVytnlgU="; hash = "sha256-d4li7kQFMzlUVGdm2nTSnj25pTOWIqnZuOvTOtwPLpc="; }; # fix packaging.ParserSyntaxError, which can't handle comments Loading Loading @@ -133,6 +134,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook hypothesis altair boto3 gradio-pdf Loading Loading @@ -187,6 +189,9 @@ buildPythonPackage rec { # flaky: OSError: Cannot find empty port in range: 7860-7959 "test_docs_url" "test_orjson_serialization" "test_dataset_is_updated" "test_multimodal_api" # tests if pip and other tools are installed "test_get_executable_path" Loading Loading @@ -245,8 +250,8 @@ buildPythonPackage rec { "test/test_networking.py" # makes pytest freeze 50% of the time "test/test_interfaces.py" ] ++ lib.optionals stdenv.isDarwin [ # Network-related tests that are flaky on darwin (depend on port availability) # Local network tests dependant on port availability (port 7860-7959) "test/test_routes.py" ]; pytestFlagsArray = [ Loading