2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, alembic
|
2022-06-16 17:23:12 +00:00
|
|
|
, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, click
|
|
|
|
, cloudpickle
|
2022-06-16 17:23:12 +00:00
|
|
|
, databricks-cli
|
|
|
|
, docker
|
|
|
|
, entrypoints
|
|
|
|
, fetchpatch
|
|
|
|
, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, flask
|
2022-06-16 17:23:12 +00:00
|
|
|
, GitPython
|
|
|
|
, gorilla
|
|
|
|
, gunicorn
|
|
|
|
, importlib-metadata
|
2020-04-24 23:36:52 +00:00
|
|
|
, numpy
|
2022-06-16 17:23:12 +00:00
|
|
|
, packaging
|
2020-04-24 23:36:52 +00:00
|
|
|
, pandas
|
2022-06-16 17:23:12 +00:00
|
|
|
, prometheus-flask-exporter
|
2020-04-24 23:36:52 +00:00
|
|
|
, protobuf
|
2022-06-16 17:23:12 +00:00
|
|
|
, python-dateutil
|
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
, pyyaml
|
|
|
|
, querystring_parser
|
2022-06-16 17:23:12 +00:00
|
|
|
, requests
|
|
|
|
, scipy
|
2020-04-24 23:36:52 +00:00
|
|
|
, simplejson
|
2022-06-16 17:23:12 +00:00
|
|
|
, six
|
2020-04-24 23:36:52 +00:00
|
|
|
, sqlalchemy
|
2022-06-16 17:23:12 +00:00
|
|
|
, sqlparse
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mlflow";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.28.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-aXZp4eQuiHwzBQKuTw7WROgUvgas2pDOpEU57M4zSmQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
alembic
|
|
|
|
click
|
|
|
|
cloudpickle
|
2022-06-16 17:23:12 +00:00
|
|
|
databricks-cli
|
|
|
|
docker
|
|
|
|
entrypoints
|
2020-04-24 23:36:52 +00:00
|
|
|
flask
|
2022-06-16 17:23:12 +00:00
|
|
|
GitPython
|
|
|
|
gorilla
|
|
|
|
gunicorn
|
|
|
|
importlib-metadata
|
2020-04-24 23:36:52 +00:00
|
|
|
numpy
|
2022-06-16 17:23:12 +00:00
|
|
|
packaging
|
2020-04-24 23:36:52 +00:00
|
|
|
pandas
|
2022-06-16 17:23:12 +00:00
|
|
|
prometheus-flask-exporter
|
2020-04-24 23:36:52 +00:00
|
|
|
protobuf
|
2022-06-16 17:23:12 +00:00
|
|
|
python-dateutil
|
2020-04-24 23:36:52 +00:00
|
|
|
pyyaml
|
|
|
|
querystring_parser
|
2022-06-16 17:23:12 +00:00
|
|
|
requests
|
|
|
|
scipy
|
2020-04-24 23:36:52 +00:00
|
|
|
simplejson
|
2022-06-16 17:23:12 +00:00
|
|
|
six
|
2020-04-24 23:36:52 +00:00
|
|
|
sqlalchemy
|
2022-06-16 17:23:12 +00:00
|
|
|
sqlparse
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"mlflow"
|
2022-01-19 23:45:15 +00:00
|
|
|
];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
# run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
|
|
|
|
# also, tests use conda so can't run on NixOS without buildFHSUserEnv
|
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Open source platform for the machine learning lifecycle";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/mlflow/mlflow";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|