Skip to content

Bump Flask.SocketIO version to 5.6.1#953

Merged
jhpyle merged 1 commit into
jhpyle:masterfrom
SuffolkLITLab:patch_sockets
May 12, 2026
Merged

Bump Flask.SocketIO version to 5.6.1#953
jhpyle merged 1 commit into
jhpyle:masterfrom
SuffolkLITLab:patch_sockets

Conversation

@BryceStevenWilley
Copy link
Copy Markdown
Contributor

Needed because 5.6.0 is broken on Flask versions 3.1.2 and up (docassemble is currently using 3.1.3).

An example of the errors that appear in websockets.log

  File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 815, in _handle_event
    ctx.session = session_obj
    ^^^^^^^^^^^
AttributeError: property 'session' of 'RequestContext' object has no setter

Full description of what's fixed at miguelgrinberg/Flask-SocketIO#2152.

Needed because 5.6.0 is broken on Flask versions 3.1.2 and up (docassemble
is currently using 3.1.3).

An example of the errors that appear in websockets.log

```
  File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 815, in _handle_event
    ctx.session = session_obj
    ^^^^^^^^^^^
AttributeError: property 'session' of 'RequestContext' object has no setter
```

Full description of what's fixed at miguelgrinberg/Flask-SocketIO#2152.
@jhpyle jhpyle merged commit 9c506f9 into jhpyle:master May 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants