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

Redis is not usable with Python 3.11.3, which was recently released #2700

Closed
mdnorman opened this issue Apr 6, 2023 · 3 comments
Closed
Labels
bug Bug

Comments

@mdnorman
Copy link

mdnorman commented Apr 6, 2023

Thanks for wanting to report an issue you've found in redis-py. Please delete this text and fill in the template below.
It is of course not always possible to reduce your code to a small test case, but it's highly appreciated to have as much data as possible. Thank you!

Version: What redis-py and what redis version is the issue happening on?

redis==4.5.4

Platform: What platform / version? (For example Python 3.5.1 on Windows 7 / Ubuntu 15.10 / Azure)

Python 3.11 on Linux

Description: Description of your issue, stack traces from errors and code that reproduces the issue

I attempted to upgrade my system to Python 3.11.3 since the Docker image was updated yesterday. However, async-timeout silently failed to install due to a requirement in the Redis setup.py that made its way into my Pipfile.lock.

@mdnorman mdnorman changed the title Redis is not usable with Python 3.11.3, which dropped recently Redis is not usable with Python 3.11.3, which was recently released Apr 6, 2023
@sileht
Copy link
Contributor

sileht commented Apr 12, 2023

async-timeout is not a requirement of Redis when used with Python 3.11.3 anymore. Your Pipfile.lock seems out of sync.

@sileht
Copy link
Contributor

sileht commented Apr 12, 2023

Maybe related to #2699

@mdnorman
Copy link
Author

I should have mentioned that the redis code seems to still attempt to import the library, so loading the redis library fails without this library.

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

No branches or pull requests

3 participants