Testing for noble - using minimal schroot
=========================================

Before upgrading to the package from proposed
---------------------------------------------

# apt policy -t noble-proposed ssh-import-id
ssh-import-id:
  Installed: 5.11-0ubuntu2
  Candidate: 5.11-0ubuntu2.24.04.1
[...]

# ssh-import-id lp:ogayot
[...]
  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'


After upgrading to the package from proposed
--------------------------------------------
# apt install -t noble-proposed ssh-import-id
[...]
The following NEW packages will be installed:
  python3-blinker python3-cffi-backend python3-cryptography python3-httplib2 
python3-jwt
  python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 
python3-oauthlib
  python3-pkg-resources python3-pyparsing python3-six python3-wadllib
The following packages will be upgraded:
  ssh-import-id

# apt policy -t noble-proposed ssh-import-id
ssh-import-id:
  Installed: 5.11-0ubuntu2.24.04.1
  Candidate: 5.11-0ubuntu2.24.04.1
[...]

# ssh-import-id lp:ogayot
2024-11-29 10:25:18,057 INFO Already authorized ['3072', 
'SHA256:IN1o3/FtomJBXfxunvntTKsiwkhcmB9B5hCXXXqhERk', 'olivier@camelair', 
'(RSA)']
2024-11-29 10:25:18,073 INFO Already authorized ['256', 
'SHA256:rIR9UVRKslp5wLhV/XuYflDOMN67Z+4c1KgFuS75Qms', 'olivier@camelair', 
'(ED25519)']
2024-11-29 10:25:18,074 INFO [2] SSH keys [Authorized]

Testing for noble - using core24 snap
=====================================

Without modifying the core24 snap build environment
---------------------------------------------------

$ lxc --project snapcraft start snapcraft-testsnap-on-amd64-for-amd64-132378
$ lxc --project snapcraft exec snapcraft-testsnap-on-amd64-for-amd64-132378 
/bin/bash
 # grep ^Suites /etc/apt/sources.list.d/ubuntu.sources 
 Suites: noble noble-updates noble-backports
 Suites: noble-security
 # apt policy ssh-import-id
 ssh-import-id:
   Installed: (none)
   Candidate: 5.11-0ubuntu2
   Version table:
      5.11-0ubuntu2.24.04.1 100
         100 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
 # exit
$ snapcraft pack
$ sudo snap install --devmode testsnap_0.1_amd64.snap
$ testsnap lp:ogayot
[...]
    from launchpadlib.launchpad import Launchpad
ModuleNotFoundError: No module named 'launchpadlib'

After upgrading to the package from proposed

After modifying the core24 snap build environment
-------------------------------------------------
$ lxc --project snapcraft start snapcraft-testsnap-on-amd64-for-amd64-132378
$ lxc --project snapcraft exec snapcraft-testsnap-on-amd64-for-amd64-132378 
/bin/bash
 # cat /etc/apt/preferences.d/ssh-import-id 
 Package: ssh-import-id
 Pin: release a=noble-proposed
 Pin-Priority: 600
 # apt policy ssh-import-id
 ssh-import-id:
   Installed: (none)
   Candidate: 5.11-0ubuntu2.24.04.1
 [...]
 # grep ^Suites /etc/apt/sources.list.d/ubuntu.sources 
 Suites: noble noble-updates noble-backports noble-proposed
 Suites: noble-security
 # exit
$ snapcraft pack
$ sudo snap install --devmode testsnap_0.1_amd64.snap
$ testsnap lp:ogayot
2024-11-29 10:57:13,140 INFO Already authorized ['3072', 
'SHA256:IN1o3/FtomJBXfxunvntTKsiwkhcmB9B5hCXXXqhERk', 'olivier@camelair', 
'(RSA)']
2024-11-29 10:57:13,159 INFO Already authorized ['256', 
'SHA256:rIR9UVRKslp5wLhV/XuYflDOMN67Z+4c1KgFuS75Qms', 'olivier@camelair', 
'(ED25519)']
2024-11-29 10:57:13,160 INFO [2] SSH keys [Authorized]

** Tags removed: verification-needed-noble
** Tags added: verification-done-noble

-- 
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:
  [SRU] ssh-import-id fails if python3-launchpadlib is 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