depot/third_party/nixpkgs/pkgs/development/python-modules/pinecone-client/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

66 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
dnspython,
fetchPypi,
loguru,
numpy,
poetry-core,
python-dateutil,
pythonOlder,
pythonRelaxDepsHook,
pyyaml,
requests,
setuptools,
tqdm,
typing-extensions,
urllib3,
}:
buildPythonPackage rec {
pname = "pinecone-client";
version = "4.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "pinecone_client";
inherit version;
hash = "sha256-QgYqYo56lB0Lwku4r7Am861NJkzwbWpiej3lgyFK494=";
};
pythonRelaxDeps = [ "urllib3" ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
build-system = [
setuptools
poetry-core
];
dependencies = [
dnspython
loguru
numpy
python-dateutil
pyyaml
requests
tqdm
typing-extensions
urllib3
];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pinecone" ];
meta = with lib; {
description = "Pinecone python client";
homepage = "https://www.pinecone.io/";
changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
};
}