You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included information about relevant versions
I have verified that the issue persists when using the master branch of Faust.
Steps to reproduce
When trying to run the faust worker inside a python3.10 environment, the traceback shows that python3.10 is not still supported by faust.
This behaviour is the same for all the loops (aio, eventlet and uvloop)
Expected behavior
As it is working up until python3.9, I expect a support for python3.10
Actual behavior
The traceback shows that there is still no support for python3.10
Full traceback
Traceback (most recent call last):
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/worker.py", line 273, in execute_from_commandlineself.loop.run_until_complete(self._starting_fut)
File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 736, in startawaitself._default_start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 743, in _default_startawaitself._actually_start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 767, in _actually_startawait child.maybe_start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 795, in maybe_startawaitself.start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 736, in startawaitself._default_start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 743, in _default_startawaitself._actually_start()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/services.py", line 749, in _actually_startfor dep inself.on_init_dependencies():
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/app/base.py", line 567, in on_init_dependenciesreturnself.boot_strategy.server()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/app/base.py", line 277, in serverself.kafka_consumer(),
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/app/base.py", line 328, in kafka_consumerself.app.consumer,
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/app/base.py", line 1818, in consumerself._consumer =self._new_consumer()
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/app/base.py", line 1674, in _new_consumerreturnself.transport.create_consumer(
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/transport/base.py", line 68, in create_consumerreturnself.Consumer(self, callback=callback,
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/faust/transport/consumer.py", line 1231, in __init__self._method_queue = MethodQueue(loop=self.loop, beacon=self.beacon)
File "/private/var/folders/kq/q3dl_4s94bs8mht98sylb7vr0000gn/T/tmp.kER1fue1/venv/lib/python3.10/site-packages/mode/threads.py", line 331, in __init__self._queue = asyncio.Queue(loop=self.loop)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/queues.py", line 33, in __init__super().__init__(loop=loop)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/mixins.py", line 17, in __init__raiseTypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary
Versions
Python version: 3.10
Faust version: 1.10.4
Operating system: OSX 12.4
Kafka version: N/A
RocksDB version (if applicable): N/A
The text was updated successfully, but these errors were encountered:
Checklist
master
branch of Faust.Steps to reproduce
When trying to run the
faust
worker inside a python3.10 environment, the traceback shows that python3.10 is not still supported by faust.This behaviour is the same for all the loops (
aio
,eventlet
anduvloop
)Expected behavior
As it is working up until python3.9, I expect a support for python3.10
Actual behavior
The traceback shows that there is still no support for python3.10
Full traceback
Versions
The text was updated successfully, but these errors were encountered: