@@ -156,12 +156,18 @@ rustpython-sre_engine = { path = "crates/sre_engine", version = "0.5.0" }
156156rustpython-wtf8 = { path = " crates/wtf8" , version = " 0.5.0" }
157157rustpython-doc = { path = " crates/doc" , version = " 0.5.0" }
158158
159+ # Use RustPython-packaged Ruff crates from the published fork while keeping
160+ # existing crate names in the codebase.
161+ ruff_python_parser = { package = " rustpython-ruff_python_parser" , git = " https://github.com/RustPython/ruff.git" , tag = " 0.15.8-rustpython" , version = " 0.15.8" }
162+ ruff_python_ast = { package = " rustpython-ruff_python_ast" , git = " https://github.com/RustPython/ruff.git" , tag = " 0.15.8-rustpython" , version = " 0.15.8" }
163+ ruff_text_size = { package = " rustpython-ruff_text_size" , git = " https://github.com/RustPython/ruff.git" , tag = " 0.15.8-rustpython" , version = " 0.15.8" }
164+ ruff_source_file = { package = " rustpython-ruff_source_file" , git = " https://github.com/RustPython/ruff.git" , tag = " 0.15.8-rustpython" , version = " 0.15.8" }
159165# Ruff tag 0.15.8 is based on commit c2a8815842f9dc5d24ec19385eae0f1a7188b0d9
160166# at the time of this capture. We use the commit hash to ensure reproducible builds.
161- ruff_python_parser = { git = " https://github.com/astral-sh/ruff.git" , rev = " c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
162- ruff_python_ast = { git = " https://github.com/astral-sh/ruff.git" , rev = " c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
163- ruff_text_size = { git = " https://github.com/astral-sh/ruff.git" , rev = " c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
164- ruff_source_file = { git = " https://github.com/astral-sh/ruff.git" , rev = " c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
167+ # ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
168+ # ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
169+ # ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
170+ # ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
165171
166172phf = { version = " 0.13.1" , default-features = false , features = [" macros" ]}
167173ahash = " 0.8.12"
0 commit comments