FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Pin ruff crates to exact 0.16.5 · RustPython/RustPython@aa37f49 · GitHub

Repository navigation

Commit aa37f49

Browse files
committed
Pin ruff crates to exact 0.16.5
example_projects are separate workspaces without a lockfile, so caret 0.16.5 resolved rustpython-ruff 0.16.10 and broke codegen. Assisted-by: Grok 4.6
1 parent 60ab45e commit aa37f49

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎Cargo.toml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,12 @@ rustpython-wtf8 = { path = "crates/wtf8", version = "0.6.1" }
188188
rustpython-doc = { path = "crates/doc", version = "0.6.1" }
189189

190190
# Use the RustPython Ruff fork for RustPython public `_ast` metadata.
191-
ruff_python_parser = { package = "rustpython-ruff_python_parser", version = "0.16.5" }
192-
ruff_python_ast = { package = "rustpython-ruff_python_ast", version = "0.16.5" }
193-
ruff_text_size = { package = "rustpython-ruff_text_size", version = "0.16.5" }
194-
ruff_source_file = { package = "rustpython-ruff_source_file", version = "0.16.5" }
191+
# Exact versions: example_projects are separate workspaces without a lockfile,
192+
# so a caret would resolve the latest 0.16.x and break codegen.
193+
ruff_python_parser = { package = "rustpython-ruff_python_parser", version = "=0.16.5" }
194+
ruff_python_ast = { package = "rustpython-ruff_python_ast", version = "=0.16.5" }
195+
ruff_text_size = { package = "rustpython-ruff_text_size", version = "=0.16.5" }
196+
ruff_source_file = { package = "rustpython-ruff_source_file", version = "=0.16.5" }
195197

196198
der = { version = "0.8", features = ["alloc", "oid", "pem", "zeroize"] }
197199
phf = { version = "0.14.0", default-features = false, features = ["macros"]}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL