Unverified Commit cfe6b045 authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

tt-smi: move to by-name (#451239)

parents 16a0bed9 94451f7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ in
    ];

    environment.systemPackages = with pkgs; [
      python3Packages.tt-smi
      tt-smi
      tt-system-tools
    ];
  };
+12 −17
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  python3Packages,
  fetchFromGitHub,
  pythonOlder,
  setuptools,
  distro,
  elasticsearch,
  pydantic,
  pyluwen,
  rich,
  textual,
  pre-commit,
  importlib-resources,
  tt-tools-common,
  tomli,
  versionCheckHook,
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
  pname = "tt-smi";
  version = "3.0.30";
  pyproject = true;
@@ -27,13 +17,11 @@ buildPythonPackage rec {
    hash = "sha256-C6CfcS0H3rFew/Y1uhmzICdFp1UYU7H9h3YPeAKlcbE=";
  };

  disabled = pythonOlder "3.13";

  build-system = [
  build-system = with python3Packages; [
    setuptools
  ];

  dependencies = [
  dependencies = with python3Packages; [
    distro
    elasticsearch
    pydantic
@@ -47,10 +35,17 @@ buildPythonPackage rec {
    tomli
  ];

  nativeCheckInputs = [
    versionCheckHook
  ];

  # Fails due to having no tests
  dontUsePytestCheck = true;

  versionCheckProgramArg = "--version";

  meta = {
    mainProgram = "tt-smi";
    description = "Tenstorrent console based hardware information program";
    homepage = "https://github.com/tenstorrent/tt-smi";
    maintainers = with lib.maintainers; [ RossComputerGuy ];
+0 −2
Original line number Diff line number Diff line
@@ -18855,8 +18855,6 @@ self: super: with self; {
  tt-flash = callPackage ../development/python-modules/tt-flash { };
  tt-smi = callPackage ../development/python-modules/tt-smi { };
  tt-tools-common = callPackage ../development/python-modules/tt-tools-common { };
  ttach = callPackage ../development/python-modules/ttach { };