From cb6802382da5d77d4c35910fb80c664f55c43612 Mon Sep 17 00:00:00 2001 From: rohanshah18 Date: Tue, 16 Dec 2025 11:27:09 -0500 Subject: [PATCH 1/2] expand protobuf version to include v6.x --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53296c76..d88e9cfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ grpc = [ "grpcio>=1.68.0; python_version>='3.13'", "googleapis-common-protos>=1.66.0", "lz4>=3.1.3", - "protobuf>=5.29.5,<6.0.0", + "protobuf>=5.29.5,<7.0.0", "protoc-gen-openapiv2>=0.0.1,<0.1.0", ] asyncio = [ diff --git a/uv.lock b/uv.lock index 8ba4bbf1..b94410fc 100644 --- a/uv.lock +++ b/uv.lock @@ -1580,7 +1580,7 @@ wheels = [ [[package]] name = "pinecone" -version = "7.3.0" +version = "8.0.0" source = { editable = "." } dependencies = [ { name = "certifi" }, @@ -1662,7 +1662,7 @@ requires-dist = [ { name = "pinecone-plugin-assistant", specifier = ">=3.0.1,<4.0.0" }, { name = "pinecone-plugin-interface", specifier = ">=0.0.7,<0.1.0" }, { name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.0.0,<4.0.0" }, - { name = "protobuf", marker = "extra == 'grpc'", specifier = ">=5.29.5,<6.0.0" }, + { name = "protobuf", marker = "extra == 'grpc'", specifier = ">=5.29.5,<7.0.0" }, { name = "protoc-gen-openapiv2", marker = "extra == 'grpc'", specifier = ">=0.0.1,<0.1.0" }, { name = "pytest", marker = "extra == 'dev'", specifier = "==8.2.0" }, { name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.25.2,<0.26.0" }, From 0f605673bab3862f8c6edd779b6a443ff053e1f5 Mon Sep 17 00:00:00 2001 From: rohanshah18 Date: Tue, 16 Dec 2025 13:30:27 -0500 Subject: [PATCH 2/2] fix regex and target-version --- .github/workflows/publish-to-pypi.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index e67a9407..39f6ffaa 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -83,7 +83,7 @@ jobs: - name: Bump pyproject.toml version run: | - python -c "import re; content = open('pyproject.toml').read(); content = re.sub(r'version = \"[^\"]+\"', 'version = \"${{ steps.bump.outputs.version }}\"', content); open('pyproject.toml', 'w').write(content)" + python -c "import re; content = open('pyproject.toml').read(); content = re.sub(r'^version = \"[^\"]+\"', 'version = \"${{ steps.bump.outputs.version }}\"', content, flags=re.MULTILINE); open('pyproject.toml', 'w').write(content)" - name: Build Python client run: make package diff --git a/pyproject.toml b/pyproject.toml index d88e9cfc..1e9b8932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,7 @@ exclude = [ line-length = 100 indent-width = 4 -target-version = "8.0.0" +target-version = "py310" [tool.ruff.lint] # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.