Skip to content
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

aioredis version issue: AttributeError: module 'aioredis' has no attribute 'create_redis_pool' #15

Closed
kinderp opened this issue May 6, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kinderp
Copy link

kinderp commented May 6, 2021

aioredis does not import anymore create_redis_pool method in its __init__ at least after v1.3.1 see here.

Unfortunately fastapi-plugins is still using that method in _redis.init() and it defines aioredis>=1.3.* in its setup.py see here

That can cause to raise the following exception in case aioredis > 1.3.1 has been installed in your system

AttributeError: module 'aioredis' has no attribute 'create_redis_pool'
@madkote
Copy link
Owner

madkote commented May 6, 2021

@kinderp thanks for reporting. will see asap.

@madkote madkote self-assigned this May 6, 2021
@madkote madkote added the bug Something isn't working label May 6, 2021
@RoarkJ
Copy link

RoarkJ commented Jul 31, 2021

Thanks for the comment on the aioredis error Kinderp was very helpful!

@madkote madkote closed this as completed Sep 23, 2021
@madkote
Copy link
Owner

madkote commented Sep 23, 2021

fixed in 0.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants