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

Remove an unnecessary dependency and make a function visible to mypy. #8065

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove unnecessary importlib-metadata dependency.
mikolajz committed Jan 28, 2025
commit 82ae54a283c19dedc384c6fd93475af2a8a33f6f
1 change: 0 additions & 1 deletion .circleci/requirements.txt
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@
openai==1.54.0
python-dotenv
tiktoken
importlib_metadata
cohere
redis
anthropic
4 changes: 2 additions & 2 deletions litellm/_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import importlib_metadata
import importlib.metadata

try:
version = importlib_metadata.version("litellm")
version = importlib.metadata.version("litellm")
except Exception:
pass
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@ httpx = ">=0.23.0,<0.28.0"
openai = ">=1.55.3"
python-dotenv = ">=0.2.0"
tiktoken = ">=0.7.0"
importlib-metadata = ">=6.8.0"
tokenizers = "*"
click = "*"
jinja2 = "^3.1.2"
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -40,7 +40,6 @@ cryptography==43.0.1
### LITELLM PACKAGE DEPENDENCIES
python-dotenv==1.0.0 # for env
tiktoken==0.8.0 # for calculating usage
importlib-metadata==6.8.0 # for random utils
tokenizers==0.20.2 # for calculating usage
click==8.1.7 # for proxy cli
jinja2==3.1.4 # for prompt templates