On Sat, 14 Feb 2026 03:18:57 +0000 Christopher Obbard <[email protected]> 
wrote:
> Package: pdudaemon
> Version: 0.0.8.109.gaa25f15-2.1
> Severity: normal
> X-Debbugs-Cc: [email protected]
> 
> Dear Maintainer,
> 
> pdudaemon in trixie fails with:

...

>
> Traceback (most recent call last):
>   File "/usr/sbin/pdudaemon", line 8, in <module>
>     sys.exit(main())
>              ~~~~^^
>   File "/usr/lib/python3/dist-packages/pdudaemon/__init__.py", line 209, in 
>main
>     loop.run_until_complete(main_async())
>     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
>   File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in 
>run_until_complete
>     return future.result()
>            ~~~~~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/pdudaemon/__init__.py", line 194, in 
>main_async
>     daemon = PDUDaemon(options, settings)
>   File "/usr/lib/python3/dist-packages/pdudaemon/__init__.py", line 92, in 
>__init__
>     self.runners[hostname] = PDURunner(config, hostname, retries)
>                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pdudaemon/pdurunner.py", line 39, in 
>__init__
>     self.driver = self.driver_from_hostname(hostname)
>                   ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pdudaemon/pdurunner.py", line 48, in 
>driver_from_hostname
>     driver = PDUDriver.select(drivername)(hostname, self.config)
>              ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pdudaemon/drivers/driver.py", line 45, 
>in select
>     ep = get_named_entry_point('pdudaemon.driver', drivername)
>   File "/usr/lib/python3/dist-packages/pdudaemon/drivers/driver.py", line 27, 
>in get_named_entry_point
>     import pkg_resources
> ModuleNotFoundError: No module named 'pkg_resources'

OK, this is fixed in new upstream 1.1.0 (which I will soon be uploading to 
unstable to close this bug).

For stable, I can either backport the patch(es) which fix it properly, one (or 
both) of:
 - 
https://github.com/pdudaemon/pdudaemon/commit/d722cf92188df02f8a72f83e57e5fe60541a2134
 - 
https://github.com/pdudaemon/pdudaemon/commit/0b6dcd45018890db031c1a9ef314796e2ffc4d64

or simply add the package to Depends manually. I'm currently leaning on the 
former.


Chris

Reply via email to