Commit graph

1946 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
Ishaan Jaff
732d4496fe bump: version 1.37.4 → 1.37.5 2024-05-11 16:07:43 -07:00
Krrish Dholakia
7a45c613a4 bump: version 1.37.3 → 1.37.4 2024-05-10 20:07:31 -07:00
Ishaan Jaff
5874a1675b bump: version 1.37.2 → 1.37.3 2024-05-10 19:20:57 -07:00
Krrish Dholakia
40e19a838c bump: version 1.37.1 → 1.37.2 2024-05-10 08:40:31 -07:00
Krrish Dholakia
f9a0364bff bump: version 1.37.0 → 1.37.1 2024-05-10 08:34:01 -07:00
Antonio Loison
c0c244006f deps: remove diskcache from dependencies and add install in docs 2024-05-10 12:34:05 +02:00
Antonio Loison
c1ba4ec078 chore: add diskcache as extra dependency 2024-05-10 11:19:14 +02:00
Antonio Loison
9b2dcb2807 chore(pyproject.toml): add diskcache as extra 2024-05-10 10:56:36 +02:00
Antonio Loison
c1a81d90a6 build(caching.py) - add disk cache object 2024-05-10 10:03:35 +02:00
Krrish Dholakia
43b2050cc2 bump: version 1.36.4 → 1.37.0 2024-05-09 15:41:40 -07:00
Ishaan Jaff
b5db045624 bump: version 1.36.3 → 1.36.4 2024-05-08 19:49:35 -07:00
Krrish Dholakia
0ab57026f3 bump: version 1.36.2 → 1.36.3 2024-05-08 09:24:43 -07:00
Ishaan Jaff
f45feff13c bump: version 1.36.1 → 1.36.2 2024-05-07 19:16:32 -07:00
Ishaan Jaff
22347f2f56 bump: version 1.36.0 → 1.36.1 2024-05-06 18:08:40 -07:00
Roni Gurvich
32a085accf
gunicorn update 2024-05-05 13:25:59 +03:00
Krrish Dholakia
0529d7eaa3 bump: version 1.35.38 → 1.36.0 2024-05-04 22:23:20 -07:00
Ishaan Jaff
fc63c3f555 bump: version 1.35.38 → 1.35.39 2024-05-04 20:43:05 -07:00
Krrish Dholakia
fa47ce456d bump: version 1.35.37 → 1.35.38 2024-05-03 21:38:32 -07:00
Krrish Dholakia
b2a0502383 bump: version 1.35.36 → 1.35.37 2024-05-03 12:42:20 -07:00
Krrish Dholakia
f7d7d34261 bump: version 1.35.35 → 1.35.36 2024-05-01 21:59:33 -07:00
Ishaan Jaff
b693060f09 bump: version 1.35.34 → 1.35.35 2024-05-01 19:58:59 -07:00
Ishaan Jaff
eb54b57a44 bump: version 1.35.33 → 1.35.34 2024-04-30 22:55:03 -07:00
Krrish Dholakia
1cd24d8906 bump: version 1.35.32 → 1.35.33 2024-04-30 07:20:50 -07:00
Krrish Dholakia
4b04b017df bump: version 1.35.31 → 1.35.32 2024-04-29 09:16:44 -07:00
Ishaan Jaff
1543efd5d4 bump: version 1.35.30 → 1.35.31 2024-04-27 19:08:36 -07:00
Krrish Dholakia
487652fd0a bump: version 1.35.29 → 1.35.30 2024-04-26 22:42:16 -07:00
Krrish Dholakia
039ea5497f bump: version 1.35.28 → 1.35.29 2024-04-25 19:51:38 -07:00
Ishaan Jaff
b45ff5a87b bump: version 1.35.27 → 1.35.28 2024-04-25 16:40:02 -07:00
Krrish Dholakia
5ad91e1277 bump: version 1.35.26 → 1.35.27 2024-04-25 08:46:40 -07:00
Krrish Dholakia
4800acc756 refactor(main.py): trigger new build 2024-04-24 22:08:31 -07:00
Ishaan Jaff
d2462c0995 bump: version 1.35.24 → 1.35.25 2024-04-24 21:04:55 -07:00
Krrish Dholakia
57cd3f482a bump: version 1.35.23 → 1.35.24 2024-04-24 11:13:37 -07:00
Krrish Dholakia
f800ebc3c1 bump: version 1.35.22 → 1.35.23 2024-04-24 08:16:33 -07:00
Krrish Dholakia
70c98617da bump: version 1.35.21 → 1.35.22 2024-04-23 22:53:46 -07:00
Krrish Dholakia
959f98a41e bump: version 1.35.20 → 1.35.21 2024-04-23 20:12:02 -07:00
Krrish Dholakia
ff30dc3cf9 bump: version 1.35.19 → 1.35.20 2024-04-22 13:02:06 -07:00
Krrish Dholakia
c015e5e2c6 bump: version 1.35.18 → 1.35.19 2024-04-22 10:54:52 -07:00
Ishaan Jaff
cb3c98abe4 bump: version 1.35.17 → 1.35.18 2024-04-20 19:32:52 -07:00
Ishaan Jaff
afeb1941ce bump: version 1.35.16 → 1.35.17 2024-04-19 21:24:28 -07:00
Krrish Dholakia
432e81335b bump: version 1.35.15 → 1.35.16 2024-04-19 17:03:27 -07:00
Krrish Dholakia
d10743a609 bump: version 1.35.14 → 1.35.15 2024-04-18 22:17:33 -07:00
Ishaan Jaff
7d2fb6da04 bump: version 1.35.13 → 1.35.14 2024-04-18 20:23:58 -07:00
Krrish Dholakia
c589841b7e bump: version 1.35.12 → 1.35.13 2024-04-18 07:35:11 -07:00
Ishaan Jaff
20012b73ba bump: version 1.35.11 → 1.35.12 2024-04-17 20:44:30 -07:00
Ishaan Jaff
7178da3144 bump: version 1.35.10 → 1.35.11 2024-04-17 18:20:31 -07:00
Ishaan Jaff
7765e0054b bump: version 1.35.9 → 1.35.10 2024-04-16 20:57:50 -07:00
Krrish Dholakia
a0d230e3a2 bump: version 1.35.8 → 1.35.9 2024-04-16 11:42:01 -07:00
Krrish Dholakia
45d1b5a4cf bump: version 1.35.7 → 1.35.8 2024-04-15 18:37:06 -07:00
Ishaan Jaff
5504b0c751 bump: version 1.35.6 → 1.35.7 2024-04-15 18:32:14 -07:00