[Bug 2050186] [NEW] undeclared dependency on python3-six

Dan Bungert 2050186 at bugs.launchpad.net
Mon Jan 22 15:47:29 UTC 2024


Public bug reported:

On IRC, bochecha reported problems with add-apt-repository

https://gitlab.freedesktop.org/cangjie/build-essential/-/jobs/54043049

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 14, in <module>
    from softwareproperties.shortcuts import shortcut_handler
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
    from softwareproperties.ppa import PPAShortcutHandler
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 25, in <module>
    from launchpadlib.launchpad import Launchpad
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 48, in <module>
    from launchpadlib.credentials import (
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 59, in <module>
    from six.moves.urllib.parse import parse_qs
ModuleNotFoundError: No module named 'six'

Indeed, launchpadlib/credentials.py is referencing six but launchpadlib
does not yet have a declared dependency on six.

** Affects: python-launchpadlib (Ubuntu)
     Importance: Undecided
     Assignee: Dan Bungert (dbungert)
         Status: In Progress

** Description changed:

  On IRC, bochecha reported problems with add-apt-repository
  
  https://gitlab.freedesktop.org/cangjie/build-essential/-/jobs/54043049
  
  Traceback (most recent call last):
-   File "/usr/bin/add-apt-repository", line 14, in <module>
-     from softwareproperties.shortcuts import shortcut_handler
-   File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
-     from softwareproperties.ppa import PPAShortcutHandler
-   File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 25, in <module>
-     from launchpadlib.launchpad import Launchpad
-   File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 48, in <module>
-     from launchpadlib.credentials import (
-   File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 59, in <module>
-     from six.moves.urllib.parse import parse_qs
+   File "/usr/bin/add-apt-repository", line 14, in <module>
+     from softwareproperties.shortcuts import shortcut_handler
+   File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
+     from softwareproperties.ppa import PPAShortcutHandler
+   File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 25, in <module>
+     from launchpadlib.launchpad import Launchpad
+   File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 48, in <module>
+     from launchpadlib.credentials import (
+   File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 59, in <module>
+     from six.moves.urllib.parse import parse_qs
  ModuleNotFoundError: No module named 'six'
  
- Indeed, launchpadlib/credentials.py is referencing six but the package
- does not yet have a dependency.
+ Indeed, launchpadlib/credentials.py is referencing six but launchpadlib
+ does not yet have a declared dependency on six.

** Changed in: python-launchpadlib (Ubuntu)
     Assignee: (unassigned) => Dan Bungert (dbungert)

** Changed in: python-launchpadlib (Ubuntu)
       Status: New => In Progress

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

Title:
  undeclared dependency on python3-six

Status in python-launchpadlib package in Ubuntu:
  In Progress

Bug description:
  On IRC, bochecha reported problems with add-apt-repository

  https://gitlab.freedesktop.org/cangjie/build-essential/-/jobs/54043049

  Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 14, in <module>
      from softwareproperties.shortcuts import shortcut_handler
    File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
      from softwareproperties.ppa import PPAShortcutHandler
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 25, in <module>
      from launchpadlib.launchpad import Launchpad
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 48, in <module>
      from launchpadlib.credentials import (
    File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 59, in <module>
      from six.moves.urllib.parse import parse_qs
  ModuleNotFoundError: No module named 'six'

  Indeed, launchpadlib/credentials.py is referencing six but
  launchpadlib does not yet have a declared dependency on six.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-launchpadlib/+bug/2050186/+subscriptions




More information about the foundations-bugs mailing list