2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
, alembic
|
|
|
|
, click
|
|
|
|
, cloudpickle
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, flask
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, python-dateutil
|
|
|
|
, protobuf
|
|
|
|
, GitPython
|
|
|
|
, pyyaml
|
|
|
|
, querystring_parser
|
|
|
|
, simplejson
|
|
|
|
, docker
|
|
|
|
, databricks-cli
|
|
|
|
, entrypoints
|
|
|
|
, sqlparse
|
|
|
|
, sqlalchemy
|
|
|
|
, gorilla
|
|
|
|
, gunicorn
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mlflow";
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "1.21.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "5524a371f19c66a18e7ebe9b1085a77f63a6ae514271e487428f28187d79fc8f";
|
2020-04-24 23:36:52 +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;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
alembic
|
|
|
|
click
|
|
|
|
cloudpickle
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
flask
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
python-dateutil
|
|
|
|
protobuf
|
|
|
|
GitPython
|
|
|
|
pyyaml
|
|
|
|
querystring_parser
|
|
|
|
simplejson
|
|
|
|
docker
|
|
|
|
databricks-cli
|
|
|
|
entrypoints
|
|
|
|
sqlparse
|
|
|
|
sqlalchemy
|
|
|
|
gorilla
|
|
|
|
gunicorn
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/mlflow/mlflow";
|
|
|
|
description = "Open source platform for the machine learning lifecycle";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ tbenst ];
|
2020-08-20 17:08:02 +00:00
|
|
|
# missing prometheus-flask-exporter, not packaged in nixpkgs
|
|
|
|
broken = true; # 2020-08-15
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|