asyncio-redis icon indicating copy to clipboard operation
asyncio-redis copied to clipboard

Future and roadmap of asyncio-redis

Open jonathanslenders opened this issue 4 years ago • 5 comments

Let's use this issue to discuss the future development of asyncio-redis.

As mentioned in the README:

Right now, this library is working fine, but not actively maintained, due to lack of time and shift of priorities on my side (Jonathan). Most of my time doing open source goes to prompt_toolkt community.

I still merge pull request when they are fine, especially for bug/security fixes. But for a while now, we don't have new features. If you are already using it, then there's not really a need to worry, asyncio-redis will keep working fine, and we fix bugs, but it's not really evolving.

If anyone is interested to seriously take over development, please let me know. Also keep in mind that there is a competing library called aioredis, which does have a lot of activity.

A few things I think can/should be done:

  • Drop Python 3.5 support.
  • Use proper type annotations and check the code base with mypy (the current use of type annotations dates from before mypy and is not really compatible).
  • Maybe apply a code formatter like Black.
  • Probably add more Redis commands.

jonathanslenders avatar Jan 09 '20 20:01 jonathanslenders

  • conda-forge package

crusaderky avatar Jan 10 '20 10:01 crusaderky

Adding mypy support will require completely redesigning how the Sphinx documentation for protocol.py works. 😭

crusaderky avatar Jan 15 '20 17:01 crusaderky

Hi there, chiming in since I'm using python with asyncio too. Historically I used this library, but then moved to aioredis because I needed redis stream support, which wasn't supported (that was around April).

Now I'm trying to get redis cluster working, which isn't supported in aioredis. I have found a library called aredis which support streams and redis cluster, but I also found some bugs with it for which I've made some pull requests.

aioredis has a lot of users but isn't super maintained either. Not sure where I'm going with this but sharing in case people are looking for links / options.

bsergean avatar Jan 22 '20 21:01 bsergean

@bsergean : Thanks for sharing!

@crusaderky : I know... I do regret the way type annotations are used in asyncio-redis. This dates from the time that Mypy did not yet exist.

jonathanslenders avatar Jan 22 '20 22:01 jonathanslenders

Also they will break in Python 4.0 with PEP 563 https://www.python.org/dev/peps/pep-0563/

crusaderky avatar Jan 23 '20 17:01 crusaderky