python312Packages.pinecone-plugin: 4.1.2 -> 5.4.2 (#368113)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
dnspython,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
loguru,
|
||||
numpy,
|
||||
poetry-core,
|
||||
@@ -10,27 +10,33 @@
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
requests,
|
||||
pandas,
|
||||
setuptools,
|
||||
tqdm,
|
||||
typing-extensions,
|
||||
pinecone-plugin-interface,
|
||||
pinecone-plugin-inference,
|
||||
urllib3,
|
||||
googleapis-common-protos,
|
||||
lz4,
|
||||
protobuf,
|
||||
grpcio,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone-client";
|
||||
version = "4.1.2";
|
||||
version = "5.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pinecone_client";
|
||||
inherit version;
|
||||
hash = "sha256-+onGBXkuyU3jbUyVhSULR7C2Q0B0VwU+yokAhCS+YoE=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pinecone-io";
|
||||
repo = "pinecone-python-client";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5BCjqcJ+xCTTF/Q+PrgNV4Y/GcT2cfNqvY1ydUL6EZ8=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "urllib3" ];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
poetry-core
|
||||
@@ -41,6 +47,8 @@ buildPythonPackage rec {
|
||||
loguru
|
||||
numpy
|
||||
python-dateutil
|
||||
pinecone-plugin-interface
|
||||
pinecone-plugin-inference
|
||||
pyyaml
|
||||
requests
|
||||
tqdm
|
||||
@@ -48,16 +56,13 @@ buildPythonPackage rec {
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Tests require network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pinecone" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
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 ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
pinecone-plugin-interface,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone-plugin-inference";
|
||||
version = "3.1.0";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pinecone_plugin_inference";
|
||||
inherit version;
|
||||
hash = "sha256-7/gmF44f5EhXe+L/PY27Byvvu9wtiI4hRiRSOhw3zY0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pinecone-plugin-interface
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.pinecone.io/";
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
description = "Embeddings plugin for Pinecone SDK";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone-plugin-interface";
|
||||
version = "0.0.7";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pinecone_plugin_interface";
|
||||
inherit version;
|
||||
hash = "sha256-uOZnXkGEczOqE5I8xE2qP4VnbXFXMkaC3BZAWIqYKEY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.pinecone.io/";
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
description = "Plugin interface for the Pinecone python client";
|
||||
};
|
||||
}
|
||||
@@ -10272,6 +10272,10 @@ self: super: with self; {
|
||||
|
||||
pinecone-client = callPackage ../development/python-modules/pinecone-client { };
|
||||
|
||||
pinecone-plugin-interface = callPackage ../development/python-modules/pinecone-plugin-interface { };
|
||||
|
||||
pinecone-plugin-inference = callPackage ../development/python-modules/pinecone-plugin-inference { };
|
||||
|
||||
psrpcore = callPackage ../development/python-modules/psrpcore { };
|
||||
|
||||
pyaprilaire = callPackage ../development/python-modules/pyaprilaire { };
|
||||
|
||||
Reference in New Issue
Block a user