python3Packages.datasets: remove pyarrow<14.0.1 vulnerability fix

This commit is contained in:
Peder Bergebakken Sundt
2023-12-20 20:46:30 +01:00
committed by Martin Weinelt
parent 0adeb45243
commit c6e4cc714f
@@ -33,6 +33,12 @@ buildPythonPackage rec {
hash = "sha256-Q8cSgupfj6xKD0bYgL6bvYBwdYDdNaiWEWWUrRvwc4g=";
};
# remove pyarrow<14.0.1 vulnerability fix
postPatch = ''
substituteInPlace src/datasets/features/features.py \
--replace "import pyarrow_hotfix" "#import pyarrow_hotfix"
'';
propagatedBuildInputs = [
aiohttp
dill