Merge pull request #237049 from fabaff/gpustat-pytest-runner

python311Packages.gpustat: remove pytest-runner
This commit is contained in:
Fabian Affolter 2023-06-10 23:39:25 +02:00 committed by GitHub
commit 7dce19a7f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,34 @@
{ buildPythonPackage
{ lib
, blessed
, buildPythonPackage
, fetchPypi
, lib
, mockito
, nvidia-ml-py
, psutil
, pytest-runner
, pythonRelaxDepsHook
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "gpustat";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WB6P+FjDLJWjIruPA/HZ3D0Xe07LM93L7Sw3PGf04/E=";
};
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [ "nvidia-ml-py" ];
pythonRelaxDeps = [
"nvidia-ml-py"
];
nativeBuildInputs = [
pythonRelaxDepsHook
];
propagatedBuildInputs = [
blessed
@ -33,11 +41,14 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "gpustat" ];
pythonImportsCheck = [
"gpustat"
];
meta = with lib; {
description = "A simple command-line utility for querying and monitoring GPU status";
homepage = "https://github.com/wookayin/gpustat";
changelog = "https://github.com/wookayin/gpustat/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ billhuang ];
};