I’m encountering a dependency resolution failure when trying to install pinecone (latest version 7.3.0 as of September 17, 2025) alongside xai-sdk (version 1.1.0) in a Python project. The issue stems from pinecone’s dependency on pinecone-plugin-assistant (version 2.0.0), which strictly pins packaging to >=24.2,<25.0. This conflicts with xai-sdk’s requirement of packaging >=25.0,<26, as there is no overlapping version that satisfies both.
This prevents clean installation via tools like pip or Poetry, forcing workarounds like --no-deps that risk runtime incompatibilities. It would be great if the pinecone-plugin-assistant dependency on packaging could be relaxed to >=24.2 (without the upper bound) to allow compatibility with newer versions of packaging, which are generally backward-compatible.
Steps to Reproduce
-
Create a new virtual environment with Python 3.12 (or similar recent version).
-
Add the following to a requirements.txt or pyproject.toml:
pinecone==7.3.0 xai-sdk==1.1.0
-
Run pip install -r requirements.txt (or equivalent for your package manager).
Expected Behavior The packages install successfully, resolving to a compatible version of packaging (e.g., 25.x).
Actual Behavior Pip/Poetry fails with a version solving error. Here’s the full error message:
Because no versions of pinecone-plugin-assistant match >1.6.0,<1.6.1 || >1.6.1,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<2.0.0
and pinecone-plugin-assistant (1.6.0) depends on packaging (>=24.2,<25.0), pinecone-plugin-assistant (>=1.6.0,<1.6.1 || >1.6.1,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<2.0.0) requires packaging (>=24.2,<25.0).
And because pinecone-plugin-assistant (1.6.1) depends on packaging (>=24.2,<25.0), pinecone-plugin-assistant (>=1.6.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<2.0.0) requires packaging (>=24.2,<25.0).
And because pinecone-plugin-assistant (1.7.0) depends on packaging (>=24.2,<25.0)
and pinecone-plugin-assistant (1.8.0) depends on packaging (>=24.2,<25.0), pinecone-plugin-assistant (>=1.6.0,<2.0.0) requires packaging (>=24.2,<25.0).
Because no versions of pinecone match >7.3.0,<8.0.0
and pinecone (7.3.0) depends on pinecone-plugin-assistant (>=1.6.0,<2.0.0), pinecone (>=7.3.0,<8.0.0) requires pinecone-plugin-assistant (>=1.6.0,<2.0.0).
Thus, pinecone (>=7.3.0,<8.0.0) requires packaging (>=24.2,<25.0).
And because xai-sdk (1.1.0) depends on packaging (>=25.0,<26)
and no versions of xai-sdk match >1.1.0,<2.0.0, pinecone (>=7.3.0,<8.0.0) is incompatible with xai-sdk (>=1.1.0,<2.0.0).
So, because my-project depends on both xai-sdk (>=1.1.0,<2.0.0) and pinecone (^7.3.0), version solving failed.
Environment
-
Python: 3.12.x
-
OS: macOS
-
Package manager: Poetry 2.1.4
Request Could the team update the packaging dependency in pinecone-plugin-assistant (and thus pinecone client) to support >=24.2 without the <25.0 upper bound? This would resolve conflicts with libraries like xai-sdk that have moved to 25.x. If there’s a specific reason for the pin (e.g., a breaking change in 25.0), please share details.