diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index d724cc4afd6b..91f0c897aa6a 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -25,12 +25,14 @@ platformdirs, protobuf, psutil, + pydantic, pyyaml, requests, sentry-sdk_2, setproctitle, setuptools, pythonOlder, + eval-type-backport, typing-extensions, # tests @@ -56,7 +58,6 @@ parameterized, pillow, plotly, - pydantic, pyfakefs, pyte, pytest-asyncio, @@ -75,12 +76,12 @@ }: let - version = "0.19.6"; + version = "0.19.8"; src = fetchFromGitHub { owner = "wandb"; repo = "wandb"; tag = "v${version}"; - hash = "sha256-snyr0IlE4otk1ctWUrJEFAmHYsXe+k6qULCaO3aW0e4="; + hash = "sha256-hveMyGeu9RhdtWMbV/4GQ4KUNfjSt0CKyW7Yx8QtlLM="; }; gpu-stats = rustPlatform.buildRustPackage { @@ -184,6 +185,7 @@ buildPythonPackage rec { platformdirs protobuf psutil + pydantic pyyaml requests sentry-sdk_2 @@ -191,6 +193,9 @@ buildPythonPackage rec { # setuptools is necessary since pkg_resources is required at runtime. setuptools ] + ++ lib.optionals (pythonOlder "3.10") [ + eval-type-backport + ] ++ lib.optionals (pythonOlder "3.12") [ typing-extensions ]; @@ -220,7 +225,6 @@ buildPythonPackage rec { parameterized pillow plotly - pydantic pyfakefs pyte pytest-asyncio