1{ lib
2, alembic
3, buildPythonPackage
4, click
5, cloudpickle
6, databricks-cli
7, docker
8, entrypoints
9, fetchpatch
10, fetchPypi
11, flask
12, GitPython
13, gorilla
14, gunicorn
15, importlib-metadata
16, numpy
17, packaging
18, pandas
19, prometheus-flask-exporter
20, protobuf
21, python-dateutil
22, pythonOlder
23, pyyaml
24, querystring_parser
25, requests
26, scipy
27, simplejson
28, six
29, sqlalchemy
30, sqlparse
31}:
32
33buildPythonPackage rec {
34 pname = "mlflow";
35 version = "1.30.0";
36 format = "setuptools";
37
38 disabled = pythonOlder "3.7";
39
40 src = fetchPypi {
41 inherit pname version;
42 hash = "sha256-Ln1R9uLcbMIxbnLc9BNSF8WByPTx+d3hBmqrqeCyLHo=";
43 };
44
45 propagatedBuildInputs = [
46 alembic
47 click
48 cloudpickle
49 databricks-cli
50 docker
51 entrypoints
52 flask
53 GitPython
54 gorilla
55 gunicorn
56 importlib-metadata
57 numpy
58 packaging
59 pandas
60 prometheus-flask-exporter
61 protobuf
62 python-dateutil
63 pyyaml
64 querystring_parser
65 requests
66 scipy
67 simplejson
68 six
69 sqlalchemy
70 sqlparse
71 ];
72
73 pythonImportsCheck = [
74 "mlflow"
75 ];
76
77 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
78 # also, tests use conda so can't run on NixOS without buildFHSUserEnv
79 doCheck = false;
80
81 meta = with lib; {
82 description = "Open source platform for the machine learning lifecycle";
83 homepage = "https://github.com/mlflow/mlflow";
84 license = licenses.asl20;
85 maintainers = with maintainers; [ tbenst ];
86 };
87}