14
0

4 Commits

Author SHA256 Message Date
12782650fd Accepting request 1252072 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1252072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onionshare?expand=0&rev=22
2025-03-11 19:46:48 +00:00
5f2d959750 - Enable build on python 3.13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-onionshare?expand=0&rev=58
2025-03-11 13:57:41 +00:00
74121abe49 Accepting request 1249668 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1249668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onionshare?expand=0&rev=21
2025-03-03 15:05:30 +00:00
009e9d943a - version 2.9.3
* relax-async-mode.patch removed (in source)
  * Feature: It is now possible to view what URLs are visited in Share/Website mode using the CLI tool, with --log-filenames.
  * Feature: It is now possible to automatically start a saved persistent onion tab, once OnionShare itself starts and once Tor is connected.
  * Bug fix: It is now once again possible to request bridges and use meek as a Pluggable Transport.
  * Bug fix: Fixed a fatal error with Censorship Circumvention when no bridges are returned.
  * Bug fix: Fixed an issue with lack of gevent with SocketIO on systems that don't have it.
  * Bug fix: Fixed a thread-related race condition segfault with the CLI tool on shutdown.
  * Bug fix: Fixed an issue with the 'auto-stop timer' when the CLI tool is being used in 'Share mode' and someone has visited the share at least once. Desktop was unaffected, as were all other modes.
  * Locales: Gaeilge, Slovenčina and Tamil languages introduced, and various other translations in existing languages added or improved (thanks to the translators!)
  * Documentation: Added examples of using a systemd unit file for persistent onions, and various other clarifications.
  * Documentation: Documented all the config file parameters and what they mean, as well as that for persistent onion json files.
  * Packaging: Built the snap with a cleanup step in such a way that it should work on Ubuntu 24.04 and higher. Unfortunately, we have to drop support for armhf for now, as there are no PySide6 packages available on Pypi to install for that architecture. However, ARM64 is supported.
  * Packaging: Fixed ARM64 packaging for Flatpak.
  * Packaging: Many internal packaging improvements that make it easier for us to release snap and flatpak.
  * Miscellaneous: Many dependency updates to Python libraries, Tor, Snowflake
  * Miscellaneous: Various minor bug fixes/warning messages resolved, and minor changes to some wording for the 'Save this tab' option to make it clearer that this means 'persistent onion address'.
  * Miscellaneous: Nicer and more intuitive icons with better dark mode support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-onionshare?expand=0&rev=56
2025-03-03 10:15:12 +00:00
5 changed files with 36 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd8b80f75f2c83877f3bb42b815a374dcc5e748194bb88f5f671f9667170cca6
size 8332433

3
onionshare-2.6.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5846b807a85568aec2d5430eae32541b3df497af23b4ac937374e2f74a16da2
size 8884941

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Mar 11 13:31:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Enable build on python 3.13
-------------------------------------------------------------------
Thu Feb 27 09:47:19 UTC 2025 - Axel Braun <axel.braun@gmx.de>
- version 2.9.3
* relax-async-mode.patch removed (in source)
* Feature: It is now possible to view what URLs are visited in Share/Website mode using the CLI tool, with --log-filenames.
* Feature: It is now possible to automatically start a saved persistent onion tab, once OnionShare itself starts and once Tor is connected.
* Bug fix: It is now once again possible to request bridges and use meek as a Pluggable Transport.
* Bug fix: Fixed a fatal error with Censorship Circumvention when no bridges are returned.
* Bug fix: Fixed an issue with lack of gevent with SocketIO on systems that don't have it.
* Bug fix: Fixed a thread-related race condition segfault with the CLI tool on shutdown.
* Bug fix: Fixed an issue with the 'auto-stop timer' when the CLI tool is being used in 'Share mode' and someone has visited the share at least once. Desktop was unaffected, as were all other modes.
* Locales: Gaeilge, Slovenčina and Tamil languages introduced, and various other translations in existing languages added or improved (thanks to the translators!)
* Documentation: Added examples of using a systemd unit file for persistent onions, and various other clarifications.
* Documentation: Documented all the config file parameters and what they mean, as well as that for persistent onion json files.
* Packaging: Built the snap with a cleanup step in such a way that it should work on Ubuntu 24.04 and higher. Unfortunately, we have to drop support for armhf for now, as there are no PySide6 packages available on Pypi to install for that architecture. However, ARM64 is supported.
* Packaging: Fixed ARM64 packaging for Flatpak.
* Packaging: Many internal packaging improvements that make it easier for us to release snap and flatpak.
* Miscellaneous: Many dependency updates to Python libraries, Tor, Snowflake
* Miscellaneous: Various minor bug fixes/warning messages resolved, and minor changes to some wording for the 'Save this tab' option to make it clearer that this means 'persistent onion address'.
* Miscellaneous: Nicer and more intuitive icons with better dark mode support.
-------------------------------------------------------------------
Tue May 7 00:21:33 UTC 2024 - Axel Braun <axel.braun@gmx.de>

View File

@@ -1,8 +1,8 @@
#
# spec file for package python-onionshare
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2018-2024 Dr. Axel Braun
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018-2025 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%define plainpython python
Name: python-onionshare
Version: 2.6.2
Version: 2.6.3
Release: 0
Summary: Self-hosting Tor Onion Service based file sharing
License: GPL-3.0-or-later
@@ -38,8 +38,7 @@ Source0: https://github.com/onionshare/onionshare/archive/v%{version}.tar
Source99: python-onionshare.rpmlintrc
# PATCH-FIX-OPENSUSE skip test_large_download in gui tests
Patch0: 0001-adjust_tests.diff
# PATCH-FIX-OPENSUSE relax-async-mode.patch -- Do not rely on gevent
Patch1: relax-async-mode.patch
BuildRequires: %{mypython}-devel >= 3.8
BuildRequires: %{mypython}-pip
BuildRequires: %{mypython}-setuptools
@@ -135,6 +134,8 @@ Tor Browser to download the file.
%prep
%autosetup -p1 -n onionshare-%{version}
# enable python 3.13
sed -i 's/python = ">=3.10,<3.13"/python = ">=3.10,<3.14"/g' */pyproject.toml
%build
pushd cli

View File

@@ -1,17 +0,0 @@
Index: onionshare-2.6/cli/onionshare_cli/web/web.py
===================================================================
--- onionshare-2.6.orig/cli/onionshare_cli/web/web.py
+++ onionshare-2.6/cli/onionshare_cli/web/web.py
@@ -177,10 +177,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)