Pins flask-socketio to 5.0.1 in pyproject.toml

Also updates the RELEASE.md to document the need to update
the socket.io.min.js file whenever we want to update
flask-socketio to ensure that they are compatible with each
other, failing which, the chat stops works.
This commit is contained in:
Saptak S 2021-05-07 01:23:11 +05:30
parent e067fc2963
commit d421bfa14b
No known key found for this signature in database
GPG Key ID: 2D9B32E54C68A3FB
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Before making a release, you must update the version in these places:
- [ ] `docs/source/conf.py` (`version` at the top, and the `versions` list too)
- [ ] `snap/snapcraft.yaml`
If you update flask-socketio, ensure that you also update the [socket.io.min.js](https://github.com/micahflee/onionshare/blob/develop/cli/onionshare_cli/resources/static/js/socket.io.min.js) file to a version that is [supported](https://flask-socketio.readthedocs.io/en/latest/#version-compatibility) by the updated version of flask-socketio.
Use tor binaries from the latest Tor Browser:
- [ ] `desktop/scripts/get-tor-osx.py`

View File

@ -20,7 +20,7 @@ python = "^3.6"
click = "*"
flask = "*"
flask-httpauth = "*"
flask-socketio = "*"
flask-socketio = "5.0.1"
psutil = "*"
pycryptodome = "*"
pysocks = "*"