python3Packages.gradio-client: 0.10.1 -> 0.11.0 python3Packages.gradio: 5.29.0 -> 5.38.1 (#427872)

This commit is contained in:
Peder Bergebakken Sundt 2025-07-24 10:31:58 +02:00 committed by GitHub
commit fdb66e9cc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View File

@ -31,7 +31,7 @@
buildPythonPackage rec {
pname = "gradio-client";
version = "1.10.1";
version = "1.11.0";
pyproject = true;
# no tests on pypi
@ -41,7 +41,7 @@ buildPythonPackage rec {
# not to be confused with @gradio/client@${version}
tag = "gradio_client@${version}";
sparseCheckout = [ "client/python" ];
hash = "sha256-jIJkJvXy4mKQN0gVb4nm3hCzgk9qofBrXc3Tws2n2qw=";
hash = "sha256-dj8hJPXUBbFG9awP3o0vgyPt+gcCgzKKEQTEHkrEimA=";
};
sourceRoot = "${src.name}/client/python";

View File

@ -20,6 +20,7 @@
setuptools,
aiofiles,
anyio,
brotli,
diffusers,
fastapi,
ffmpy,
@ -36,6 +37,7 @@
packaging,
pandas,
pillow,
polars,
pydantic,
python-multipart,
pydub,
@ -73,20 +75,20 @@
buildPythonPackage rec {
pname = "gradio";
version = "5.29.1";
version = "5.38.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gradio-app";
repo = "gradio";
tag = "gradio@${version}";
hash = "sha256-nL+m64JTLRS5UOB9WSl7lpsw8v0Vzkt7XWGl9a08Xko=";
hash = "sha256-NbVRbwqHUSwyG+v+cDKCrVtzjj6ThxGRfO+xjqXOy5I=";
};
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
fetcherVersion = 1;
hash = "sha256-h3ulPik0Uf8X687Se3J7h3+8jYzwXtbO6obsO27zyfA=";
hash = "sha256-E6dBajJoKzaJF67KRrSB/LNAyLDmT78mCmTar5G6P6g=";
};
pythonRelaxDeps = [
@ -115,6 +117,7 @@ buildPythonPackage rec {
setuptools # needed for 'pkg_resources'
aiofiles
anyio
brotli
diffusers
fastapi
ffmpy
@ -131,6 +134,7 @@ buildPythonPackage rec {
packaging
pandas
pillow
polars
pydantic
python-multipart
pydub
@ -152,6 +156,7 @@ buildPythonPackage rec {
[
altair
boto3
brotli
docker
ffmpeg
gradio-pdf
@ -245,6 +250,10 @@ buildPythonPackage rec {
# tests if pip and other tools are installed
"test_get_executable_path"
# Flaky test (AssertionError when comparing to a fixed array)
# https://github.com/gradio-app/gradio/issues/11620
"test_auto_datatype"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType'