Skip to content

Commit edc5eb9

Browse files
zaniebkonstin
authored andcommitted
Remove tag information from RustPython-Parser dependency (#5861)
Following astral-sh/RustPython-Parser#27 we now cherry-pick commits onto our fork instead of rebasing our fork on top of the upstream which means we do not overwrite history and a tag is not necessary to preserve the pinned commit. In the future, we may rewrite the history in our fork. If we do, we should return to tagging the commits.
1 parent 923f1ca commit edc5eb9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ wsl = { version = "0.1.0" }
5252
# v1.0.1
5353
libcst = { git = "https://github.com/Instagram/LibCST.git", rev = "3cacca1a1029f05707e50703b49fe3dd860aa839", default-features = false }
5454

55-
# Please tag the RustPython version every time you update its revision here and in fuzz/Cargo.toml
56-
# Tagging the version ensures that older ruff versions continue to build from source even when we rebase our RustPython fork.
57-
# Current tag: v0.0.9
5855
ruff_text_size = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" }
5956
rustpython-ast = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" , default-features = false, features = ["num-bigint"]}
6057
rustpython-format = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c", default-features = false, features = ["num-bigint"] }

fuzz/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ ruff_python_ast = { path = "../crates/ruff_python_ast" }
2424
ruff_python_formatter = { path = "../crates/ruff_python_formatter" }
2525
similar = { version = "2.2.1" }
2626

27-
# Current tag: v0.0.9
2827
rustpython-parser = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" , default-features = false, features = ["full-lexer", "num-bigint"] }
2928

3029
# Prevent this from interfering with workspaces

0 commit comments

Comments
 (0)