Skip to content

Commit d681a45

Browse files
authored
Make ruff_db a required crate for ruff_python_semantic (#11874)
## Summary This PR makes the `ruff_db` a required crate for `ruff_python_semantic`. Refer https://github.com/astral-sh/ruff/actions/runs/9516626143/job/26233307158?pr=11872 ## Test Plan 1. `maturin sdist --out dist` 2. `tar -xf dist/ruff-0.4.8.tar.gz --directory=dist/ruff-0.4.8` 3. `pip install dist/ruff-0.4.8.tar.gz` works
1 parent 89bb07c commit d681a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ruff_python_semantic/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ license = { workspace = true }
1414
doctest = false
1515

1616
[dependencies]
17-
ruff_db = { workspace = true, optional = true }
17+
ruff_db = { workspace = true }
1818
ruff_index = { workspace = true }
1919
ruff_python_ast = { workspace = true }
2020
ruff_python_stdlib = { workspace = true }
@@ -34,4 +34,4 @@ ruff_python_parser = { workspace = true }
3434
workspace = true
3535

3636
[features]
37-
red_knot = ["dep:ruff_db", "dep:salsa", "dep:tracing"]
37+
red_knot = ["dep:salsa", "dep:tracing"]

0 commit comments

Comments
 (0)