python3Packages.tensorflow-datasets: fetch patch to fix pillow 12 compat

This commit is contained in:
Gaetan Lepage
2025-11-21 08:05:59 +00:00
parent d80d88ce82
commit 5e0ffdda4b
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
# build system
setuptools,
@@ -74,6 +75,17 @@ buildPythonPackage rec {
hash = "sha256-ZXaPYmj8aozfe6ygzKybId8RZ1TqPuIOSpd8XxnRHus=";
};
patches = [
# TypeError: Cannot handle this data type: (1, 1, 4), <u2
# Issue: https://github.com/tensorflow/datasets/issues/11148
# PR: https://github.com/tensorflow/datasets/pull/11149
(fetchpatch2 {
name = "fix-pillow-12-compat";
url = "https://github.com/tensorflow/datasets/pull/11149/commits/21062d65b33978f2263443280c03413add5c0224.patch";
hash = "sha256-GWb+1E5lQNhFVp57sqjp+WqzZSva1AGpXe9fbvXXeIA=";
})
];
build-system = [ setuptools ];
dependencies = [