My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/mlflow/default.nix

77 lines
1.4 KiB

{ lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
, alembic
, click
, cloudpickle
, requests
, six
, flask
, numpy
, scipy
, pandas
, python-dateutil
, protobuf
, GitPython
, pyyaml
, querystring_parser
, simplejson
, docker
, databricks-cli
, entrypoints
, sqlparse
, sqlalchemy
, gorilla
, gunicorn
, prometheus-flask-exporter
, importlib-metadata
}:
buildPythonPackage rec {
pname = "mlflow";
version = "1.25.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-jDePRRbWNz+VvFe2x8LcpD8mUNSc7lq2ucNFf8RvBgA=";
};
# 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
scipy
pandas
python-dateutil
protobuf
GitPython
pyyaml
querystring_parser
simplejson
docker
databricks-cli
entrypoints
sqlparse
sqlalchemy
gorilla
gunicorn
prometheus-flask-exporter
importlib-metadata
];
pythonImportsCheck = [ "mlflow" ];
meta = with lib; {
homepage = "https://github.com/mlflow/mlflow";
description = "Open source platform for the machine learning lifecycle";
license = licenses.asl20;
maintainers = with maintainers; [ tbenst ];
};
}