diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-08 17:24:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 17:24:26 +0100 |
commit | 7e2fac7a6f1d071611cb0949d7eecbebfcda2598 (patch) | |
tree | 6b9c3678ff84cef8223edb03ca5193f00c2ca9ff | |
parent | 276a4719edd241346a574a7ed80c042550a4b7ab (diff) | |
parent | f51256cc653ce13d174addbd032fbd014972a81f (diff) | |
download | nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar.gz nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar.bz2 nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar.lz nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar.xz nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.tar.zst nixlib-7e2fac7a6f1d071611cb0949d7eecbebfcda2598.zip |
Merge pull request #287099 from r-ryantm/auto-update/python311Packages.mlflow
python311Packages.mlflow: 2.10.2 -> 2.11.1
-rw-r--r-- | pkgs/development/python-modules/mlflow/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix index 1ec7760eaeb7..1bed42479c8a 100644 --- a/pkgs/development/python-modules/mlflow/default.nix +++ b/pkgs/development/python-modules/mlflow/default.nix @@ -6,11 +6,11 @@ , databricks-cli , docker , entrypoints -, fetchpatch , fetchPypi , flask , gitpython , gorilla +, graphene , gunicorn , importlib-metadata , markdown @@ -28,9 +28,9 @@ , pyyaml , querystring-parser , requests +, setuptools , scikit-learn , scipy -, shap , simplejson , sqlalchemy , sqlparse @@ -38,25 +38,23 @@ buildPythonPackage rec { pname = "mlflow"; - version = "2.10.2"; - format = "setuptools"; + version = "2.11.1"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-Pd8yuiwB2seeTQd9S7ntRtgqCC3JkiMgfVYsfua+5nE="; + hash = "sha256-ouwp7oYvGZVSCPuOBeUeXp0u3HF143zxNtlDuYGoJOk="; }; - postPatch = '' - substituteInPlace requirements/core-requirements.txt \ - --replace "gunicorn<21" "gunicorn" - ''; - # Remove currently broken dependency `shap`, a model explainability package. # This seems quite unprincipled especially with tests not being enabled, # but not mlflow has a 'skinny' install option which does not require `shap`. - nativeBuildInputs = [ pythonRelaxDepsHook ]; + nativeBuildInputs = [ + pythonRelaxDepsHook + setuptools + ]; pythonRemoveDeps = [ "shap" ]; pythonRelaxDeps = [ "pytz" "pyarrow" ]; @@ -70,6 +68,7 @@ buildPythonPackage rec { flask gitpython gorilla + graphene gunicorn importlib-metadata markdown |