Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 72 lines 1.4 kB view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27 2, alembic 3, click 4, cloudpickle 5, requests 6, six 7, flask 8, numpy 9, pandas 10, python-dateutil 11, protobuf 12, GitPython 13, pyyaml 14, querystring_parser 15, simplejson 16, docker 17, databricks-cli 18, entrypoints 19, sqlparse 20, sqlalchemy 21, gorilla 22, gunicorn 23, pytest 24}: 25 26buildPythonPackage rec { 27 pname = "mlflow"; 28 version = "1.14.1"; 29 disabled = isPy27; 30 31 src = fetchPypi { 32 inherit pname version; 33 sha256 = "e3abff0831564d9a4b5d5a15e5ee76b0f5b4580b362c24a58ee821634c8fb1a3"; 34 }; 35 36 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config 37 # also, tests use conda so can't run on NixOS without buildFHSUserEnv 38 doCheck = false; 39 40 propagatedBuildInputs = [ 41 alembic 42 click 43 cloudpickle 44 requests 45 six 46 flask 47 numpy 48 pandas 49 python-dateutil 50 protobuf 51 GitPython 52 pyyaml 53 querystring_parser 54 simplejson 55 docker 56 databricks-cli 57 entrypoints 58 sqlparse 59 sqlalchemy 60 gorilla 61 gunicorn 62 ]; 63 64 meta = with lib; { 65 homepage = "https://github.com/mlflow/mlflow"; 66 description = "Open source platform for the machine learning lifecycle"; 67 license = licenses.asl20; 68 maintainers = with maintainers; [ tbenst ]; 69 # missing prometheus-flask-exporter, not packaged in nixpkgs 70 broken = true; # 2020-08-15 71 }; 72}