Commit 00004be6 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.mlflow: 1.25.1 -> 1.26.0

parent d91c6440
Loading
Loading
Loading
Loading
+46 −36
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
{ lib
, alembic
, buildPythonPackage
, click
, cloudpickle
, requests
, six
, databricks-cli
, docker
, entrypoints
, fetchpatch
, fetchPypi
, flask
, GitPython
, gorilla
, gunicorn
, importlib-metadata
, numpy
, scipy
, packaging
, pandas
, python-dateutil
, prometheus-flask-exporter
, protobuf
, GitPython
, python-dateutil
, pythonOlder
, pyyaml
, querystring_parser
, requests
, scipy
, simplejson
, docker
, databricks-cli
, entrypoints
, sqlparse
, six
, sqlalchemy
, gorilla
, gunicorn
, prometheus-flask-exporter
, importlib-metadata
, sqlparse
}:

buildPythonPackage rec {
  pname = "mlflow";
  version = "1.25.1";
  disabled = isPy27;
  version = "1.26.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-jDePRRbWNz+VvFe2x8LcpD8mUNSc7lq2ucNFf8RvBgA=";
    hash = "sha256-2D1glQkovCY0lN0kfxGeoLigTkkPpij13mTeou7CAw4=";
  };

  # 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
    databricks-cli
    docker
    entrypoints
    flask
    GitPython
    gorilla
    gunicorn
    importlib-metadata
    numpy
    scipy
    packaging
    pandas
    python-dateutil
    prometheus-flask-exporter
    protobuf
    GitPython
    python-dateutil
    pyyaml
    querystring_parser
    requests
    scipy
    simplejson
    docker
    databricks-cli
    entrypoints
    sqlparse
    six
    sqlalchemy
    gorilla
    gunicorn
    prometheus-flask-exporter
    importlib-metadata
    sqlparse
  ];

  pythonImportsCheck = [
    "mlflow"
  ];

  pythonImportsCheck = [ "mlflow" ];
  # 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;

  meta = with lib; {
    homepage = "https://github.com/mlflow/mlflow";
    description = "Open source platform for the machine learning lifecycle";
    homepage = "https://github.com/mlflow/mlflow";
    license = licenses.asl20;
    maintainers = with maintainers; [ tbenst ];
  };