Skip to content

Commit 025f88b

Browse files
Taragolisephraimbuddy
authored andcommitted
Limit pinecone-client to <3.0 (#36818)
(cherry picked from commit b7aa9af)
1 parent 04261f8 commit 025f88b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

airflow/providers/pinecone/provider.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ integrations:
4040

4141
dependencies:
4242
- apache-airflow>=2.6.0
43-
- pinecone-client>=2.2.4
43+
# Pinecone Python SDK v3.0.0 was released at 2024-01-16 and introduce some breaking changes.
44+
# It's crucial to adhere to the v3.0.0 Migration Guide before the upper-bound limitation can be removed.
45+
# https://canyon-quilt-082.notion.site/Pinecone-Python-SDK-v3-0-0-Migration-Guide-056d3897d7634bf7be399676a4757c7b
46+
- pinecone-client>=2.2.4,<3.0
4447

4548
hooks:
4649
- integration-name: Pinecone

generated/provider_dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@
904904
"pinecone": {
905905
"deps": [
906906
"apache-airflow>=2.6.0",
907-
"pinecone-client>=2.2.4"
907+
"pinecone-client>=2.2.4,<3.0"
908908
],
909909
"devel-deps": [],
910910
"cross-providers-deps": [],

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ pgvector = [
862862
"pgvector>=0.2.3",
863863
]
864864
pinecone = [
865-
"pinecone-client>=2.2.4",
865+
"pinecone-client>=2.2.4,<3.0",
866866
]
867867
postgres = [
868868
"apache-airflow[common_sql]",

0 commit comments

Comments
 (0)