Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: cru...@debian.org

[ Reason ]
cwltool is not usable without the python3-distutils package also
installed. This is rare, but can happen on fresh Debian installs.

I discovered this today while testing instructions for WSL2 users.

The cwltool version in unstable/testing does not have this problem.

[ Impact ]

cwltool fails to run

ImportError: cannot import name 'spawn' from 'distutils' 
(/usr/lib/python3.9/distutils/__init__.py)

[ Tests ]
I can confirm that installing python3-distutils is sufficient to avoid
the problem.

[ Risks ]
Basically no risk, just a change to the depenendency of the cwltool
binary package.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]

Add python3-distutils as a dependency of the cwltool binary package

Thanks!
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 <cru...@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

Reply via email to