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

DeprecationWarning: loop argument #68

Open
bwentzel opened this issue Apr 6, 2021 · 1 comment
Open

DeprecationWarning: loop argument #68

bwentzel opened this issue Apr 6, 2021 · 1 comment

Comments

@bwentzel
Copy link

bwentzel commented Apr 6, 2021

Error reported continuously when using pyCEC with Home Assistant:

Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:431: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:431: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)

bash-5.0# python --version
Python 3.8.7

bash-5.0# pip show pycec
Name: pyCEC
Version: 0.4.14
...

@newAM
Copy link
Collaborator

newAM commented Apr 6, 2021

See also #60.

I cannot do much about this unfortunately, #67 to add support for Python 3.9 is still stuck in limbo.

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

2 participants