21 , prometheus-flask-exporter
39 buildPythonPackage rec {
44 disabled = pythonOlder "3.8";
47 inherit pname version;
48 hash = "sha256-Yht+MR6JC3lxnC53dyhtjgjTjdBNWrCAlmmQvUpV/rs=";
51 # Remove currently broken dependency `shap`, a model explainability package.
52 # This seems quite unprincipled especially with tests not being enabled,
53 # but not mlflow has a 'skinny' install option which does not require `shap`.
58 pythonRemoveDeps = [ "shap" ];
65 propagatedBuildInputs = [
83 prometheus-flask-exporter
99 pythonImportsCheck = [
103 # no tests in PyPI dist
104 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
105 # also, tests use conda so can't run on NixOS without buildFHSEnv
109 description = "Open source platform for the machine learning lifecycle";
110 mainProgram = "mlflow";
111 homepage = "https://github.com/mlflow/mlflow";
112 changelog = "https://github.com/mlflow/mlflow/blob/v${version}/CHANGELOG.md";
113 license = licenses.asl20;
114 maintainers = with maintainers; [ tbenst ];