-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Fix import error #473
Fix import error #473
Conversation
istrebitel-1
commented
Jun 17, 2024
- If library installed from pypi, import were not correct
- If library installed from pypi, import were not correct
|
tenacity/__init__.py
Outdated
@@ -650,7 +650,7 @@ def wrap(f: WrappedFn) -> WrappedFn: | |||
return wrap | |||
|
|||
|
|||
from tenacity.asyncio import AsyncRetrying # noqa:E402,I100 | |||
from tenacity._asyncio import AsyncRetrying # noqa:E402,I100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong, there's no _asyncio
module in the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's in library generation, asyncio module now not creating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maximlt check again pls
I have narrowed it down to be due to the setuptools configuration: #471 (comment) |
- Add asyncio to build package
yes, got same solution |
Should be fixed by #474 |