Please merge lptools 0.3.0 (universe) from Debian unstable (main)

Bug #2052680 reported by Sudip Mukherjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lptools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Please merge lptools 0.3.0 (universe) from Debian unstable (main)

Explanation of the Ubuntu delta:

Carry forward four previous Ubuntu specific change.
1. Default to devel api level, as all others are dated now.
2. d/p/failure-to-decompress.patch: don't crash when an attachment cannot be downloaded because it fails to decompress.
3. Drop python3-indicate from Recommends.
4. Add support for credentials-file in lp-shell

New delta added:
1. d/control: Add runtime dependency on python3-keyring.

Related branches

Changed in ldapscripts (Ubuntu):
status: New → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
affects: ldapscripts (Ubuntu) → lptools (Ubuntu)
Changed in lptools (Ubuntu):
assignee: Sudip Mukherjee (sudipmuk) → nobody
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote (last edit ):

Without python3-keyring, I am getting the following error:

$ lp-list-bugs 2052680

Traceback (most recent call last):
  File "/usr/bin/lp-list-bugs", line 60, in <module>
    main()
  File "/usr/bin/lp-list-bugs", line 40, in main
    launchpad = config.get_launchpad("list-bugs")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lptools/config.py", line 53, in get_launchpad
    return Launchpad.login_with("lptools-%s" % appname, instance)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 700, in login_with
    return cls._authorize_token_and_login(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 445, in _authorize_token_and_login
    cached_credentials = credential_store.load(
                         ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 345, in load
    return self.do_load(unique_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 423, in do_load
    self._ensure_keyring_imported()
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 388, in _ensure_keyring_imported
    import keyring
ModuleNotFoundError: No module named 'keyring'

Debian #1063447 raised for this.

description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached.

Changed in lptools (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Julian Andres Klode (juliank) wrote :

Unsubscribing duplicate sponsors, let's do sponsoring on the merge instead.

Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in lptools (Ubuntu):
status: Confirmed → Fix Committed
Changed in lptools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.