diff --git a/pkgs/smi/default.nix b/pkgs/smi/default.nix index fa586bb..eb6871c 100644 --- a/pkgs/smi/default.nix +++ b/pkgs/smi/default.nix @@ -8,22 +8,26 @@ with pkgs.python3Packages; buildPythonPackage rec { pname = "tt-smi"; - version = "main-01-31-24"; + version = "unstable-2024-09-27"; src = pkgs.fetchFromGitHub { owner = "tenstorrent"; repo = "tt-smi"; - rev = "2071978"; - hash = "sha256-sqwGWeeMBxOyHiVI2GcQ5CyZ8Zaty7FjhkS0C7H7QkM="; + rev = "052f1ce49b94581710744a91939121e01c24b5f2"; + hash = "sha256-IA60unZpSWVnMnDjDIC31QtURi9nIr/F7s7PGZilPcw="; }; format = "pyproject"; patches = [ - ./pyproject.patch - ./log.patch + # TODO: Still needed? Builds without. + #./log.patch ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + pythonRelaxDeps = [ "black" "distro" "elasticsearch" "rich" "textual" "pre-commit" "importlib-resources" ]; + propagatedBuildInputs = [ setuptools requests diff --git a/pkgs/smi/pyproject.patch b/pkgs/smi/pyproject.patch deleted file mode 100644 index bce02fd..0000000 --- a/pkgs/smi/pyproject.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index a6e73a4..5085274 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -29,14 +29,14 @@ dependencies = [ - 'elasticsearch==8.11.0', - 'jsons==1.6.3', - 'linkify-it-py==2.0.2', -- 'pydantic==1.*', -+ 'pydantic>=1.0.0', - 'psutil==5.9.6', - 'pyyaml==6.0.1', - 'tt_tools_common @ git+https://github.com/tenstorrent/tt-tools-common.git', - 'pyluwen @ git+https://github.com/tenstorrent/luwen.git@v0.1.0#subdirectory=crates/pyluwen', - 'rich==13.7.0', -- 'textual==0.42.0', -- 'pre-commit==3.5.0', -+ 'textual>=0.42.0', -+ 'pre-commit>=3.5.0', - 'importlib_resources==6.1.1', - 'requests==2.31.0', - ]