mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-13 02:39:58 +00:00
python3Packages.{mlflow,mlflow-skinny,mlflow-tracing}: 3.15.2 -> 3.16.0
https://github.com/mlflow/mlflow/releases/tag/v3.16.0
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
anyio,
|
||||
cachetools,
|
||||
click,
|
||||
cloudpickle,
|
||||
@@ -40,7 +41,7 @@ buildPythonPackage (finalAttrs: {
|
||||
owner = "mlflow";
|
||||
repo = "mlflow";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-G5PybKonwsAg1MLOF9wc10RJE0x948+EVbcDq1+94mc=";
|
||||
hash = "sha256-2nWu+P9bGAl+1p3ZfxO2XdBMrfePJI6EBk82r99w480=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -55,6 +56,7 @@ buildPythonPackage (finalAttrs: {
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
cachetools
|
||||
click
|
||||
cloudpickle
|
||||
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage (finalAttrs: {
|
||||
owner = "mlflow";
|
||||
repo = "mlflow";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-G5PybKonwsAg1MLOF9wc10RJE0x948+EVbcDq1+94mc=";
|
||||
hash = "sha256-2nWu+P9bGAl+1p3ZfxO2XdBMrfePJI6EBk82r99w480=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# dependencies
|
||||
aiohttp,
|
||||
alembic,
|
||||
anyio,
|
||||
cryptography,
|
||||
docker,
|
||||
flask,
|
||||
@@ -27,7 +28,7 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mlflow";
|
||||
version = "3.15.2";
|
||||
version = "3.16.0";
|
||||
format = "wheel";
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -39,7 +40,7 @@ buildPythonPackage (finalAttrs: {
|
||||
format = "wheel";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-eqWWZDUaqm9jR4zzwml3wYXbpg0ovKi5pRJb46K0MRw=";
|
||||
hash = "sha256-xKxehjSqytGj19WhoxvpJ5WT69SLhCcoQ2gtsRlwz3E=";
|
||||
};
|
||||
|
||||
# Nix-wrapped python populates sys.path via NIX_PYTHONPATH/site hooks,
|
||||
@@ -50,17 +51,10 @@ buildPythonPackage (finalAttrs: {
|
||||
patch -p1 -d "$out/lib/python"*/site-packages < ${./subprocess-pythonpath.patch}
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
|
||||
# 3.14.0 dependency check fails with pandas >= 3.0. But the code changes required are minimal
|
||||
# (strings are now `str` instead of `numpy.object`.)
|
||||
"pandas"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
alembic
|
||||
anyio
|
||||
cryptography
|
||||
docker
|
||||
flask
|
||||
|
||||
Reference in New Issue
Block a user