jonathanslenders / asyncio-redis

Redis client for Python asyncio (PEP 3156)
http://asyncio-redis.readthedocs.org/
Other
552 stars 74 forks source link

Broken on python 3.7.0 #124

Closed toyg closed 6 years ago

toyg commented 6 years ago

After pip install asyncio_redis, the module fails to import:

>>> import asyncio_redis
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/myprj/venv/lib/python3.7/site-packages/asyncio_redis/__init__.py", line 4, in <module>
    from .connection import *
  File "/myprj/venv/lib/python3.7/site-packages/asyncio_redis/connection.py", line 14
    ensure_future = asyncio.async
                                ^
SyntaxError: invalid syntax
mikekeda commented 6 years ago

it fixed in mater branch https://github.com/jonathanslenders/asyncio-redis/blob/master/asyncio_redis/connection.py#L14 but new version with this fix unfortunately isn't released

rafa-acioly commented 6 years ago

@mikekeda there is a date to a new release?

jonathanslenders commented 6 years ago

Hi everyone, I did release it some time ago, but forgot to notify this thread. Let me know if it's missing certain fixes.

toyg commented 6 years ago

Yup, looks fine. Thanks!