Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DistributionNotFound: The 'bugbug' distribution was not found and is required by the application #4469

Open
suhaibmujahid opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@suhaibmujahid
Copy link
Member

suhaibmujahid commented Sep 5, 2024

https://community-tc.services.mozilla.com/tasks/OrA-YRWHQp2Yd6zOpvVxjA/runs/0/logs/live/public/logs/live.log:

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [35 lines of output]
      <string>:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Traceback (most recent call last):
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 503, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
          exec(code, locals())
        File "<string>", line 22, in <module>
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 534, in get_distribution
          dist = get_provider(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 417, in get_provider
          return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1070, in require
          needed = self.resolve(parse_requirements(requirements))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 897, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-e61bdqi5/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 938, in _resolve_dist
          raise DistributionNotFound(req, requirers)
      pkg_resources.DistributionNotFound: The 'bugbug' distribution was not found and is required by the application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant