question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeprecationWarning: The loop argument is deprecated since Python 3.8

See original GitHub issue
$proxybroker find --types https --lvl High -l 10
/home/user/.local/lib/python3.9/site-packages/proxybroker/cli.py:380: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  proxies = asyncio.Queue(loop=loop)
/usr/lib/python3.9/asyncio/queues.py:48: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._finished = locks.Event(loop=loop)
/home/user/.local/lib/python3.9/site-packages/proxybroker/api.py:97: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._on_check = asyncio.Queue(maxsize=max_conn, loop=self._loop)
/usr/lib/python3/dist-packages/aiohttp/connector.py:964: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  hosts = await asyncio.shield(self._resolve_host(
/usr/lib/python3/dist-packages/aiohttp/locks.py:21: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._event = asyncio.Event(loop=loop)
/usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using send() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
  warnings.warn(
DeprecationWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using recv() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
  warnings.warn(
DeprecationWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using close() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
  warnings.warn(
DeprecationWarning: Enable tracemalloc to get the object allocation traceback


<Proxy RO 0.11s [HTTPS] 84.247.51.123:3128>
proxies*9```

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
bluetcommented, Aug 20, 2022

As this project is not maintained by the original developer, we’ve forked ProxyBroker and continued maintaining the proxybroker2 project since 2020.

If anyone’s interested, please join. We need more volunteers. 😃

0reactions
ResistOrRegretcommented, Apr 18, 2022

I got this as well. I agree with taewookim. This repo doesn’t appear to be maintained.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are all these deprecated "loop" parameters in asyncio?
This issue would be fixed in Python 3.6 and 3.5.3, where get_event_loop() was modified to reliably return the running loop if called from...
Read more >
Issue 45097: "The loop argument is deprecated" reported ...
msg401032 ‑ (view) Author: (yan12125) * Date: 2021‑09‑04 02:41 msg401044 ‑ (view) Author: Serhiy Storchaka (serhiy.storchaka) * Date: 2021‑09‑04 13:09 msg401049 ‑ (view) Author: Serhiy...
Read more >
The loop argument is deprecated since Python 3.8, and ...
I was doing some unit testing for some code that uses the amqtt.client module and this warning showed up two times.
Read more >
Stop using deprecated loop argument and fix other warnings
py:81: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. self._context.run(self.
Read more >
there is no current event loop loop = asyncio.get_event_loop ...
Deprecated since version 3.10: Deprecation warning is emitted if no positional arguments are provided or not all positional arguments are Future-like ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found