Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-12140

sys-apps/metatools is missing dev-vcs/python-gitlab dependency

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • Hide
      - emerge metatools
      - Run `doit`
      Show
      - emerge metatools - Run `doit`

      doit will not run upon installation due to the gitlab module not being pulled in:

      doit anduin
      Traceback (most recent call last):
      File "/usr/lib/python-exec/python3.9/doit", line 95, in <module>
      success = asyncio.run(main_thread())
      File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
      return loop.run_until_complete(main)
      File "/usr/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
      return future.result()
      File "/usr/lib/python-exec/python3.9/doit", line 86, in main_thread
      result = await pkgtools.autogen.start()
      File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/autogen.py", line 654, in start
      fail_list = await execute_all_queued_generators()
      File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/autogen.py", line 611, in execute_all_queued_generators
      async_func, pkginfo_list = await execute_generator(**task_args)
      File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/autogen.py", line 269, in execute_generator
      generator_sub = load_plugin(sub_path, generator_sub_name)
      File "/usr/lib/python3.9/site-packages/subpop/util.py", line 71, in load_plugin
      loader.exec_module(mod)
      File "<frozen importlib._bootstrap_external>", line 850, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "/home/mm/Workshop/Funtoo/kit-fixups/generators/gitlab-1.py", line 81, in <module>
      import gitlab
      ModuleNotFoundError: No module named 'gitlab'

      sys:1: RuntimeWarning: coroutine 'execute_generator.<locals>.generator_thread_task' was never awaited

      This is fixed by manually installing dev-vcs/python-gitlab

            Unassigned Unassigned
            calrama calrama
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: