Bug#970670: python-pynvml: builds on Ubuntu architectures where it is uninstallable

Steve Langasek steve.langasek at canonical.com
Mon Sep 21 07:11:58 BST 2020


Package: python-pynvml
Version: 7.352.0-6
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear maintainers,

The python-pynvml package is currently building uninstallable binaries in
Ubuntu, because libnvidia-ml1 is no longer provided on ppc64el in Ubuntu.

I have uploaded the attached patch, which ensures the package is not built
on architectures where it will not be installable.

Would you consider such a patch for inclusion in Debian?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru python-pynvml-7.352.0/debian/control python-pynvml-7.352.0/debian/control
--- python-pynvml-7.352.0/debian/control	2020-07-20 10:06:11.000000000 -0700
+++ python-pynvml-7.352.0/debian/control	2020-09-20 00:12:35.000000000 -0700
@@ -12,6 +12,7 @@
 Build-Depends:
  debhelper-compat (= 13),
  dh-python,
+ libnvidia-ml1 | libnvidia-tesla-450-ml1 | libnvidia-tesla-440-ml1 | libnvidia-tesla-418-ml1 | libnvidia-legacy-390xx-ml1 | libnvidia-legacy-340xx-ml1 | libnvidia-ml.so.1,
  python3-all,
 Rules-Requires-Root: no
 


More information about the pkg-nvidia-devel mailing list