2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
2019-11-25 00:14:12 +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
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mlflow";
|
2020-11-29 14:04:34 +00:00
|
|
|
version = "1.12.1";
|
2020-01-06 23:59:25 +00:00
|
|
|
disabled = isPy27;
|
2019-11-25 00:14:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:34 +00:00
|
|
|
sha256 = "9b8af18d6e779fbbb094edfeb963691e485bba62eeec39fd62dfbe34bc12afeb";
|
2019-11-25 00:14: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;
|
|
|
|
|
|
|
|
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-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-25 00:14:12 +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-15 19:48:30 +01:00
|
|
|
# missing prometheus-flask-exporter, not packaged in nixpkgs
|
|
|
|
broken = true; # 2020-08-15
|
2019-11-25 00:14:12 +00:00
|
|
|
};
|
|
|
|
}
|