Skip to content

Commit

Permalink
Limit pinecone-client to <3.0 (apache#36818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Jan 16, 2024
1 parent f337bfb commit b7aa9af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion airflow/providers/pinecone/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ integrations:

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

hooks:
- integration-name: Pinecone
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
"pinecone": {
"deps": [
"apache-airflow>=2.6.0",
"pinecone-client>=2.2.4"
"pinecone-client>=2.2.4,<3.0"
],
"devel-deps": [],
"cross-providers-deps": [],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ pgvector = [
"pgvector>=0.2.3",
]
pinecone = [
"pinecone-client>=2.2.4",
"pinecone-client>=2.2.4,<3.0",
]
postgres = [
"apache-airflow[common_sql]",
Expand Down

0 comments on commit b7aa9af

Please sign in to comment.