Commit Graph

47 Commits

Author SHA1 Message Date
Marc Abramowitz 82f43f98b3 Update FastAPI to update starlette to fix warnings
The httpx package emits some warnings when we run the tests in
`test_proxy_server.py`:

```shell
$ env -i PATH=$PATH poetry run pytest litellm/tests/test_proxy_server.py
...
litellm/tests/test_proxy_server.py::test_bedrock_embedding
litellm/tests/test_proxy_server.py::test_chat_completion
litellm/tests/test_proxy_server.py::test_chat_completion_azure
litellm/tests/test_proxy_server.py::test_chat_completion_optional_params
litellm/tests/test_proxy_server.py::test_embedding
litellm/tests/test_proxy_server.py::test_engines_model_chat_completions
litellm/tests/test_proxy_server.py::test_health
litellm/tests/test_proxy_server.py::test_img_gen
litellm/tests/test_proxy_server.py::test_openai_deployments_model_chat_completions_azure
  .../site-packages/httpx/_client.py:680:
  DeprecationWarning: The 'app' shortcut is now deprecated.
  Use the explicit style 'transport=WSGITransport(app=...)' instead.
    warnings.warn(message, DeprecationWarning)
...
```

Fixing this requires updating starlette, but the version of FastAPI in use
prevents that. So I updated FastAPI to update starlette to fix the httpx
warnings.

When run in combination with the changes in GH-3600, the tests pass and only
emit 1 warning!

