Package: python3-gpumodules
Version: 3.8.0-1
Severity: normal
Tags: patch

> uname -a
Linux dirac 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 
(2024-02-15) x86_64 GNU/Linux

This seems to fix the problem and basic functionality appears to work:

--- /usr/lib/python3/dist-packages/GPUmodules/env.py.old        2024-05-09 
13:07:32.387667230 +1000
+++ /usr/lib/python3/dist-packages/GPUmodules/env.py    2024-05-09 
13:07:42.171546939 +1000
@@ -309,7 +309,7 @@
 
         # Check Linux Kernel version
         current_kversion_str = release()
-        current_kversion = tuple([int(x) for x in re.sub('-.*', '', 
current_kversion_str).split('.')])
+        current_kversion = tuple([int(x) for x in re.sub('[-+].*', '', 
current_kversion_str).split('.')])
         LOGGER.debug('Using Linux Kernel: %s', current_kversion_str)
         if current_kversion < __required_kversion__:
             print('Using Linux Kernel {}, but {} requires > {}.{}.'.format(



-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.13+bpo-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-gpumodules depends on:
ii  lshw                02.19.git.2021.06.19.996aaad9c7-2+b1
ii  python3             3.11.2-1+b1
ii  python3-matplotlib  3.6.3-1+b1
ii  python3-pandas      1.5.3+dfsg-2

python3-gpumodules recommends no packages.

Versions of packages python3-gpumodules suggests:
ii  ricks-amdgpu-utils  3.8.0-1

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/python3/dist-packages/GPUmodules/env.py (from 
python3-gpumodules package)

Reply via email to