python3Packages.datasets: remove pyarrow<14.0.1 vulnerability fix

This commit is contained in:
Peder Bergebakken Sundt 2023-12-17 00:55:56 +01:00 committed by Martin Weinelt
parent 0adeb45243
commit c6e4cc714f
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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