Skip to content

Commit f8910a6

Browse files
authored
Merge pull request #345 from mathoudebine/feature/update-workflows-to-python-3.12
2 parents 52d551e + 8905fa3 commit f8910a6

File tree

9 files changed

+21
-13
lines changed

9 files changed

+21
-13
lines changed

.github/workflows/simple-program-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.github/workflows/simple-program-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.github/workflows/simple-program-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.github/workflows/system-monitor-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919
theme: [ "3.5inchTheme2" ]
2020

2121
steps:

.github/workflows/system-monitor-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919
theme: [ "3.5inchTheme2" ]
2020

2121
steps:

.github/workflows/system-monitor-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.11"]
18+
python-version: ["3.8", "3.12"]
1919
theme: [ "3.5inchTheme2" ]
2020

2121
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ venv/
109109
ENV/
110110
env.bak/
111111
venv.bak/
112+
venv-*/
112113

113114
# Spyder project settings
114115
.spyderproject

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This project is an open-source alternative software, NOT the original software p
99
* for other smart screens, contact your reseller
1010
---
1111

12-
![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white) ![Raspberry Pi](https://img.shields.io/badge/Raspberry%20Pi-A22846?style=for-the-badge&logo=Raspberry%20Pi&logoColor=white) ![Python](https://img.shields.io/badge/Python-3.8/3.11-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) [![Licence](https://img.shields.io/github/license/mathoudebine/turing-smart-screen-python?style=for-the-badge)](./LICENSE)
12+
![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white) ![Raspberry Pi](https://img.shields.io/badge/Raspberry%20Pi-A22846?style=for-the-badge&logo=Raspberry%20Pi&logoColor=white) ![Python](https://img.shields.io/badge/Python-3.8/3.12-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) [![Licence](https://img.shields.io/github/license/mathoudebine/turing-smart-screen-python?style=for-the-badge)](./LICENSE)
1313

1414

1515
A Python system monitor program and an abstraction library for **small IPS USB-C (UART) displays.**

requirements.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
# Python packages requirements
2-
Pillow~=10.1.0 # Image generation
3-
pyserial~=3.5 # Serial linl to communicate with the display
4-
numpy~=1.24.4 # Efficient image serialization
2+
Pillow~=10.1.0 # Image generation
3+
pyserial~=3.5 # Serial link to communicate with the display
54
PyYAML~=6.0.1 # For themes files
65
psutil~=5.9.6 # CPU / disk / network metrics
7-
GPUtil~=1.4.0 # Nvidia GPU
86
pystray~=0.19.5 # Tray icon (all OS)
97
babel~=2.13.1 # Date/time formatting
108
ruamel.yaml~=0.17.40 # For configuration editor
119
sv-ttk~=2.5.5 # Tk Sun Valley theme for configuration editor
1210

11+
# Efficient image serialization
12+
numpy~=1.24.4; python_version < "3.9" # For Python 3.8 max.
13+
numpy~=1.26.0; python_version >= "3.9" # For Python 3.9+
14+
15+
# For Nvidia GPU on all platforms
16+
GPUtil~=1.4.0; python_version < "3.12"
17+
# GPUtil is broken for Python 3.12+ and not maintained anymore: fetch it from a fork where it is fixed
18+
GPUtil @ git+https://github.com/mathoudebine/[email protected] ; python_version >= "3.12"
19+
1320
# Following packages are for AMD GPU on Linux
14-
pyamdgpuinfo~=2.1.6; sys_platform=="linux" and python_version <= "3.11"
15-
# For Python > 3.11, you need to install pyamdgpuinfo manually: see https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#linux--macos-no-supported-gpu-found-with-an-amd-gpu-and-python--311
21+
pyamdgpuinfo~=2.1.6; sys_platform=="linux" and python_version <= "3.12"
22+
# For Python > 3.12, you need to build install pyamdgpuinfo manually: see https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#linux--macos-no-supported-gpu-found-with-an-amd-gpu-and-python--311
1623

1724
# Following packages are for AMD GPU on Windows
1825
pyadl~=0.1; sys_platform=="win32"

0 commit comments

Comments
 (0)