aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-09-05 15:45:04 -0700
committerMicah Lee <micah@micahflee.com>2023-09-05 15:45:04 -0700
commit7b40bf8d5f15dbbcf5888d5a4fc3b1e651458ba6 (patch)
tree3d3834f0feb5048dcd0f3775778c17c4183e98bd
parent82369d957672065a84f506a381f6ecacc67f1a37 (diff)
downloadonionshare-7b40bf8d5f15dbbcf5888d5a4fc3b1e651458ba6.tar.gz
onionshare-7b40bf8d5f15dbbcf5888d5a4fc3b1e651458ba6.zip
Start upgrading snap, but still working on PySide6/Qt6
-rw-r--r--RELEASE.md11
-rw-r--r--snap/snapcraft.yaml21
2 files changed, 20 insertions, 12 deletions
diff --git a/RELEASE.md b/RELEASE.md
index edd1e51e..1b3eacbf 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -78,7 +78,16 @@ In `snap/snapcraft.yaml`:
- [ ] The `tor`, `libevent`, `obfs4`, `snowflake-client`, and `meek-client` parts should be updated if necessary
- [ ] In the `onionshare` part, in the `override-pull` section, all of the dependencies in the `requirements.txt` file should match the dependencies listed in `cli/pyproject.toml` and `desktop/pyproject.toml`, with the exception of PySide2
-- [ ] With every commit to the `main` branch, Snapcraft's CI should trigger builds. Make sure the builds all succeeded at https://snapcraft.io/onionshare/builds (you must be logged in), and test them. You can install them with: `snap install onionshare --edge`
+
+To test locally:
+
+- Install snapcraft with: `sudo snap install snapcraft --classic`
+- Build snap with: `snapcraft`
+- Install with: `sudo snap install ./onionshare_${VERSION}_amd64.snap --devmode`
+
+To in the edge branch:
+
+With every commit to the `main` branch, Snapcraft's CI should trigger builds. Make sure the builds all succeeded at https://snapcraft.io/onionshare/builds (you must be logged in), and test them. You can install them with: `snap install onionshare --edge`
### Make sure the Flatpak packaging works
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index cc3e8ed6..00d9a6dd 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -155,17 +155,15 @@ parts:
- libxslt1.1
- libxtst6
- qtwayland5
- - python3-pyside2.qtcore
- - python3-pyside2.qtgui
- - python3-pyside2.qtwidgets
override-pull: |
snapcraftctl pull
rm pyproject.toml poetry.lock
cat > requirements.txt << EOF
# onionshare_cli
click
- flask==2.0.3
- flask-socketio==5.3.1
+ flask==2.3.2
+ flask-compress==1.13
+ flask-socketio==5.3.4
psutil
pysocks
requests[socks]
@@ -177,11 +175,12 @@ parts:
colorama
gevent-websocket
stem==1.8.1
- werkzeug==2.3.4
- flask-compress
waitress
+ werkzeug==2.3.4
# onionshare
+ PySide6==6.5.2
qrcode
+ packaging
EOF
override-build: |
python3 -m venv $SNAPCRAFT_PART_INSTALL
@@ -196,8 +195,8 @@ parts:
after: [onionshare-cli]
tor:
- source: https://dist.torproject.org/tor-0.4.7.12.tar.gz
- source-checksum: sha256/3b5d969712c467851bd028f314343ef15a97ea457191e93ffa97310b05b9e395
+ source: https://dist.torproject.org/tor-0.4.8.5.tar.gz
+ source-checksum: sha256/6957cfd14a29eee7555c52f8387a46f2ce2f5fe7dadf93547f1bc74b1657e119
source-type: tar
plugin: autotools
autotools-configure-parameters:
@@ -227,7 +226,7 @@ parts:
- go/latest/stable
source: https://git.torproject.org/pluggable-transports/snowflake.git
source-type: git
- source-tag: v2.3.1
+ source-tag: v2.6.0
organize:
bin/client: bin/snowflake-client
@@ -237,7 +236,7 @@ parts:
- go/latest/stable
source: https://git.torproject.org/pluggable-transports/meek.git
source-type: git
- source-tag: v0.37.0
+ source-tag: v0.38.0
override-build: |
cd meek-client
mkdir -p /build/onionshare/meek-client/install/bin