jupyter / jupyter_console

Jupyter Terminal Console
http://jupyter-console.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
247 stars 146 forks source link

Not compatible with Python 3.10 #263

Closed davidbrochart closed 2 years ago

davidbrochart commented 2 years ago

Launching jupyter console with Python 3.10 shows the following traceback:

Traceback (most recent call last):
  File "/home/david/mambaforge/envs/jupyter_console/bin/jupyter-console", line 8, in <module>
    sys.exit(main())
  File "/home/david/mambaforge/envs/jupyter_console/lib/python3.10/site-packages/jupyter_core/application.py", line 264, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/david/mambaforge/envs/jupyter_console/lib/python3.10/site-packages/traitlets/config/application.py", line 846, in launch_instance
    app.start()
  File "/home/david/mambaforge/envs/jupyter_console/lib/python3.10/site-packages/jupyter_console/app.py", line 148, in start
    self.shell.mainloop()
  File "/home/david/mambaforge/envs/jupyter_console/lib/python3.10/site-packages/jupyter_console/ptshell.py", line 676, in mainloop
    main_task = asyncio.wait(tasks, loop=loop, return_when=asyncio.FIRST_COMPLETED)
TypeError: wait() got an unexpected keyword argument 'loop'