Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/gradio/client.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

buildPythonPackage rec {
pname = "gradio-client";
version = "1.10.1";
version = "1.11.0";
pyproject = true;

# no tests on pypi
Expand All @@ -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";
Expand Down
15 changes: 12 additions & 3 deletions pkgs/development/python-modules/gradio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
setuptools,
aiofiles,
anyio,
brotli,
diffusers,
fastapi,
ffmpy,
Expand All @@ -36,6 +37,7 @@
packaging,
pandas,
pillow,
polars,
pydantic,
python-multipart,
pydub,
Expand Down Expand Up @@ -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 = [
Expand Down Expand Up @@ -115,6 +117,7 @@ buildPythonPackage rec {
setuptools # needed for 'pkg_resources'
aiofiles
anyio
brotli
diffusers
fastapi
ffmpy
Expand All @@ -131,6 +134,7 @@ buildPythonPackage rec {
packaging
pandas
pillow
polars
pydantic
python-multipart
pydub
Expand All @@ -152,6 +156,7 @@ buildPythonPackage rec {
[
altair
boto3
brotli
docker
ffmpeg
gradio-pdf
Expand Down Expand Up @@ -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'
Expand Down
Loading