Skip to content

Commit

Permalink
Do not install pyamdgpuinfo for Python 3.11+ until wheel package is p…
Browse files Browse the repository at this point in the history
…ublished
  • Loading branch information
mathoudebine committed Jan 18, 2023
1 parent 5c6d630 commit 210ea3a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/simple-program-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Fix for pyamdgpuinfo with Python 3.11
python -m pip install Cython # Cython must be installed first manually
sudo apt-get install -y libdrm-dev # For "xf86drm.h"
python -m pip install -r requirements.txt
- name: Run simple-program.py during 20 seconds
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/system-monitor-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install Cython # Because of a bug with Python 3.11, Cython must be installed first manually
python -m pip install -r requirements.txt
- name: Configure system monitor
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pystray~=0.19.4 # Tray icon (all OS)
# Following packages are for AMD GPU on Linux
# Note: you may need to manually install Cython first
Cython~=0.29.32; sys_platform=="linux"
pyamdgpuinfo~=2.1.3; sys_platform=="linux"
pyamdgpuinfo~=2.1.3; sys_platform=="linux" and python_version < "3.11" # Wheel package not yet available for Python 3.11+

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

0 comments on commit 210ea3a

Please sign in to comment.