diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-10 10:52:10 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:33 +0200 |
commit | ebcf3311fa3b611984de09b06dec4b45677108e2 (patch) | |
tree | ca55ba747fc534e19b4aa6de03c628312ce8d8d6 /gnu/packages/patches/onionshare-cli-async-mode.patch | |
parent | 4db0aaf4ad08b334fcde872fd7bbaf0b3a15009d (diff) |
gnu: onionshare-cli: Update to 2.6.3.
* gnu/packages/tor.scm (onionshare-cli): Update to 2.6.3.
[source] <patches>: Remove it.
[build-system]: Switch to pyproject.
[arguments] <phases>: Add 'relax-requirments and 'pre-check; use default
'check.
[inputs]: Remove python-flask-httpauth, python-pycryptodome, and
python-urllib3; add python-cffi, python-flask-compress,
python-gevent, python-gevent-websocket, python-packaging,
python-qrcode, python-setuptools, python-urllib3-next,
python-waitress, and python-werkzeug.
[native-inputs]: Add python-cython-3, python-poetry-core, and
python-wheel.
* gnu/packages/patches/onionshare-cli-async-mode.patch: Delete file.
* gnu/local.mk: Deregister patch.
Change-Id: If0ee795992dc5a91fabcd70b16646eb5cc7aab2c
Diffstat (limited to 'gnu/packages/patches/onionshare-cli-async-mode.patch')
-rw-r--r-- | gnu/packages/patches/onionshare-cli-async-mode.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gnu/packages/patches/onionshare-cli-async-mode.patch b/gnu/packages/patches/onionshare-cli-async-mode.patch deleted file mode 100644 index b71b56046d..0000000000 --- a/gnu/packages/patches/onionshare-cli-async-mode.patch +++ /dev/null @@ -1,25 +0,0 @@ -Specifying the `async_mode` parameter seems to have been a workaround for -packaging on Windows and macOS. If not given, flask_socketio.SocketIO will -probe for an available asynchronous model, e.g. `eventlet`, and otherwise gets -stuck if `gevent-socketio` is not available. - -c.f. https://github.com/onionshare/onionshare/commit/ec7fa4ef16c9e1ba6028ee927c23f76c399a17a6 -and https://github.com/onionshare/onionshare/issues/1510 - -diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py -index 64844b5..7e1b095 100644 ---- a/cli/onionshare_cli/web/web.py -+++ b/cli/onionshare_cli/web/web.py -@@ -164,10 +164,10 @@ class Web: - elif self.mode == "chat": - if self.common.verbose: - self.socketio = SocketIO( -- async_mode="gevent", logger=True, engineio_logger=True -+ logger=True, engineio_logger=True - ) - else: -- self.socketio = SocketIO(async_mode="gevent") -+ self.socketio = SocketIO() - self.socketio.init_app(self.app) - self.chat_mode = ChatModeWeb(self.common, self) - |