[Debian-med-packaging] Bug#1025327: ImportError: cannot import name 'spawn' from 'distutils' (/usr/lib/python3.9/distutils/__init__.py)

Michael R. Crusoe crusoe at debian.org
Fri Dec 2 15:19:04 GMT 2022


Package: cwltool
Version: 3.0.20210124104916-3
Severity: important
Tags: patch
X-Debbugs-Cc: crusoe at debian.org

cwltool needs python3-distutils, but this wasn't detected in
autopkgtests due to one of the test packages pulling in distutils.

I just discovered this by installing cwltool in a fresh Bullseye WSL2
installation.
-------------- next part --------------
diff -Nru cwltool-3.0.20210124104916/debian/changelog cwltool-3.0.20210124104916/debian/changelog
--- cwltool-3.0.20210124104916/debian/changelog	2021-01-25 10:36:01.000000000 +0100
+++ cwltool-3.0.20210124104916/debian/changelog	2022-12-02 16:06:31.000000000 +0100
@@ -1,3 +1,9 @@
+cwltool (3.0.20210124104916-3+deb11u1) bullseye; urgency=medium
+
+  * debian/control: cwltool needs python3-distutils
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Fri, 02 Dec 2022 16:06:31 +0100
+
 cwltool (3.0.20210124104916-3) unstable; urgency=high
 
   * debian/control: this version of cwltool breaks toil less than
diff -Nru cwltool-3.0.20210124104916/debian/control cwltool-3.0.20210124104916/debian/control
--- cwltool-3.0.20210124104916/debian/control	2021-01-25 09:12:25.000000000 +0100
+++ cwltool-3.0.20210124104916/debian/control	2022-12-02 16:05:13.000000000 +0100
@@ -43,7 +43,8 @@
          ${misc:Depends},
          python3-mypy-extensions,
          python3-arcp,
-         python3-argcomplete
+         python3-argcomplete,
+         python3-distutils
 Recommends: nodejs
 Breaks: toil (<< 5)
 Suggests: docker.io | singularity-container


More information about the Debian-med-packaging mailing list