On Dec 10 2020, Leandro Lisboa Penz <lp...@lpenz.org> wrote: > Package: s3ql > Version: 3.3.2+dfsg-2+b2 > Severity: important > > Dear Maintainer, > > The package is missing a dependency on python3-systemd: > > $ mount.s3ql --systemd --log none --fg s3://... "$HOME/..." > <6>Using 10 upload threads. > <6>Autodetected 1048514 file descriptors available for cache entries > <6>Using cached metadata. > <6>Setting cache size to 3152 MB > <6>Mounting s3://... at ... > <6>Unmounting file system... > <3>Uncaught top-level exception: > Traceback (most recent call last): > File "/usr/bin/mount.s3ql", line 33, in <module> > sys.exit(load_entry_point('s3ql==3.3.2', 'console_scripts', > 'mount.s3ql')()) > File "/usr/lib/s3ql/s3ql/mount.py", line 205, in main > import systemd.daemon > ModuleNotFoundError: No module named 'systemd'
This module is not actually needed. I suspect the reason this breaks is that in Python 3.9 missing modules raise ModuleNotFoundError (rather than ImportError as before). Should be a pretty simple patch. Alternatively, we could of course also just depend systemd. Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«