Merge pull request #331420 from pbsds/bump-gradio-1722459803

python312Packages.gradio: 4.36.1 -> 4.40.0

authored by Peder Bergebakken Sundt and committed by GitHub 12d5a776 600a8c74

+11 -6
+2 -2
pkgs/development/python-modules/gradio/client.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "gradio-client"; 30 - version = "1.0.1"; 30 + version = "1.2.0"; 31 31 pyproject = true; 32 32 33 33 disabled = pythonOlder "3.8"; ··· 39 39 # not to be confused with @gradio/client@${version} 40 40 rev = "refs/tags/gradio_client@${version}"; 41 41 sparseCheckout = [ "client/python" ]; 42 - hash = "sha256-nbOWg2ZPcXTft7e4tR5p5xecVU62en0hEdXqAgLDZF4="; 42 + hash = "sha256-l5WHNerSYNXrFGOpAqxxh0JLiFpatxq6a62q83tEavo="; 43 43 }; 44 44 prePatch = '' 45 45 cd client/python
+9 -4
pkgs/development/python-modules/gradio/default.nix
··· 15 15 # runtime 16 16 setuptools, 17 17 aiofiles, 18 - altair, 18 + anyio, 19 19 diffusers, 20 20 fastapi, 21 21 ffmpy, ··· 47 47 48 48 # check 49 49 pytestCheckHook, 50 + altair, 50 51 boto3, 51 52 gradio-pdf, 52 53 ffmpeg, ··· 62 63 63 64 buildPythonPackage rec { 64 65 pname = "gradio"; 65 - version = "4.36.1"; 66 + version = "4.40.0"; 66 67 format = "pyproject"; 67 68 68 69 disabled = pythonOlder "3.7"; ··· 70 71 # We use the Pypi release, since it provides prebuilt webui assets 71 72 src = fetchPypi { 72 73 inherit pname version; 73 - hash = "sha256-crLSEVbTRnEjuubzD0Y/AC7wbicnZidDCPXtPKw3Vjs="; 74 + hash = "sha256-ChV5E6RfFcOwW6uFqU4/phfHfn27yS8+MKjMVytnlgU="; 74 75 }; 75 76 76 77 # fix packaging.ParserSyntaxError, which can't handle comments ··· 98 99 dependencies = [ 99 100 setuptools # needed for 'pkg_resources' 100 101 aiofiles 101 - altair 102 + anyio 102 103 diffusers 103 104 fastapi 104 105 ffmpy ··· 132 133 133 134 nativeCheckInputs = [ 134 135 pytestCheckHook 136 + altair 135 137 boto3 136 138 gradio-pdf 137 139 ffmpeg ··· 182 184 183 185 # fails without network 184 186 "test_download_if_url_correct_parse" 187 + 188 + # flaky: OSError: Cannot find empty port in range: 7860-7959 189 + "test_docs_url" 185 190 186 191 # tests if pip and other tools are installed 187 192 "test_get_executable_path"