python3Packages.txtai: apply patch for CVE-2025-10854

Closes #457571

Not-cherry-picked-because: unsure if the bump 9.0.1 from 8.2.0 would
introduce breaking changes or not and the patch applies cleanly.
This commit is contained in:
Thomas Gerbet
2025-11-01 17:12:58 +01:00
parent db89a753b6
commit b238ce47a8

View File

@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
# build-system
setuptools,
@@ -230,6 +231,14 @@ buildPythonPackage {
inherit version src;
pyproject = true;
patches = [
(fetchpatch {
name = "CVE-2025-10854.patch";
url = "https://github.com/neuml/txtai/commit/303a2576155d3adffdc52b939b2bb05125ca479a.patch";
hash = "sha256-O1ra8esOAYQk5YT1Sr5qhxgF5YB0tBIRKxAZ9MgjQxI=";
})
];
build-system = [ setuptools ];
pythonRemoveDeps = [