21 , prometheus-flask-exporter
39 buildPythonPackage rec {
42 format = "setuptools";
44 disabled = pythonOlder "3.7";
47 inherit pname version;
48 hash = "sha256-3q8PXydgjpUm1p//zKcMgirJDqKQpvPkuz36GyCbARE=";
52 substituteInPlace requirements/core-requirements.txt \
53 --replace "gunicorn<21" "gunicorn"
56 # Remove currently broken dependency `shap`, a model explainability package.
57 # This seems quite unprincipled especially with tests not being enabled,
58 # but not mlflow has a 'skinny' install option which does not require `shap`.
59 nativeBuildInputs = [ pythonRelaxDepsHook ];
60 pythonRemoveDeps = [ "shap" ];
61 pythonRelaxDeps = [ "pytz" "pyarrow" ];
63 propagatedBuildInputs = [
80 prometheus-flask-exporter
96 pythonImportsCheck = [
100 # no tests in PyPI dist
101 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
102 # also, tests use conda so can't run on NixOS without buildFHSEnv
106 description = "Open source platform for the machine learning lifecycle";
107 homepage = "https://github.com/mlflow/mlflow";
108 changelog = "https://github.com/mlflow/mlflow/blob/v${version}/CHANGELOG.md";
109 license = licenses.asl20;
110 maintainers = with maintainers; [ tbenst ];