Bug 294247 - misc/py-litellm: The litellm executable fails with a missing dependency
Summary: misc/py-litellm: The litellm executable fails with a missing dependency
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on: 289462 289464 289465 289466
Blocks:
  Show dependency treegraph
 
Reported: 2026-04-04 14:57 UTC by Yuri Victorovich
Modified: 2026-04-13 15:33 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (tagattie)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2026-04-04 14:57:49 UTC
$ /usr/local/bin/litellm
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 149, in <module>
    import backoff
ModuleNotFoundError: No module named 'backoff'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/litellm", line 8, in <module>
    sys.exit(run_server())
             ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_cli.py", line 637, in run_server
    raise e
  File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_cli.py", line 624, in run_server
    from .proxy_server import (
  File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 155, in <module>
    raise ImportError(f"Missing dependency {e}. Run `pip install 'litellm[proxy]'`")
ImportError: Missing dependency No module named 'backoff'. Run `pip install 'litellm[proxy]'`
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2026-04-13 13:00:46 UTC
Thanks for reporting.

I plan to update the port to include proxy functionality when the following pending PRs are resolved (waiting for the maintainer's action):

- Bug 289462: devel/py-msal: Update to 1.34.0
- Bug 289464: devel/py-msal-extensions: update to 1.3.1
- Bug 289465: devel/py-azure-identity: update to 1.24.0
- Bug 289466: devel/py-azure-storage-blob: update to 12.26.0