Unable to run on system with Python 3.10
Unable to run cerbero-uninstalled on latest Arch Linux with python 3.10. Every time it throws error ending with:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/storage/work/sdk/cerbero/cerbero/main.py", line 183, in main
Main(sys.argv[1:])
File "/storage/work/sdk/cerbero/cerbero/main.py", line 53, in __init__
self.run_command()
File "/storage/work/sdk/cerbero/cerbero/main.py", line 152, in run_command
res = commands.run(command, self.config, self.args)
File "/storage/work/sdk/cerbero/cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "/storage/work/sdk/cerbero/cerbero/commands/package.py", line 83, in run
self._build_deps(config, p, args.no_devel, args.offline, args.dry_run, args.jobs)
File "/storage/work/sdk/cerbero/cerbero/commands/package.py", line 129, in _build_deps
build_command.runargs(config, package.recipes_dependencies(has_devel),
File "/storage/work/sdk/cerbero/cerbero/commands/build.py", line 91, in runargs
oven.start_cooking()
File "/storage/work/sdk/cerbero/cerbero/build/oven.py", line 131, in start_cooking
run_until_complete(self._cook_recipes(ordered_recipes))
File "/storage/work/sdk/cerbero/cerbero/utils/__init__.py", line 627, in run_until_complete
result = loop.run_until_complete(tasks)
File "/usr/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/storage/work/sdk/cerbero/cerbero/build/oven.py", line 320, in _cook_recipes
default_queue = asyncio.PriorityQueue(loop=loop)
File "/usr/lib/python3.10/asyncio/queues.py", line 33, in __init__
super().__init__(loop=loop)
File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__
raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from PriorityQueue() since it is no longer necessary
Edited by Nikita Semakhin