mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
python311Packages.dataprep-ml: relax pydantic
This commit is contained in:
parent
0247cfb75a
commit
cb1d8fd1f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user