Switch to Python 3.11, and make build_mac in CI use the universal2 installer

This commit is contained in:
Micah Lee 2023-02-05 12:31:07 -08:00
parent 5e745c50c2
commit c536dd3c48
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 3 additions and 3 deletions

View File

@ -212,9 +212,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Python 3.9.13 (Intel)
- name: Install Python 3.11.1 (universal2)
run: |
curl -L https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
curl -L https://www.python.org/ftp/python/3.11.1/python-3.11.1-macos11.pkg --output ~/Downloads/python.pkg
sudo installer -pkg ~/Downloads/python.pkg -target /
- name: Install poetry

View File

@ -9,7 +9,7 @@ git clone https://github.com/onionshare/onionshare.git
cd onionshare/desktop
```
Make sure you have Python 3 installed. If you're using Windows or macOS, install version 3.9.13 [from python.org](https://www.python.org/downloads/release/python-3913/). For Windows, make sure to check the box to add python to the path on the first page of the installer.
Make sure you have Python 3 installed. If you're using Windows or macOS, install the latest version of 3.11 [from python.org](https://www.python.org/downloads/). For Windows, make sure to check the box to add python to the path on the first page of the installer.
Make sure you have [poetry](https://python-poetry.org/) installed: