Skip to content

Commit c3dd706

Browse files
author
Silver Valdvee
committed
Switch to Python 3.11
1 parent 6f5a83d commit c3dd706

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,18 @@ jobs:
3232
- name: Installing Python3
3333
uses: actions/setup-python@v4
3434
with:
35-
python-version: "3.10"
35+
python-version: "3.11"
3636
cache: "pip"
3737

3838
- name: Setting up Node.js
3939
uses: actions/setup-node@v3
4040

4141
- name: Installing dependencies
4242
run: |
43+
if [ "$RUNNER_OS" == "Linux" ]; then
44+
sudo update-alternatives --install /usr/bin/python python /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
45+
sudo update-alternatives --install /usr/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
46+
fi
4347
python3 -m venv venv
4448
if [ "$RUNNER_OS" == "Linux" ]; then
4549
source venv/bin/activate
@@ -79,7 +83,7 @@ jobs:
7983
run: |
8084
if [ "$RUNNER_OS" == "Linux" ]; then
8185
source venv/bin/activate
82-
python3.10 build_exe.py
86+
python3 build_exe.py
8387
elif [ "$RUNNER_OS" == "Windows" ]; then
8488
venv/Scripts/activate.bat
8589
python3 build_exe.py

pyinstaller.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if Path(".electron").exists():
4141
datas += [(".electron", "electron")]
4242

4343
if my_os == "Linux":
44-
datas += [("venv/lib/python3.10/site-packages/libpcap", "libpcap")]
44+
datas += [("venv/lib/python3.11/site-packages/libpcap", "libpcap")]
4545

4646
datas += [(".compiled", ".compiled")]
4747

yukon/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2023.3.39"
1+
__version__ = "2023.3.40"

0 commit comments

Comments
 (0)