```shell
$ env -i PATH=$PATH poetry run pytest litellm/tests/test_proxy_server.py
====================================== test session starts ======================================
platform darwin -- Python 3.12.3, pytest-7.4.4, pluggy-1.5.0
rootdir: /Users/abramowi/Code/OpenSource/litellm
plugins: anyio-4.3.0, mock-3.14.0
collected 12 items

litellm/tests/test_proxy_server.py s..........s                                           [100%]

======================================= warnings summary ========================================
litellm/utils.py:43
  /Users/abramowi/Code/OpenSource/litellm/litellm/utils.py:43: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources  # type: ignore

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== 10 passed, 2 skipped, 1 warning in 8.81s ============================
```
2024-05-12 12:26:23 -07:00
Roni Gurvich 32a085accf gunicorn update 2024-05-05 13:25:59 +03:00
dependabot[bot] 5fd248274a build(deps): bump idna from 3.6 to 3.7
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 00:52:36 +00:00
Dragos Campean 4549a20333 Merge remote-tracking branch 'upstream/main' into fix-pip-install-extra-proxy 2024-03-25 20:22:17 +02:00
Roni Gurvich 384882115e cryptography and python-multipart version bump 2024-03-24 08:49:36 +00:00
Roni Gurvich 644632ba3b cryptography and python-multipart version bump 2024-03-24 08:44:36 +00:00
Dragos Campean c807a21442 Remove dependency which was removed on main 2024-03-24 08:53:43 +02:00
Dragos Campean a016a6bfd8 Update poetry.lock after deps update from main merge 2024-03-23 21:40:46 +02:00
Dragos Campean f38d8cf88e Fix pip install 'litellm[extra_proxy]' 2024-03-23 17:32:57 +02:00
Roni Gurvich 17e705183a Update poetry.lock
fastapi upgrade from 0.104.1 to 0.109.1
2024-03-21 14:23:35 +02:00
Dmitry Supranovich 57ebb9582e Fixed azure ad token not being processed properly in embedding models 2024-03-12 21:29:24 -04:00
deena b640ec4dc0 support langfuse tags feature 2024-02-12 19:49:11 +02:00
ishaan-jaff c8da57710f (chore) bump poetry lock 2024-01-26 10:34:16 -08:00
ishaan-jaff fcd66eac7d (fix) add app scheduler to poetry.lock 2024-01-23 20:03:28 -08:00
ishaan-jaff 6d99a58c85 (chore) update poetry.lock 2024-01-18 07:19:47 -08:00
David Leen d14099f9b4 Add explicit dependency on requests library 2024-01-11 16:20:50 +01:00
ishaan-jaff 9bd9ff1038 (fix) add gunicorn to poetry lock 2024-01-10 18:12:54 +05:30
Krrish Dholakia ebe752fb61 build(pyproject.toml): drop certifi dependency (unused) 2024-01-10 08:09:03 +05:30
ishaan-jaff 6c33fcbf6b (feat) proxy-ui a separate dep 2024-01-01 09:23:35 +05:30
ishaan-jaff 35b29d35b8 (fix) pyproject streamlit errors 2023-12-29 13:36:10 +05:30
ishaan-jaff a730515096 (fix) pip install litellm[proxy] 2023-12-28 12:59:27 +05:30
ishaan-jaff 7822a8d421 (fix) remove appdirs as a dependency 2023-12-28 11:25:36 +05:30
Roger Meier ecf017ba13 chore: add pytest as dev dependency 2023-12-23 09:07:58 +01:00
Roger Meier d98caec626 chore: add black as dev dependency 2023-12-23 09:07:57 +01:00
Roger Meier 4c0e9e752b chore: add flake8 as dev dependency 2023-12-23 09:07:53 +01:00
Max Deichmann 99034709dc improve integration 2023-12-18 23:32:02 +01:00
Max Deichmann d1dbfd6ded changes 2023-12-12 12:02:29 +01:00
Max Deichmann c8585a8983 fix langfuse tests 2023-12-12 12:00:41 +01:00
dependabot[bot] 50877b1b38 build(deps): bump aiohttp from 3.8.6 to 3.9.0
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.6 to 3.9.0.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.6...v3.9.0)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 23:47:51 +00:00
dependabot[bot] a0a29b766b build(deps): bump urllib3 from 2.0.5 to 2.0.7
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.5 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/v2.0.5...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 16:11:41 +00:00
Krrish Dholakia 7358d2e4ea bump: version 0.8.4 → 0.8.5 2023-10-14 16:43:06 -07:00
ishaan-jaff c8d38dce46 (fix) add appdirs as a dependency as a requirements 2023-10-12 09:41:31 -07:00
Krrish Dholakia d0ec844629 fix(proxy_server): import errors 2023-10-11 11:05:31 -07:00
Krrish Dholakia b50013386f fix(openai.py): enable custom proxy to pass in ca_bundle_path 2023-10-10 13:23:27 -07:00
Krrish Dholakia 851cb86daa add support for ai21 input params 2023-10-03 21:05:28 -07:00
Krrish Dholakia 3ca79a88bb improvements to proxy cli and finish reason mapping for anthropic 2023-09-30 18:09:16 -07:00
Krrish Dholakia a72880925c push cli tool 2023-09-26 13:30:47 -07:00
Krrish Dholakia b246629a5b adding hf pro tutorial 2023-09-25 22:21:41 -07:00
Krrish Dholakia e62b584439 adding support for cohere, anthropic, llama2 tokenizers 2023-09-22 14:03:52 -07:00
ishaan-jaff a963d13db0 new lock + poetry 2023-09-15 09:47:28 -07:00
ishaan-jaff feb814a76e bump openai version 2023-09-13 11:09:21 -07:00
Krrish Dholakia 895e3c1a94 update to logging 2023-09-02 15:45:45 -07:00
Krrish Dholakia 03d023e372 update testing for streaming to catch empty responses 2023-08-26 11:20:06 -07:00
Krrish Dholakia 1f98f38f13 change get to post request 2023-08-22 15:39:24 -07:00
Krrish Dholakia fd6367ca25 adding additional ways of doing testing 2023-08-16 11:19:05 -07:00
Zakhar Kogan f3f7b755f4 Added Openrouter support back 2023-08-08 08:22:03 +03:00
Zakhar Kogan 05ca788fb3 Expanded .env, added Poetry and basic Docstring 2023-08-02 12:05:35 +03:00