From aa0182d0f79fd443ef6927d66b943c1dfe834e43 Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Tue, 26 Nov 2024 10:29:38 -0500 Subject: [PATCH] Allow support for `pinecone-plugin-inference` `>=2.0.0, <4.0.0` (#419) ## Problem We're planning on bumping the inference plugin to a new major version, and we need to loosen the requirements with a version range to support installing the new plugin. ## Solution Loosen version requirements on pinecone-plugin-inference to allow up to but not including version 4.0.0: `pinecone-plugin-inference = ">=2.0.0, <4.0.0"` ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update - [ ] Infrastructure change (CI configs, etc) - [ ] Non-code change (docs, etc) - [ ] None of the above: (explain here) ## Test Plan n/a --- poetry.lock | 5 ++--- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 88303c9f..71286f74 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "astunparse" @@ -1254,7 +1254,6 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -1617,4 +1616,4 @@ grpc = ["googleapis-common-protos", "grpcio", "grpcio", "lz4", "protobuf", "prot [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "0823a7b71260e2e723e281446f1995a1033a3301cbb933b605b202ea55583e4d" +content-hash = "811637922a10b2fc316973e2b317b0d3c92336fd009f50aea75f9354a935cefc" diff --git a/pyproject.toml b/pyproject.toml index 7df1eb7d..cc64dbc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ lz4 = { version = ">=3.1.3", optional = true } protobuf = { version = "^4.25", optional = true } protoc-gen-openapiv2 = {version = "^0.0.1", optional = true } pinecone-plugin-interface = "^0.0.7" -pinecone-plugin-inference = "^2.0.0" +pinecone-plugin-inference = ">=2.0.0, <4.0.0" python-dateutil = ">=2.5.3" [tool.poetry.group.types]