python3Packages.mindsdb-evaluator: 0.0.18 -> 0.0.20 (#453926)
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
dataprep-ml,
|
||||
numpy,
|
||||
pandas,
|
||||
scikit-learn,
|
||||
type-infer,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mindsdb-evaluator";
|
||||
version = "0.0.18";
|
||||
version = "0.0.20";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
# using PyPI as git repository does not have release tags or branches
|
||||
src = fetchPypi {
|
||||
pname = "mindsdb_evaluator";
|
||||
inherit version;
|
||||
hash = "sha256-UGg7P/OKmRi70z2roRBsA95FAXm7CG+TdPzTRy7+p4w=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mindsdb";
|
||||
repo = "mindsdb_evaluator";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ZeJABMbyRdGrZGkWWXcjleOeDQBSicGR06hZAPUKvgI=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"dataprep-ml"
|
||||
"numpy"
|
||||
"scikit-learn"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -41,10 +41,15 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "mindsdb_evaluator" ];
|
||||
|
||||
meta = with lib; {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${src.tag}";
|
||||
description = "Model evaluation for Machine Learning pipelines";
|
||||
homepage = "https://pypi.org/project/mindsdb-evaluator/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ mbalatsko ];
|
||||
homepage = "https://github.com/mindsdb/mindsdb_evaluator";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ mbalatsko ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
standard-aifc,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "standard-sndhdr";
|
||||
version = "3.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "youknowone";
|
||||
repo = "python-deadlib";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/sndhdr";
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
standard-aifc
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sndhdr" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Standard library sndhdr redistribution";
|
||||
homepage = "https://github.com/youknowone/python-deadlib/tree/main/sndhdr";
|
||||
license = lib.licenses.psfl;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
pythonAtLeast,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
poetry-core,
|
||||
colorlog,
|
||||
dataclasses-json,
|
||||
@@ -14,6 +13,8 @@
|
||||
py3langid,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
standard-imghdr,
|
||||
standard-sndhdr,
|
||||
scipy,
|
||||
toml,
|
||||
}:
|
||||
@@ -24,7 +25,7 @@ let
|
||||
d.stopwords
|
||||
]);
|
||||
|
||||
version = "0.0.23";
|
||||
version = "0.0.25";
|
||||
tag = "v${version}";
|
||||
in
|
||||
buildPythonPackage {
|
||||
@@ -32,15 +33,21 @@ buildPythonPackage {
|
||||
inherit version;
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mindsdb";
|
||||
repo = "type_infer";
|
||||
inherit tag;
|
||||
hash = "sha256-tqT/MTcSHcKGoPUUzjPLFpOTchannFsCd2VMC+8kVZ8=";
|
||||
hash = "sha256-WL/2WSy3e2Mg/jNS8afUEnCt10wpXho4uOPAkVdzHWA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/mindsdb/type_infer/pull/83
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mindsdb/type_infer/commit/d09f88d5ddbe55125b1fff4506b03165d019d88b.patch";
|
||||
hash = "sha256-wNBzb+RxoZC8zn5gdOrtJeXJIIH3DTt1gTZfgN/WnQQ=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"psutil"
|
||||
"py3langid"
|
||||
@@ -59,6 +66,8 @@ buildPythonPackage {
|
||||
py3langid
|
||||
python-dateutil
|
||||
scipy
|
||||
standard-imghdr
|
||||
standard-sndhdr
|
||||
toml
|
||||
];
|
||||
|
||||
|
||||
@@ -17650,6 +17650,12 @@ self: super: with self; {
|
||||
standard-pipes =
|
||||
if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null;
|
||||
|
||||
standard-sndhdr =
|
||||
if pythonAtLeast "3.13" then
|
||||
callPackage ../development/python-modules/standard-sndhdr { }
|
||||
else
|
||||
null;
|
||||
|
||||
standard-sunau =
|
||||
if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sunau { } else null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user