tornadoweb / tornado

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
http://www.tornadoweb.org/
Apache License 2.0
21.76k stars 5.51k forks source link

Please update to 3.11 #3372

Closed Bluscream closed 7 months ago

Bluscream commented 7 months ago

I get the following error and from reading stackoverflow it means that your library is not compatible with 3.11 yet

root@homeserver:/tmp# /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
Traceback (most recent call last):
  File "/usr/local/bin/meyectl", line 5, in <module>
    from motioneye.meyectl import main
  File "/usr/local/lib/python3.11/dist-packages/motioneye/meyectl.py", line 29, in <module>
    from motioneye import config, settings
  File "/usr/local/lib/python3.11/dist-packages/motioneye/config.py", line 31, in <module>
    from motioneye import meyectl, motionctl, settings, tasks, uploadservices, utils
  File "/usr/local/lib/python3.11/dist-packages/motioneye/motionctl.py", line 25, in <module>
    from tornado.httpclient import AsyncHTTPClient, HTTPRequest
  File "/usr/local/lib/python3.11/dist-packages/tornado/httpclient.py", line 50, in <module>
    from tornado import gen, httputil, stack_context
  File "/usr/local/lib/python3.11/dist-packages/tornado/httputil.py", line 107, in <module>
    class HTTPHeaders(collections.MutableMapping):
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'MutableMapping'
bdarnell commented 7 months ago

It looks like you're using a very old version of Tornado; that line was changed six years ago. To use Python 3.11, upgrade to Tornado 6.x.