Merge pull request #287099 from r-ryantm/auto-update/python311Packages.mlflow

python311Packages.mlflow: 2.10.2 -> 2.11.1
This commit is contained in:
Weijia Wang 2024-03-08 17:24:26 +01:00 committed by GitHub
commit 7e2fac7a6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,11 +6,11 @@
, databricks-cli , databricks-cli
, docker , docker
, entrypoints , entrypoints
, fetchpatch
, fetchPypi , fetchPypi
, flask , flask
, gitpython , gitpython
, gorilla , gorilla
, graphene
, gunicorn , gunicorn
, importlib-metadata , importlib-metadata
, markdown , markdown
@ -28,9 +28,9 @@
, pyyaml , pyyaml
, querystring-parser , querystring-parser
, requests , requests
, setuptools
, scikit-learn , scikit-learn
, scipy , scipy
, shap
, simplejson , simplejson
, sqlalchemy , sqlalchemy
, sqlparse , sqlparse
@ -38,25 +38,23 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mlflow"; pname = "mlflow";
version = "2.10.2"; version = "2.11.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; 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. # Remove currently broken dependency `shap`, a model explainability package.
# This seems quite unprincipled especially with tests not being enabled, # This seems quite unprincipled especially with tests not being enabled,
# but not mlflow has a 'skinny' install option which does not require `shap`. # but not mlflow has a 'skinny' install option which does not require `shap`.
nativeBuildInputs = [ pythonRelaxDepsHook ]; nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
pythonRemoveDeps = [ "shap" ]; pythonRemoveDeps = [ "shap" ];
pythonRelaxDeps = [ "pytz" "pyarrow" ]; pythonRelaxDeps = [ "pytz" "pyarrow" ];
@ -70,6 +68,7 @@ buildPythonPackage rec {
flask flask
gitpython gitpython
gorilla gorilla
graphene
gunicorn gunicorn
importlib-metadata importlib-metadata
markdown markdown