-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: import errors due to Tenacity update #14190
Comments
Hello, @evgerher! I'm here to assist you with bugs, questions, and becoming a contributor. Let's tackle this issue together. To address the Here is an example of how you can update the import statements: # Old import statement (before Tenacity 8.0.0)
# from tenacity.asyncio import AsyncRetrying
# New import statement (Tenacity 8.0.0 and later)
from tenacity import AsyncRetrying Make sure to update all instances where As a temporary workaround, you can pin the Tenacity version in your tenacity = ">=8.2.0,<8.4.0" This should prevent the import issues until the necessary updates are made in the |
@evgerher Thanks for the fix! Respect 🙏 |
This should be fixed, thanks! |
Bug Description
Tenacity library recently updated to v8.4.0 and they had broken some of the imports.
llama-index has no issues with it, current hot fix I used in pyproject.toml is next:
The same issue as here
tenacity
is upgraded to8.4.0
. langchain-ai/langchain#22972Version
0.10.45
Steps to Reproduce
Relevant Logs/Tracbacks
The text was updated successfully, but these errors were encountered: