{ lib, buildPythonPackage, fetchPypi, isPy27 , 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"; version = "1.20.1"; disabled = isPy27; src = fetchPypi { inherit pname version; sha256 = "71764443c4942f181fee2d5bf44dd74a0507bcc5b62a1f1e08079d1f40a15fc0"; }; # 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 ]; 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 ]; # missing prometheus-flask-exporter, not packaged in nixpkgs broken = true; # 2020-08-15 }; }