Python 3.13 removes a large amount of so called 'dead battery' libraries from the standard library. As such, code that imports these libraries will no longer work in Python 3.13, which is the targeted version for [Debian]Trixie.
The following removed libraries were found in this package:
https://github.com/DataBiosphere/toil/blob/9aeca838cc4ae313ee89fcfa7405740afdbffd0a/src/toil/provisioners/node.py#L282
Maybe try
shlex.quote
or switching to usesubprocess.run
athttps://github.com/DataBiosphere/toil/blob/9aeca838cc4ae313ee89fcfa7405740afdbffd0a/src/toil/provisioners/node.py#L285
xref https://bugs.debian.org/1084681
┆Issue is synchronized with this Jira Story ┆Issue Number: TOIL-1656