diff --git a/.circleci/config.yml b/.circleci/config.yml index a19b7b81f..05d99b6aa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,8 +50,10 @@ jobs: pip install wheel pip install --upgrade twine setuptools rm -rf build dist + echo "Building package" - python setup.py sdist bdist_wheel + python -m build + echo "Twine upload to dist" echo "Contents of dist directory:" ls dist/ diff --git a/litellm/main.py b/litellm/main.py index 2ecdb1f26..c9df035f1 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -18,6 +18,7 @@ from tenacity import ( dotenv.load_dotenv() # Loading env variables using dotenv # TODO move this to utils.py +# TODO add translations def get_optional_params( # 12 optional params functions = [], diff --git a/pyproject.toml b/pyproject.toml index 878abe78e..6e724611d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,20 +1,20 @@ [tool.poetry] name = "litellm" -version = "0.1.212" +version = "0.1.237" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License" readme = "README.md" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.8" openai = {extras = ["datalib"], version = "^0.27.8"} cohere = "^4.18.0" pytest = "^7.4.0" anthropic = "^0.3.7" replicate = "^0.10.0" python-dotenv = "^1.0.0" - +tenacity = "^8.0.1" [build-system] requires = ["poetry-core"]