Skip to content

Commit 5416e4d

Browse files
Merge pull request #369 from databricks-solutions/fix/litellm-supply-chain-security
fix: remove compromised litellm from shipped packages, add NOTICE.txt
2 parents 5cdb0c5 + 6d93cec commit 5416e4d

5 files changed

Lines changed: 101 additions & 4 deletions

File tree

.test/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
[project.optional-dependencies]
1919
databricks = ["databricks-sdk>=0.20.0"]
2020
dev = ["pytest>=8.0", "pytest-asyncio>=0.23"]
21-
optimize = ["gepa>=0.1.0", "tiktoken>=0.7.0"]
21+
optimize = ["gepa>=0.1.0", "tiktoken>=0.7.0", "litellm<=1.82.6"]
2222
agent = ["claude-agent-sdk>=0.1.39"]
2323
# judges group: install separately when mlflow-deepeval/mlflow-ragas are published
2424
# judges = ["mlflow-deepeval>=0.1.0", "mlflow-ragas>=0.1.0"]

NOTICE.txt

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
Databricks AI Dev Kit
2+
Copyright 2026 Databricks, Inc.
3+
4+
This product is licensed under the Databricks License. See the LICENSE.md
5+
file for the full license text.
6+
7+
This product includes software developed by third parties. Below is a list
8+
of those third-party components and their respective licenses.
9+
10+
________________________________________________________________________________
11+
12+
MIT License (https://opensource.org/licenses/MIT)
13+
14+
fastmcp
15+
https://github.com/jlowin/fastmcp
16+
Copyright (c) 2024 Jeremiah Lowin
17+
18+
mcp (Python SDK)
19+
https://github.com/modelcontextprotocol/python-sdk
20+
Copyright (c) 2024 Anthropic, PBC
21+
22+
sqlglot
23+
https://github.com/tobymao/sqlglot
24+
Copyright (c) 2023 Toby Mao
25+
26+
sqlfluff
27+
https://github.com/sqlfluff/sqlfluff
28+
Copyright (c) 2019 Alan Cruickshank
29+
30+
claude-agent-sdk
31+
https://github.com/anthropics/claude-code
32+
Copyright (c) 2024 Anthropic, PBC
33+
34+
fastapi
35+
https://github.com/fastapi/fastapi
36+
Copyright (c) 2018 Sebastian Ramirez
37+
38+
sqlalchemy
39+
https://github.com/sqlalchemy/sqlalchemy
40+
Copyright (c) 2005-2024 Michael Bayer and contributors
41+
42+
alembic
43+
https://github.com/sqlalchemy/alembic
44+
Copyright (c) 2009-2024 Michael Bayer
45+
46+
greenlet
47+
https://github.com/python-greenlet/greenlet
48+
Copyright (c) Alexey Borzenkov
49+
50+
pydantic
51+
https://github.com/pydantic/pydantic
52+
Copyright (c) 2017-2024 Samuel Colvin and other contributors
53+
54+
requests
55+
https://github.com/psf/requests
56+
Copyright (c) 2011-2024 Kenneth Reitz
57+
58+
________________________________________________________________________________
59+
60+
BSD 3-Clause License (https://opensource.org/licenses/BSD-3-Clause)
61+
62+
uvicorn
63+
https://github.com/encode/uvicorn
64+
Copyright (c) 2017-present, Encode OSS Ltd.
65+
66+
httpx
67+
https://github.com/encode/httpx
68+
Copyright (c) 2019-present, Encode OSS Ltd.
69+
70+
________________________________________________________________________________
71+
72+
Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
73+
74+
databricks-sdk
75+
https://github.com/databricks/databricks-sdk-py
76+
Copyright (c) 2023 Databricks, Inc.
77+
78+
anthropic (Python SDK)
79+
https://github.com/anthropics/anthropic-sdk-python
80+
Copyright (c) 2023 Anthropic, PBC
81+
82+
________________________________________________________________________________
83+
84+
AGPL-3.0 License (https://www.gnu.org/licenses/agpl-3.0.html)
85+
86+
pymupdf
87+
https://github.com/pymupdf/PyMuPDF
88+
Copyright (c) 2015-2024 Artifex Software, Inc.
89+
90+
________________________________________________________________________________
91+
92+
LGPL-3.0 License (https://www.gnu.org/licenses/lgpl-3.0.html)
93+
94+
psycopg2-binary
95+
https://github.com/psycopg/psycopg2
96+
Copyright (c) 2001-2024 Federico Di Gregorio and Daniele Varrazzo
97+
98+
psycopg (psycopg3)
99+
https://github.com/psycopg/psycopg
100+
Copyright (c) 2020-2024 Daniele Varrazzo

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ The source in this project is provided subject to the [Databricks License](https
221221
| [mcp](https://github.com/modelcontextprotocol/python-sdk) | ≥1.0.0 | MIT | https://github.com/modelcontextprotocol/python-sdk |
222222
| [sqlglot](https://github.com/tobymao/sqlglot) | ≥20.0.0 | MIT | https://github.com/tobymao/sqlglot |
223223
| [sqlfluff](https://github.com/sqlfluff/sqlfluff) | ≥3.0.0 | MIT | https://github.com/sqlfluff/sqlfluff |
224-
| [litellm](https://github.com/BerriAI/litellm) | ≥1.0.0 | MIT | https://github.com/BerriAI/litellm |
225224
| [pymupdf](https://github.com/pymupdf/PyMuPDF) | ≥1.24.0 | AGPL-3.0 | https://github.com/pymupdf/PyMuPDF |
226225
| [claude-agent-sdk](https://github.com/anthropics/claude-code) | ≥0.1.19 | MIT | https://github.com/anthropics/claude-code |
227226
| [fastapi](https://github.com/fastapi/fastapi) | ≥0.115.8 | MIT | https://github.com/fastapi/fastapi |

databricks-builder-app/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ dependencies = [
3636
"requests>=2.31.0",
3737
"sqlglot>=20.0.0",
3838
"sqlfluff>=3.0.0",
39-
"litellm>=1.0.0",
4039
"pymupdf>=1.24.0",
4140
# Conflict resolution pins for Databricks Apps pre-installed packages
4241
"tenacity==9.0.0",

databricks-builder-app/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ fastmcp>=0.1.0
3131
requests>=2.31.0
3232
sqlglot>=20.0.0
3333
sqlfluff>=3.0.0
34-
litellm>=1.0.0
3534
pymupdf>=1.24.0
3635

3736
# Conflict resolution pins for Databricks Apps pre-installed packages

0 commit comments

Comments
 (0)