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

Fix aioredis version check for regular redis #2015

Merged
merged 1 commit into from
Jul 14, 2023
Merged

Fix aioredis version check for regular redis #2015

merged 1 commit into from
Jul 14, 2023

Conversation

Badiboy
Copy link
Collaborator

@Badiboy Badiboy commented Jul 12, 2023

Description

Fix aioredis version check for regular redis

#2010

@Badiboy
Copy link
Collaborator Author

Badiboy commented Jul 12, 2023

@coder2020official Please take a look. PR #2011 takes too much time.

@T-256
Copy link

T-256 commented Jul 14, 2023

if int(getattr(aioredis, "__version__", "2").split(".")[0]) < 2:
    raise ImportError('Invalid aioredis version. Aioredis version should be >= 2.0.0')

@Badiboy Badiboy merged commit 0f52ca6 into eternnoir:master Jul 14, 2023
8 checks passed
@Badiboy Badiboy removed the request for review from coder2020official July 14, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants