From f47443014ebf4f054ac41aac9b508072eeca105d Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 18 Jul 2023 10:48:51 -0500 Subject: [PATCH] Remove tag information from RustPython-Parser dependency (#5861) Following https://github.com/astral-sh/RustPython-Parser/pull/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. --- Cargo.toml | 3 --- fuzz/Cargo.toml | 1 - 2 files changed, 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a96cd6f742..80ba4e4419 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,9 +52,6 @@ wsl = { version = "0.1.0" } # v1.0.1 libcst = { git = "https://github.com/Instagram/LibCST.git", rev = "3cacca1a1029f05707e50703b49fe3dd860aa839", default-features = false } -# Please tag the RustPython version every time you update its revision here and in fuzz/Cargo.toml -# Tagging the version ensures that older ruff versions continue to build from source even when we rebase our RustPython fork. -# Current tag: v0.0.9 ruff_text_size = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" } rustpython-ast = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" , default-features = false, features = ["num-bigint"]} rustpython-format = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c", default-features = false, features = ["num-bigint"] } diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 7e5c73aff0..d2922b0949 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -24,7 +24,6 @@ ruff_python_ast = { path = "../crates/ruff_python_ast" } ruff_python_formatter = { path = "../crates/ruff_python_formatter" } similar = { version = "2.2.1" } -# Current tag: v0.0.9 rustpython-parser = { git = "https://github.com/astral-sh/RustPython-Parser.git", rev = "db04fd415774032e1e2ceb03bcbf5305e0d22c8c" , default-features = false, features = ["full-lexer", "num-bigint"] } # Prevent this from interfering with workspaces