mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-09 19:27:28 -03:00
Change minimum Python version to 3.8, and update all poetry deps
This commit is contained in:
parent
a346e52beb
commit
8689cd87d7
5 changed files with 1418 additions and 1285 deletions
25
RELEASE.md
25
RELEASE.md
|
@ -150,6 +150,31 @@ This will create:
|
|||
|
||||
### macOS release
|
||||
|
||||
In order to make a universal2 binary, you must run this one a Mac with Apple Silicon. To keep a clean environment, you can use VM.
|
||||
|
||||
Set up the VM like this:
|
||||
|
||||
- Install [Homebrew](https://brew.sh/)
|
||||
- `brew install create-dmg`
|
||||
- Install the latest Python 3.10 from https://www.python.org/downloads/
|
||||
- Install ARM64 version of Go from https://go.dev/dl/
|
||||
|
||||
```sh
|
||||
cd desktop
|
||||
python3 -m pip install poetry
|
||||
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry install
|
||||
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/get-tor.py macos
|
||||
./scripts/build-pt-obfs4proxy.sh
|
||||
./scripts/build-pt-snowflake.sh
|
||||
./scripts/build-pt-meek.sh
|
||||
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py build
|
||||
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py bdist_mac
|
||||
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
||||
cd build
|
||||
tar -czvf ~/onionshare-macos-universal2.tar.gz OnionShare.app
|
||||
```
|
||||
|
||||
|
||||
Set up the packaging environment:
|
||||
|
||||
- Install create-dmg: `brew install create-dmg`
|
||||
|
|
1605
cli/poetry.lock
generated
1605
cli/poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -16,7 +16,7 @@ classifiers = [
|
|||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7"
|
||||
python = ">=3.8,<3.11"
|
||||
click = "*"
|
||||
flask = "2.0.3"
|
||||
flask-socketio = "5.3.1"
|
||||
|
|
1069
desktop/poetry.lock
generated
1069
desktop/poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@ authors = ["Micah Lee <micah@micahflee.com>"]
|
|||
license = "GPLv3+"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.7,<3.11"
|
||||
python = ">=3.8,<3.11"
|
||||
onionshare_cli = {path = "../cli", develop = true}
|
||||
PySide6 = "6.4.0"
|
||||
qrcode = "*"
|
||||
|
|
Loading…
Reference in a new issue