Skip to content
Merged
Changes from all commits
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
33 changes: 19 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,25 @@ healthcheck = [
]

[build-system]
requires = ["uv_build==0.11.8"]
build-backend = "uv_build"
requires = ["maturin==1.9.4"]
build-backend = "maturin"
Comment on lines +237 to +238

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Merge ordering dependency not enforced

The PR description explicitly states that the companion release-pipeline change (which builds the Admin UI from source and gates the wheel on containing the native module) must land before this PR. If this pyproject.toml flip merges first, the existing pipeline will attempt a maturin build but lack the validation logic, meaning a malformed or UI-less wheel could be published to PyPI before the gate is in place. Consider blocking this PR in the merge queue until the pipeline PR is confirmed merged, or adding a CI step here that fails if the pipeline does not already support maturin wheels.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!


[tool.maturin]
manifest-path = "litellm-rust/crates/python-bridge/Cargo.toml"
module-name = "litellm.rust_bridge._native"
python-source = "."
bindings = "pyo3"
include = ["litellm/proxy/_experimental/out/**"]
exclude = [
"litellm/proxy/enterprise",
"litellm/proxy/enterprise/**",
"**/__pycache__",
"**/__pycache__/**",
"**/.pytest_cache",
"**/.pytest_cache/**",
"**/.ruff_cache",
"**/.ruff_cache/**",
]

[tool.uv]
constraint-dependencies = [
Expand All @@ -258,18 +275,6 @@ litellm-enterprise = { workspace = true }
[tool.uv.workspace]
members = ["enterprise", "litellm-proxy-extras"]

[tool.uv.build-backend]
module-root = ""
source-exclude = [
"litellm/proxy/enterprise",
"**/__pycache__",
"**/__pycache__/**",
"**/.pytest_cache",
"**/.pytest_cache/**",
"**/.ruff_cache",
"**/.ruff_cache/**",
]

[tool.isort]
profile = "black"

Expand Down
Loading