mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #282741 from wegank/pinecone-fix
python311Packages.pinecone-client: fix build
This commit is contained in:
commit
611db16452
@ -2,6 +2,8 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, poetry-core
|
||||
, pythonRelaxDepsHook
|
||||
, numpy
|
||||
, pyyaml
|
||||
, python-dateutil
|
||||
@ -18,12 +20,15 @@ buildPythonPackage rec {
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "pinecone_client";
|
||||
inherit version;
|
||||
hash = "sha256-F2mWUpFMn2ipopa3UjvzrmNZsHtdRrUwfkuHbDYBElo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -38,12 +43,20 @@ buildPythonPackage rec {
|
||||
loguru
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"urllib3"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pinecone"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.pinecone.io/";
|
||||
description = "The Pinecone python client";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [happysalada];
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user