aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaptak S <saptak013@gmail.com>2021-05-07 01:23:11 +0530
committerSaptak S <saptak013@gmail.com>2021-05-07 01:25:39 +0530
commitd421bfa14baf97073d1c5d3d0781c294b171cbb5 (patch)
tree6ed11fa81d52d0489cdf321b61c55f16c4ba433c
parente067fc2963fb86afb4e51d816dea13f701cff70d (diff)
downloadonionshare-d421bfa14baf97073d1c5d3d0781c294b171cbb5.tar.gz
onionshare-d421bfa14baf97073d1c5d3d0781c294b171cbb5.zip
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.
-rw-r--r--RELEASE.md2
-rw-r--r--cli/pyproject.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 5d28a40f..e69a8184 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -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`
diff --git a/cli/pyproject.toml b/cli/pyproject.toml
index 6457a781..958d3434 100644
--- a/cli/pyproject.toml
+++ b/cli/pyproject.toml
@@ -20,7 +20,7 @@ python = "^3.6"
click = "*"
flask = "*"
flask-httpauth = "*"
-flask-socketio = "*"
+flask-socketio = "5.0.1"
psutil = "*"
pycryptodome = "*"
pysocks = "*"