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

TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop' #220

Open
AndrewGPU opened this issue Nov 27, 2022 · 4 comments

Comments

@AndrewGPU
Copy link

Traceback (most recent call last):
File "/home/ubuntu/miniconda3/envs/andrew11/lib/python3.11/site-packages/aredis/connection.py", line 415, in connect
await self._connect()
File "/home/ubuntu/miniconda3/envs/andrew11/lib/python3.11/site-packages/aredis/connection.py", line 594, in _connect
reader, writer = await exec_with_timeout(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/miniconda3/envs/andrew11/lib/python3.11/site-packages/aredis/connection.py", line 39, in exec_with_timeout
return await asyncio.wait_for(coroutine, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/miniconda3/envs/andrew11/lib/python3.11/asyncio/tasks.py", line 479, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/home/ubuntu/miniconda3/envs/andrew11/lib/python3.11/asyncio/streams.py", line 48, in open_connection
transport, _ = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'

python = 3.11
3.10 version seems to be

@truekonrads
Copy link

@AndrewGPU see the pull request/branch https://github.com/truekonrads/aredis/tree/loop-deprecated-asybcio-open_connection . Either install from there or wait until aredis maintainer releases a new version.

@yogevyuval
Copy link

@mjwestcott Is this package still maintained? Do you think Is it possible to have a new release?

@jaagupku
Copy link

@yogevyuval, seems the package is unmaintained since October of 2020. You should look into coredis, a fork of this project.
https://coredis.readthedocs.io/en/latest/history.html

@Luferov
Copy link

Luferov commented Mar 15, 2024

Any status?

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

No branches or pull requests

5 participants