redis / redis-py

Redis Python client
MIT License
12.4k stars 2.48k forks source link

Is version 4.3.6 compatible with Python 3.6? #3243

Open Wusii opened 1 month ago

Wusii commented 1 month ago

Platform: Python 3.6

Description: I currently use redis-py version 3.5.3 and need to use the gt parameter of expire. That parameter is available since redis-py version 4.2.0. So I want to take the opportunity to upgrade redis-py to the latest version that supports python 3.6 and is at least 4.2.0.

My problem is: The documentation is inconsistent. I found that the latest version that supports Python 3.6 according to its setup.py is 4.3.6. But in the README.md since version 4.2.0 it is stated that:

redis-py supports Python 3.7+

Installing and running some tests with 4.3.6 worked fine, but I would like to get the confirmation that I will not get problems down the line with this version combination.

gerzse commented 1 month ago

@Wusii You spotted it right, the 4.3.x branch is the last one to support Python 3.6, and 4.3.6 is the last release in that branch.

That line in the readme must have been a glitch, I see that it got removed later, in the 4.4.x branch.