python312package.metaflow: init at 2.13.9 (#380873)
This commit is contained in:
@@ -12545,6 +12545,12 @@
|
||||
githubId = 787421;
|
||||
name = "Kevin Quick";
|
||||
};
|
||||
kr7x = {
|
||||
name = "Carlos Reyes";
|
||||
email = "carlosreyesml18@gmail.com";
|
||||
github = "K4rlosReyes";
|
||||
githubId = 108368394;
|
||||
};
|
||||
kraanzu = {
|
||||
name = "Murli Tawari";
|
||||
email = "kraanzu@gmail.com";
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
boto3,
|
||||
requests,
|
||||
setuptools,
|
||||
python,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "metaflow";
|
||||
version = "2.13.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Netflix";
|
||||
repo = "metaflow";
|
||||
tag = version;
|
||||
hash = "sha256-f/cWZl59i1PRqNqLV5LtcZoDKdovdCKoQJNxzXKczgs=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
boto3
|
||||
requests
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
export HOME="$TMPDIR"
|
||||
export USER="metaflow-test-user"
|
||||
|
||||
pushd test/core
|
||||
${python.interpreter} run_tests.py --num-parallel $NIX_BUILD_CORES \
|
||||
--tests FlowOptionsTest,BasicLogTest
|
||||
popd
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "metaflow" ];
|
||||
|
||||
meta = {
|
||||
description = "Open Source AI/ML Platform";
|
||||
homepage = "https://metaflow.org/";
|
||||
changelog = "https://github.com/Netflix/metaflow/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ kr7x ];
|
||||
};
|
||||
}
|
||||
@@ -8199,6 +8199,8 @@ self: super: with self; {
|
||||
|
||||
messagebird = callPackage ../development/python-modules/messagebird { };
|
||||
|
||||
metaflow = callPackage ../development/python-modules/metaflow { };
|
||||
|
||||
metakernel = callPackage ../development/python-modules/metakernel { };
|
||||
|
||||
metar = callPackage ../development/python-modules/metar { };
|
||||
|
||||
Reference in New Issue
Block a user