Public bug reported:

After installing ssh-import-id in a schroot on noble, running it fails:

# ssh-import-id ogayot
Traceback (most recent call last):
  File "/usr/bin/ssh-import-id", line 33, in <module>
    sys.exit(load_entry_point('ssh-import-id==5.11', 'console_scripts', 
'ssh-import-id')())
             
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/ssh-import-id", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/ssh_import_id/__init__.py", line 33, in 
<module>
    from launchpadlib.launchpad import Launchpad
ModuleNotFoundError: No module named 'launchpadlib'

This appears to be a regression caused by bug 1745538 ; adding support
for launchpad teams.

Looking at the code, we have python3-launchpadlib as a build-depends but
not a depends on the binary package.

** Affects: ssh-import-id (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ssh-import-id (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: ssh-import-id (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Summary changed:

- ssh-import-id fails with python3-launchpadlib is not installed
+ ssh-import-id fails with python3-launchpadlib if not installed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085898

Title:
  ssh-import-id fails with python3-launchpadlib if not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ssh-import-id/+bug/2085898/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to