Loading pkgs/development/python-modules/kotsu/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , pandas , typing-extensions , pytestCheckHook , pytest-mock , scikit-learn }: buildPythonPackage rec { pname = "kotsu"; version = "0.3.3"; format = "setuptools"; disable = pythonOlder "3.7"; src = fetchFromGitHub { owner = "datavaluepeople"; repo = "kotsu"; rev = "v${version}"; hash = "sha256-V5OkgiLUTRNbNt6m94+aYUZd9Nw+/60LfhrqqdFhiUw="; }; patches = [ ./disable-pytest-coverage-flags.patch ]; propagatedBuildInputs = [ pandas typing-extensions ]; nativeCheckInputs = [ pytestCheckHook pytest-mock scikit-learn ]; pythonImportsCheck = [ "kotsu" ]; meta = with lib; { description = "Lightweight framework for structured and repeatable model validation"; homepage = "https://github.com/datavaluepeople/kotsu"; changelog = "https://github.com/datavaluepeople/kotsu/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; } pkgs/development/python-modules/kotsu/disable-pytest-coverage-flags.patch 0 → 100644 +18 −0 Original line number Diff line number Diff line diff --git a/setup.cfg b/setup.cfg index 3ab277a..b253e18 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,13 +50,6 @@ convention = google add_ignore = D105, D107 #add_ignore = D100,D101,D102,D103,D104,D200 - start with no ignored errors and add as required -[tool:pytest] -addopts = --cov=./kotsu --cov-report xml --cov-report term - -[coverage:run] -# Omit auto-generated versioneer file from test coverage -omit = kotsu/_version.py - [versioneer] VCS = git style = pep440 pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5854,6 +5854,8 @@ self: super: with self; { konnected = callPackage ../development/python-modules/konnected { }; kotsu = callPackage ../development/python-modules/kotsu { }; korean-lunar-calendar = callPackage ../development/python-modules/korean-lunar-calendar { }; kornia = callPackage ../development/python-modules/kornia { }; Loading Loading
pkgs/development/python-modules/kotsu/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , pandas , typing-extensions , pytestCheckHook , pytest-mock , scikit-learn }: buildPythonPackage rec { pname = "kotsu"; version = "0.3.3"; format = "setuptools"; disable = pythonOlder "3.7"; src = fetchFromGitHub { owner = "datavaluepeople"; repo = "kotsu"; rev = "v${version}"; hash = "sha256-V5OkgiLUTRNbNt6m94+aYUZd9Nw+/60LfhrqqdFhiUw="; }; patches = [ ./disable-pytest-coverage-flags.patch ]; propagatedBuildInputs = [ pandas typing-extensions ]; nativeCheckInputs = [ pytestCheckHook pytest-mock scikit-learn ]; pythonImportsCheck = [ "kotsu" ]; meta = with lib; { description = "Lightweight framework for structured and repeatable model validation"; homepage = "https://github.com/datavaluepeople/kotsu"; changelog = "https://github.com/datavaluepeople/kotsu/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; }
pkgs/development/python-modules/kotsu/disable-pytest-coverage-flags.patch 0 → 100644 +18 −0 Original line number Diff line number Diff line diff --git a/setup.cfg b/setup.cfg index 3ab277a..b253e18 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,13 +50,6 @@ convention = google add_ignore = D105, D107 #add_ignore = D100,D101,D102,D103,D104,D200 - start with no ignored errors and add as required -[tool:pytest] -addopts = --cov=./kotsu --cov-report xml --cov-report term - -[coverage:run] -# Omit auto-generated versioneer file from test coverage -omit = kotsu/_version.py - [versioneer] VCS = git style = pep440
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5854,6 +5854,8 @@ self: super: with self; { konnected = callPackage ../development/python-modules/konnected { }; kotsu = callPackage ../development/python-modules/kotsu { }; korean-lunar-calendar = callPackage ../development/python-modules/korean-lunar-calendar { }; kornia = callPackage ../development/python-modules/kornia { }; Loading