@@ -101,6 +101,11 @@ required-features = [
101101[profile .dev .package ."*" ]
102102opt-level = 3
103103
104+ # Unoptimized opcode dispatch leaves oversized native frames active during
105+ # imports and callbacks. Keep the evaluator compact without changing dev guards.
106+ [profile .dev .package .rustpython-vm ]
107+ opt-level = 3
108+
104109[profile .test ]
105110opt-level = 3
106111# https://github.com/rust-lang/rust/issues/92869
@@ -197,10 +202,10 @@ rustpython-wtf8 = { path = "crates/wtf8", version = "0.6.1" }
197202rustpython-doc = { path = " crates/doc" , version = " 0.6.1" }
198203
199204# Use the RustPython Ruff fork for RustPython public `_ast` metadata.
200- ruff_python_parser = { package = " rustpython-ruff_python_parser" , version = " 0.16.10 " }
201- ruff_python_ast = { package = " rustpython-ruff_python_ast" , version = " 0.16.10 " }
202- ruff_text_size = { package = " rustpython-ruff_text_size" , version = " 0.16.10 " }
203- ruff_source_file = { package = " rustpython-ruff_source_file" , version = " 0.16.10 " }
205+ ruff_python_parser = { package = " rustpython-ruff_python_parser" , git = " https://github.com/RustPython/ruff.git " , rev = " 9290a8849542134d83f77e9360e7f0b93897fd93 " }
206+ ruff_python_ast = { package = " rustpython-ruff_python_ast" , git = " https://github.com/RustPython/ruff.git " , rev = " 9290a8849542134d83f77e9360e7f0b93897fd93 " }
207+ ruff_text_size = { package = " rustpython-ruff_text_size" , git = " https://github.com/RustPython/ruff.git " , rev = " 9290a8849542134d83f77e9360e7f0b93897fd93 " }
208+ ruff_source_file = { package = " rustpython-ruff_source_file" , git = " https://github.com/RustPython/ruff.git " , rev = " 9290a8849542134d83f77e9360e7f0b93897fd93 " }
204209
205210der = { version = " 0.8" , features = [" alloc" , " oid" , " pem" , " zeroize" ] }
206211phf = { version = " 0.14.0" , default-features = false , features = [" macros" ]}
0 commit comments