python313Packages.redis-om: fix pythonImportsCheck (#447515)

This commit is contained in:
dotlambda
2025-10-08 23:09:36 +00:00
committed by GitHub
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
fetchpatch,
unasync,
poetry-core,
python,
@@ -24,8 +24,6 @@ buildPythonPackage rec {
version = "0.3.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "redis";
repo = "redis-om-python";
@@ -33,6 +31,15 @@ buildPythonPackage rec {
hash = "sha256-TfwMYDZYDKCdI5i8izBVZaXN5GC/Skhkl905c/DHuXY=";
};
patches = [
# Include redis_om package, https://github.com/redis/redis-om-python/pull/718
(fetchpatch {
name = "include-redis_om.patch";
url = "https://github.com/redis/redis-om-python/commit/cc03485f148dcc2f455dd8cafd3b116758504c50.patch";
hash = "sha256-UzQfRbLCTnKW5jxQhldI9KCuN//bx3/PvNnfd872D+o=";
})
];
build-system = [
unasync
poetry-core