aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-05-22 20:51:14 -0700
committerMicah Lee <micah@micahflee.com>2023-05-22 20:51:14 -0700
commitf41d5587d0c9ddbdc619f25c01656ea4c51f6e14 (patch)
tree1a3aa744028fb72ff2377cea51d5557d4b1d8c7f
parent50aa3a34b6697eb2d14d41ac67143cc268c6bfc5 (diff)
parentc83d7402409057aae73498f390f90c25694a16a3 (diff)
downloadonionshare-f41d5587d0c9ddbdc619f25c01656ea4c51f6e14.tar.gz
onionshare-f41d5587d0c9ddbdc619f25c01656ea4c51f6e14.zip
Merge branch 'main' into update-deps
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--cli/poetry.lock4
-rw-r--r--cli/pyproject.toml2
-rw-r--r--desktop/README.md6
-rw-r--r--desktop/poetry.lock82
-rw-r--r--desktop/pyproject.toml4
-rw-r--r--desktop/scripts/build-windows.py2
-rw-r--r--desktop/setup-freeze.py8
8 files changed, 56 insertions, 54 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 78612a6a..aebfe8eb 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -54,4 +54,4 @@ jobs:
- run: cd desktop && poetry install
- run: |
cd desktop
- QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py
+ QT_QPA_PLATFORM=offscreen QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py
diff --git a/cli/poetry.lock b/cli/poetry.lock
index 84ea05af..6404c28c 100644
--- a/cli/poetry.lock
+++ b/cli/poetry.lock
@@ -996,5 +996,5 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
[metadata]
lock-version = "2.0"
-python-versions = ">=3.8,<3.11"
-content-hash = "316bfe8d7fa61931d571b1def3ef9484d9a7dac69dba3986e259879e1f202842"
+python-versions = ">=3.8,<3.12"
+content-hash = "6db39f921a9bb6d7ca126b748425bd7f02ee407703cf8b80118cb7b994782cba"
diff --git a/cli/pyproject.toml b/cli/pyproject.toml
index d2105f26..1f26410e 100644
--- a/cli/pyproject.toml
+++ b/cli/pyproject.toml
@@ -16,7 +16,7 @@ classifiers = [
]
[tool.poetry.dependencies]
-python = ">=3.8,<3.11"
+python = ">=3.8,<3.12"
click = "*"
flask = "2.3.2"
flask-socketio = "5.3.4"
diff --git a/desktop/README.md b/desktop/README.md
index 2f08fa6c..c1e869ab 100644
--- a/desktop/README.md
+++ b/desktop/README.md
@@ -27,9 +27,11 @@ poetry install
### Get Tor
-**Linux users:** In Ubuntu 20.04 you need the `libxcb-xinerama0` package installed.
+**Linux users:** In Ubuntu you may need the `libxcb-xinerama0` package installed.
-**Windows users:** Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path.
+**Windows users:**
+- Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-togit fethc-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path.
+- Download and install gpg4win from https://gpg4win.org/. Add `C:\Program Files (x86)\GnuPG\bin` to your path too.
Download Tor Browser and extract the binaries for your platform. The platform must be `win64`, `macos`, or `linux64`.
diff --git a/desktop/poetry.lock b/desktop/poetry.lock
index 36c0f8d6..fbc15236 100644
--- a/desktop/poetry.lock
+++ b/desktop/poetry.lock
@@ -820,7 +820,7 @@ version = "2.6.1"
description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service."
category = "main"
optional = false
-python-versions = ">=3.8,<3.11"
+python-versions = ">=3.8,<3.12"
files = []
develop = true
@@ -1001,63 +1001,63 @@ files = [
[[package]]
name = "pyside6"
-version = "6.4.0"
+version = "6.5.0"
description = "Python bindings for the Qt cross-platform application and UI framework"
category = "main"
optional = false
-python-versions = "<3.11,>=3.6"
+python-versions = "<3.12,>=3.7"
files = [
- {file = "PySide6-6.4.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:eeed99066628c44113c21ba5eccd6c229d8f7ee65834a7fc45c64b0e636c606d"},
- {file = "PySide6-6.4.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:d7824b1f0c346e8db03870fa8dc5e13b18bc746a9dfabbc69c85529e85903408"},
- {file = "PySide6-6.4.0-cp36-abi3-win_amd64.whl", hash = "sha256:5df15003f0b12ed5c4c4f321ffa381784a2425441b2bd6c671d824bb03efdf2a"},
- {file = "PySide6-6.4.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:e8702ff398b7fe395a3b9f0020b8d2910ab4fcea50f259f93e936409fd367c4b"},
- {file = "PySide6-6.4.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:1b388e3fc87ebcad7ecaad751c5560625425efea4e56d553a4caa07032865c86"},
- {file = "PySide6-6.4.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:f5220d57db6890546adf81669129da6bb46546a01bf618ec58fa1e7a69d0b52c"},
+ {file = "PySide6-6.5.0-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:cb059a0f3d4b763451a1e8dec440784dff1728e9ace6cb81c541cc1354c5f3dc"},
+ {file = "PySide6-6.5.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:5102c57841b15facb0aeca1f23d689ebc528a609bf5fb907f1ef2747f6415001"},
+ {file = "PySide6-6.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:13e8e96aa7a89840575505f50b9635e6450bf413ff46288d1085b3a9f8b225c1"},
+ {file = "PySide6-6.5.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:f30e1d0319ea4d2ddac654c58377079a40f38c4cac7b6fd631902f91190c1fc8"},
+ {file = "PySide6-6.5.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:c1c7244a4e83b3a4ea965f4a85776ebc64fa3c9b4af77ad70b22e64ccec3d451"},
+ {file = "PySide6-6.5.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7242fe09aaeb3399152fa1c6c25098b93df945620a4bd81a37de0ecb2f64fd5d"},
]
[package.dependencies]
-PySide6-Addons = "6.4.0"
-PySide6-Essentials = "6.4.0"
-shiboken6 = "6.4.0"
+PySide6-Addons = "6.5.0"
+PySide6-Essentials = "6.5.0"
+shiboken6 = "6.5.0"
[[package]]
name = "pyside6-addons"
-version = "6.4.0"
+version = "6.5.0"
description = "Python bindings for the Qt cross-platform application and UI framework (Addons)"
category = "main"
optional = false
-python-versions = "<3.11,>=3.6"
+python-versions = "<3.12,>=3.7"
files = [
- {file = "PySide6_Addons-6.4.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:aceb568a684b88114c8928247019a9ffc3e133c4fe7722c7ce62224db338b335"},
- {file = "PySide6_Addons-6.4.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:236b0dbaefc03114fc1deeee0041808d64a76650b643cf9ee9d8587e3ba9059a"},
- {file = "PySide6_Addons-6.4.0-cp36-abi3-win_amd64.whl", hash = "sha256:f060df71d64bc6d88651fc51b081de26de6a1c9308f14b021943056d70e20552"},
- {file = "PySide6_Addons-6.4.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:804f2a73560dffb390f91a1fbd6f33440b1f96ce8d74e19cc893952e2e8c8966"},
- {file = "PySide6_Addons-6.4.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:59b3507db48b67707971b163aa8832beab902688288c64ffbfb2be6c487f5ec4"},
- {file = "PySide6_Addons-6.4.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:e9c108184094c54f1c7cd456ed5294a9da696d036b7079c07b2ee4a52aa0980c"},
+ {file = "PySide6_Addons-6.5.0-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:d29e84d0b54c5fdeb6cc405d537788a648da975cc58e37f0df3a17cd11a67f1d"},
+ {file = "PySide6_Addons-6.5.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:29551ca63a1cbc0fcd17fa9e477282857e2c66c3a55fdb9754b75519d5adf89a"},
+ {file = "PySide6_Addons-6.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:db7a6117c3f944b4827204ed7f346030fc10c602521f278310a78021567df28f"},
+ {file = "PySide6_Addons-6.5.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:fd5bc46cfffac7afa2f76c3dc6cb6f567a0ad1276d8177797c1bc152aec50f35"},
+ {file = "PySide6_Addons-6.5.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:9ed197a05f1c279d1589d8535040fe5e21b92fa19933e38de962050cb58f6c05"},
+ {file = "PySide6_Addons-6.5.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:1a9545df3e77c656a3708eaa3584d98ff41720c7dadf344d5126d66e83d0ab5a"},
]
[package.dependencies]
-PySide6-Essentials = "6.4.0"
-shiboken6 = "6.4.0"
+PySide6-Essentials = "6.5.0"
+shiboken6 = "6.5.0"
[[package]]
name = "pyside6-essentials"
-version = "6.4.0"
+version = "6.5.0"
description = "Python bindings for the Qt cross-platform application and UI framework (Essentials)"
category = "main"
optional = false
-python-versions = "<3.11,>=3.6"
+python-versions = "<3.12,>=3.7"
files = [
- {file = "PySide6_Essentials-6.4.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:6e11d3a7fe013bb5b259066755983378d4ae2f582e5935fd5950c3dcfa0c3ec6"},
- {file = "PySide6_Essentials-6.4.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:526434fb2ca94e54d07a7605716e4fb2e1b642440bce32c80a39e847e1710e65"},
- {file = "PySide6_Essentials-6.4.0-cp36-abi3-win_amd64.whl", hash = "sha256:576704ff198a4aa4748bc99ac1e3fcd2425d7651f44214e93cd99be37cf4d305"},
- {file = "PySide6_Essentials-6.4.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:ff744c614e5fb8e536c632ab51811a5e27641ef546364b7bdd2d0320b4115d83"},
- {file = "PySide6_Essentials-6.4.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:f7aa59dbf3aa1349f7559f5aa99f2e6e4845a3fc5af0ee602b4e5f1f666cf47f"},
- {file = "PySide6_Essentials-6.4.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:3b82f238c015f13840eb0e61167a3f776ce62fa4704ba2f329658a35c46daacb"},
+ {file = "PySide6_Essentials-6.5.0-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:4517e27fc540d9e645ea12dea82c8b29c042d66aaef46960a125cccdf0079800"},
+ {file = "PySide6_Essentials-6.5.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f00d4f10758cdc3f49f94465ead788ad294dac7d9cc5e1cc0610e97c2bdfc8d7"},
+ {file = "PySide6_Essentials-6.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:bc2e0a9dafe383ab965e98b6ddf73f709da3736197dea8eab265fd3e524db993"},
+ {file = "PySide6_Essentials-6.5.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:58a88a099171c55a7e41e519208c9ca93661d277bb73c5897a2e3f2cbe5248b7"},
+ {file = "PySide6_Essentials-6.5.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:0287ec94ee1923d430bb20836bc649a5c76a59281245de469d7f759cc73c5ea7"},
+ {file = "PySide6_Essentials-6.5.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:987c2ec04c35481c841de9b25931d2d074eb7d2e591aa5628041b2ca2df96d0e"},
]
[package.dependencies]
-shiboken6 = "6.4.0"
+shiboken6 = "6.5.0"
[[package]]
name = "pysocks"
@@ -1243,18 +1243,18 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (
[[package]]
name = "shiboken6"
-version = "6.4.0"
+version = "6.5.0"
description = "Python/C++ bindings helper module"
category = "main"
optional = false
-python-versions = "<3.11,>=3.6"
+python-versions = "<3.12,>=3.7"
files = [
- {file = "shiboken6-6.4.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:76ba24af98eb15cbdfb483142696c5ae22537d2df84c06b44eb1ab66280b29b4"},
- {file = "shiboken6-6.4.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:67b4731c55f5d74a72bede9a84691d64664cf7e1e76b606f58b39c8a61ea563d"},
- {file = "shiboken6-6.4.0-cp36-abi3-win_amd64.whl", hash = "sha256:a572a5782c65c1f77ba1da92955e25f0af56c27832cf405eae246aee0e4c1575"},
- {file = "shiboken6-6.4.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:cfd5f6c64793ecae2617f9bdbe726376583f56db1ab62ebaef43442e5695425a"},
- {file = "shiboken6-6.4.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:679870d97665b21fca018b05023c7b90b895e886adba754d8cc5d06d571a2139"},
- {file = "shiboken6-6.4.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:30bbd06fc6564a57552792e3fc9e7c85c0881d0036c5f0f0daee3054e3d727b9"},
+ {file = "shiboken6-6.5.0-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:2d7fe6534a51ec9c96b82fc6275cf75e85ab29276a9778aed756465f81adf0c1"},
+ {file = "shiboken6-6.5.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:46ff977f96c9d45dba3c3a313628356fd40e4423bb65bf2d9870b73396fad8be"},
+ {file = "shiboken6-6.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:aee9708517821aaef547c83d689bf524d6f217d47232cb313d9af9e630215eed"},
+ {file = "shiboken6-6.5.0-pp39-pypy39_pp73-macosx_10_9_universal2.whl", hash = "sha256:6e2874ea013d4cea7819935977bffa4c634ebcaabcb5287798df9f0c2f10c4c0"},
+ {file = "shiboken6-6.5.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:72888ebc5ef7295df27197c0af726bd6731e2a883b346e448e2c740b3e34bc2f"},
+ {file = "shiboken6-6.5.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:1bba668221a5cf40186cea93ced018cf788d7476d50968a3f073ebbe41ce712d"},
]
[[package]]
@@ -1437,5 +1437,5 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
[metadata]
lock-version = "2.0"
-python-versions = ">=3.8,<3.11"
-content-hash = "178a5c7de8b61633c0df63d3564f7aa39dc8e86cb959f18415aee1e3bb1b0941"
+python-versions = ">=3.8,<3.12"
+content-hash = "6611e6f2177f7fd0ab1fea969add7b3270afc185a8fd857c561154d64d3cfc72"
diff --git a/desktop/pyproject.toml b/desktop/pyproject.toml
index 6725697d..255cd73c 100644
--- a/desktop/pyproject.toml
+++ b/desktop/pyproject.toml
@@ -6,9 +6,9 @@ authors = ["Micah Lee <micah@micahflee.com>"]
license = "GPLv3+"
[tool.poetry.dependencies]
-python = ">=3.8,<3.11"
+python = ">=3.8,<3.12"
onionshare_cli = {path = "../cli", develop = true}
-PySide6 = "6.4.0"
+PySide6 = "6.5.0"
qrcode = "*"
werkzeug = "*"
python-gnupg = "*"
diff --git a/desktop/scripts/build-windows.py b/desktop/scripts/build-windows.py
index 2cc129bc..ca4d8ede 100644
--- a/desktop/scripts/build-windows.py
+++ b/desktop/scripts/build-windows.py
@@ -324,7 +324,7 @@ def cleanup_build():
build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.10")
before_size = get_size(build_path)
- for dirname in ["examples", "qml"]:
+ for dirname in ["qml"]:
shutil.rmtree(os.path.join(build_path, "lib", "PySide6", dirname))
for dirname in [
"assetimporters",
diff --git a/desktop/setup-freeze.py b/desktop/setup-freeze.py
index 7e4af3aa..ac09389d 100644
--- a/desktop/setup-freeze.py
+++ b/desktop/setup-freeze.py
@@ -52,12 +52,12 @@ elif platform.system() == "Darwin":
exec_icon = None
include_files += [
(
- os.path.join(PySide6.__path__[0], "libpyside6.abi3.6.4.dylib"),
- "libpyside6.abi3.6.4.dylib",
+ os.path.join(PySide6.__path__[0], "libpyside6.abi3.6.5.dylib"),
+ "libpyside6.abi3.6.5.dylib",
),
(
- os.path.join(shiboken6.__path__[0], "libshiboken6.abi3.6.4.dylib"),
- "libshiboken6.abi3.6.4.dylib",
+ os.path.join(shiboken6.__path__[0], "libshiboken6.abi3.6.5.dylib"),
+ "libshiboken6.abi3.6.5.dylib",
),
]