python3Packages.mistral-common: 1.8.4 -> 1.8.5

Diff: https://github.com/mistralai/mistral-common/compare/v1.8.4...v1.8.5

Changelog: https://github.com/mistralai/mistral-common/releases/tag/v1.8.5
This commit is contained in:
Gaetan Lepage
2025-11-26 10:41:07 +00:00
parent 610b940993
commit 3950db773f
@@ -33,14 +33,14 @@
buildPythonPackage rec {
pname = "mistral-common";
version = "1.8.4";
version = "1.8.5";
pyproject = true;
src = fetchFromGitHub {
owner = "mistralai";
repo = "mistral-common";
tag = "v${version}";
hash = "sha256-HB6dsqiDSLhjyANk7ZT/cU98mjJamegAF0uKH8GfgM8=";
hash = "sha256-k0En4QHQGzuUm6kdAyPQhbCrmwX3ay/xJ/ktCxiZIBk=";
};
build-system = [ setuptools ];
@@ -58,6 +58,32 @@ buildPythonPackage rec {
typing-extensions
];
optional-dependencies = lib.fix (self: {
opencv = [
opencv-python-headless
];
sentencepiece = [
sentencepiece
];
soundfile = [
soundfile
];
soxr = [
soxr
];
audio = self.soundfile ++ self.soxr;
image = self.opencv;
hf-hub = [
huggingface-hub
];
server = [
click
fastapi
pydantic-settings
]
++ fastapi.optional-dependencies.standard;
});
pythonImportsCheck = [ "mistral_common" ];
nativeCheckInputs = [