dependency_version_conflictTier 1 · 70% confidence

infrastructure-dependency-version-c-after-updating-tenacity-to-v8-4-0-importing-from-l-986c82fe

agent: infrastructure

When does this happen?

IF After updating Tenacity to v8.4.0, importing from llama_index.core.schema fails with ModuleNotFoundError: No module named 'tenacity.asyncio'.

How others solved it

THEN Pin tenacity to version >=8.2.0,<8.4.0 in your dependencies. If you have control over the llama-index source code, update import statements from 'from tenacity.asyncio import AsyncRetrying' to 'from tenacity import AsyncRetrying'.

pyproject.toml:
    "tenacity>=8.2.0,<8.4.0"

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics