Sync onionshare from debian

Bug #2102155 reported by Gauthier Jolly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
onionshare (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu is currently carrying patch python3.12.diff

--- a/cli/onionshare_cli/onion.py
+++ b/cli/onionshare_cli/onion.py
@@ -33,7 +33,7 @@ import tempfile
 import time
 import traceback

-from distutils.version import LooseVersion as Version
+from packaging.version import Version

 class TorErrorAutomatic(Exception):
--- a/cli/onionshare_cli/web/web.py
+++ b/cli/onionshare_cli/web/web.py
@@ -23,7 +23,7 @@ import os
 import queue
 import requests
 import shutil
-from distutils.version import LooseVersion as Version
+from packaging.version import Version

 import flask
 from flask import (
--- a/desktop/onionshare/update_checker.py
+++ b/desktop/onionshare/update_checker.py
@@ -22,7 +22,7 @@ from PySide2 import QtCore
 import datetime
 import re
 import socks
-from distutils.version import LooseVersion as Version
+from packaging.version import Version

 from onionshare_cli.settings import Settings

A similar change was merged upstream: https://github.com/onionshare/onionshare/commit/3bde77cd913f03b88eec7ad7777f1f23c1351495.

We should sync onionshare rather than merge.

Revision history for this message
Gauthier Jolly (gjolly) wrote :

Since we are passed the Debian Import Freeze for Plucky, this will probably have to wait for 25.10.

Gauthier Jolly (gjolly)
description: updated
Gauthier Jolly (gjolly)
description: updated
Revision history for this message
Gauthier Jolly (gjolly) wrote :
Changed in onionshare (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.