Find answers from the community

Updated 3 months ago

Checking package compatibility with llama-index-core version

At a glance

The community member is asking about the best way to ensure package compatibility with a specific version of llama-index-core. They mention that when they install the latest versions of packages like llama-index-llms-gemini, they often have to manually resolve compatibility issues.

Another community member responds that there is no easy way to check compatibility for older packages. This is because package version requirements can change over time, and newer versions may require a different version of llama-index-core. The recommended approach is to get the latest versions working, and then pin the versions to avoid compatibility issues when updating.

what's the best way to see what packages are compatible with what version of llama-index-core?

like if I installed llama-index-core 0.10.44, I want to make sure the packages like llama-index-llms-gemini version is compatible. a lot of times i'll install the latest version of the packages and will have resolve it manually.
L
1 comment
Hmm, I don't think there's an easy way for older packages

This is because, for example llama-index-llms-gemini might have a version req like

llama-index-core = "^0.10.0"

But then a change in core requires gemini to update

llama-index-core = "^0.10.15"

So technically, the older verions of gemini will think 0.10.15 is still fine, but the newer versions know that they need 0.10.15

I would get it working with latest, and then just pin your versions and only update when you need to
Add a reply
Sign up and join the conversation on Discord