Skip to content

Commit 045ef44

Browse files
committed
Use Python 3.11 for legacy Linux build
1 parent 9741510 commit 045ef44

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,18 @@ jobs:
4646
- name: Install system deps
4747
run: |
4848
apt-get update
49-
apt-get install -y python3 python3-pip python3-venv zip
49+
apt-get install -y software-properties-common
50+
add-apt-repository -y ppa:deadsnakes/ppa
51+
apt-get update
52+
apt-get install -y python3.11 python3.11-venv python3.11-dev zip
5053
- name: Install deps
5154
run: |
52-
python3 -m pip install --upgrade pip setuptools wheel
53-
pip3 install -r requirements.txt
55+
python3.11 -m ensurepip --upgrade
56+
python3.11 -m pip install --upgrade pip setuptools wheel
57+
python3.11 -m pip install -r requirements.txt
5458
- name: Build (PyInstaller)
5559
run: |
56-
TINYTOUCH_APP_NAME=TinyTouch-${{ github.ref_name }} python3 -m PyInstaller TinyTouch.spec
60+
TINYTOUCH_APP_NAME=TinyTouch-${{ github.ref_name }} python3.11 -m PyInstaller TinyTouch.spec
5761
- name: Package
5862
run: |
5963
cd dist

src/video_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ def __init__(self, video_path):
6565

6666

6767
if sys.platform.startswith("win"):
68-
self.program_version = "7.5.4 (Windows)"
68+
self.program_version = "7.5.5 (Windows)"
6969
elif sys.platform.startswith("linux"):
70-
self.program_version = "7.5.4 (Linux)"
70+
self.program_version = "7.5.5 (Linux)"
7171
else:
72-
self.program_version = "7.5.4 (Unknown OS)"
72+
self.program_version = "7.5.5 (Unknown OS)"
7373
print("INFO: Program version:", self.program_version)
7474
self.parameter1_name = None
7575
self.parameter2_name = None

0 commit comments

Comments
 (0)