From 45afcc12bebe486693a952f05e9d7a0cead0b898 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 21 Nov 2024 14:50:17 -0500 Subject: [PATCH] python312Packages.streamlit: 1.39.0 -> 1.40.1, cleanup dependencies Changelog: https://github.com/streamlit/streamlit/releases/tag/1.40.1 --- .../python-modules/streamlit/default.nix | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/streamlit/default.nix b/pkgs/development/python-modules/streamlit/default.nix index d3862776309a..406e61a05aac 100644 --- a/pkgs/development/python-modules/streamlit/default.nix +++ b/pkgs/development/python-modules/streamlit/default.nix @@ -8,7 +8,6 @@ click, fetchPypi, gitpython, - importlib-metadata, numpy, packaging, pandas, @@ -16,8 +15,6 @@ protobuf, pyarrow, pydeck, - pympler, - python-dateutil, pythonOlder, setuptools, requests, @@ -26,56 +23,44 @@ toml, tornado, typing-extensions, - tzlocal, - validators, watchdog, }: buildPythonPackage rec { pname = "streamlit"; - version = "1.39.0"; + version = "1.40.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-/vneeYPE7mXAjoVgfX/8y1awBIKxBB+mL5DkgV053zo="; + hash = "sha256-HysJ8Etq02aix7TUgQRpfRyLwz9Ivfftk5zATBLTrsY="; }; build-system = [ setuptools ]; - pythonRelaxDeps = [ - "packaging" - "tenacity" - ]; - dependencies = [ altair blinker cachetools click - gitpython - importlib-metadata numpy packaging pandas pillow protobuf pyarrow - pydeck - pympler - python-dateutil requests rich tenacity toml - tornado typing-extensions - tzlocal - validators + gitpython + pydeck + tornado ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ watchdog ]; # pypi package does not include the tests, but cannot be built with fetchFromGitHub