#1111658 does not declare all its python module dependencies

#1111658#5
Date:
2025-08-20 18:57:37 UTC
From:
To:
% tahoe
Traceback (most recent call last):
  File "/usr/bin/tahoe", line 5, in <module>
    from allmydata.scripts.runner import run
  File "/usr/lib/python3/dist-packages/allmydata/scripts/runner.py", line 5, in <module>
    from twisted.python import usage
ModuleNotFoundError: No module named 'twisted'

There seems to be several missing dependencies, I had to install
python3-twisted python3-pyutil python3-foolscap python3-nacl
python3-collections-extended python3-netifaces python3-eliot python3-klein
python3-pycddl python3-cbor2 python3-zfec python3-treq python3-psutil
python3-filelock python3-wormhole

#1111658#10
Date:
2025-08-22 15:50:05 UTC
From:
To:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2017, in _inlineCallbacks
    result = context.run(gen.send, result)
  File "/usr/lib/python3/dist-packages/allmydata/client.py", line 283, in create_client_from_config
    client = _client_factory(
  File "/usr/lib/python3/dist-packages/allmydata/client.py", line 679, in __init__
    self.init_web(webport) # strports string
  File "/usr/lib/python3/dist-packages/allmydata/client.py", line 1054, in init_web
    from allmydata.webish import WebishServer, anonymous_tempfile_factory
  File "/usr/lib/python3/dist-packages/allmydata/webish.py", line 11, in <module>
    from cgi import (
builtins.ModuleNotFoundError: No module named 'cgi'

I don't know what python package provides this one.

#1111658#17
Date:
2025-11-16 14:33:23 UTC
From:
To:
this should be python3-legacy-cgi (needed for python >= 3.13, earlier it
was in the standard library)

#1111658#22
Date:
2025-11-16 15:22:01 UTC
From:
To:
I've found another missing dependency: python3-yaml

and after installing this one too the package seems to be working (it's
my first time trying tahoe-lafs, so my tests may not be that deep)

I've create a MR on salsa also for this fix, in case it is useful

#1111658#27
Date:
2025-11-16 10:07:09 UTC
From:
To:
this should be python3-legacy-cgi (needed for python >= 3.13, earlier it
was in the standard library)

#1111658#36
Date:
2025-11-18 06:43:29 UTC
From:
To:
close 1111658 1.20.0-7
thanks

This should have been closed by the upload of 1.20.0-7, but I wrote the wrong
bug number in the changelog, sorry