python311Packages.dataprep-ml: relax pydantic

This commit is contained in:
Fabian Affolter 2024-01-18 23:24:08 +01:00
parent 0247cfb75a
commit cb1d8fd1f5

View File

@ -1,24 +1,28 @@
{ lib
, buildPythonPackage
, colorlog
, dataclasses-json
, fetchPypi
, pythonOlder
, poetry-core
, nltk-data
, numpy
, pandas
, poetry-core
, pydantic
, pydateinfer
, python-dateutil
, pythonOlder
, pythonRelaxDepsHook
, scipy
, type-infer
, dataclasses-json
, colorlog
, pydantic
, nltk-data
, symlinkJoin
, type-infer
}:
let
testNltkData = symlinkJoin {
name = "nltk-test-data";
paths = [ nltk-data.punkt nltk-data.stopwords ];
paths = [
nltk-data.punkt
nltk-data.stopwords
];
};
in
buildPythonPackage rec {
@ -35,20 +39,25 @@ buildPythonPackage rec {
hash = "sha256-BtnRmj5JtgNdCFowgNdpIZn5vUdw8QYCWneHfDgC4/c=";
};
pythonRelaxDeps = [
"pydantic"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
colorlog
dataclasses-json
numpy
pandas
pydantic
pydateinfer
python-dateutil
scipy
type-infer
dataclasses-json
colorlog
pydantic
];
# PyPI tarball has no tests