Skip to content

Commit 210ea3a

Browse files
committed
Do not install pyamdgpuinfo for Python 3.11+ until wheel package is published
1 parent 5c6d630 commit 210ea3a

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

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

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
32-
# Fix for pyamdgpuinfo with Python 3.11
33-
python -m pip install Cython # Cython must be installed first manually
34-
sudo apt-get install -y libdrm-dev # For "xf86drm.h"
35-
3631
python -m pip install -r requirements.txt
3732
3833
- name: Run simple-program.py during 20 seconds

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

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
python -m pip install Cython # Because of a bug with Python 3.11, Cython must be installed first manually
3332
python -m pip install -r requirements.txt
3433
3534
- name: Configure system monitor

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pystray~=0.19.4 # Tray icon (all OS)
99
# Following packages are for AMD GPU on Linux
1010
# Note: you may need to manually install Cython first
1111
Cython~=0.29.32; sys_platform=="linux"
12-
pyamdgpuinfo~=2.1.3; sys_platform=="linux"
12+
pyamdgpuinfo~=2.1.3; sys_platform=="linux" and python_version < "3.11" # Wheel package not yet available for Python 3.11+
1313

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

0 commit comments

Comments
 (0)