diff --git a/Cargo.lock b/Cargo.lock index f79b0748a..2d2e02ce8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1950,21 +1950,6 @@ dependencies = [ "syn-ext", ] -[[package]] -name = "ruff_source_location" -version = "0.0.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" -dependencies = [ - "memchr", - "once_cell", - "ruff_text_size", -] - -[[package]] -name = "ruff_text_size" -version = "0.0.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" - [[package]] name = "rustc-hash" version = "1.1.0" @@ -2020,8 +2005,8 @@ dependencies = [ [[package]] name = "rustpython-ast" -version = "0.2.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" dependencies = [ "is-macro", "malachite-bigint", @@ -2132,8 +2117,8 @@ dependencies = [ [[package]] name = "rustpython-format" -version = "0.2.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" dependencies = [ "bitflags 2.3.1", "itertools 0.10.5", @@ -2159,8 +2144,8 @@ dependencies = [ [[package]] name = "rustpython-literal" -version = "0.2.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" dependencies = [ "hexf-parse", "is-macro", @@ -2171,8 +2156,8 @@ dependencies = [ [[package]] name = "rustpython-parser" -version = "0.2.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" dependencies = [ "anyhow", "is-macro", @@ -2194,13 +2179,21 @@ dependencies = [ [[package]] name = "rustpython-parser-core" -version = "0.2.0" -source = "git+https://github.com/RustPython/Parser.git?rev=704eb40108239a8faf9bd1d4217e8dad0ac7edb3#704eb40108239a8faf9bd1d4217e8dad0ac7edb3" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" dependencies = [ "is-macro", "memchr", - "ruff_source_location", - "ruff_text_size", + "rustpython-parser-vendored", +] + +[[package]] +name = "rustpython-parser-vendored" +version = "0.3.0" +source = "git+https://github.com/RustPython/Parser.git?tag=0.3.0#a1e4336f7043807eda8a5ecb15d4115172cc4a7e" +dependencies = [ + "memchr", + "once_cell", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index cd10c10f9..10898d2ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,11 +29,11 @@ rustpython-pylib = { path = "pylib" } rustpython-stdlib = { path = "stdlib" } rustpython-doc = { git = "https://github.com/RustPython/__doc__", branch = "main" } -rustpython-literal = { git = "https://github.com/RustPython/Parser.git", rev = "704eb40108239a8faf9bd1d4217e8dad0ac7edb3" } -rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", rev = "704eb40108239a8faf9bd1d4217e8dad0ac7edb3" } -rustpython-parser = { git = "https://github.com/RustPython/Parser.git", rev = "704eb40108239a8faf9bd1d4217e8dad0ac7edb3" } -rustpython-ast = { git = "https://github.com/RustPython/Parser.git", rev = "704eb40108239a8faf9bd1d4217e8dad0ac7edb3" } -rustpython-format = { git = "https://github.com/RustPython/Parser.git", rev = "704eb40108239a8faf9bd1d4217e8dad0ac7edb3" } +rustpython-literal = { git = "https://github.com/RustPython/Parser.git", tag = "0.3.0" } +rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", tag = "0.3.0" } +rustpython-parser = { git = "https://github.com/RustPython/Parser.git", tag = "0.3.0" } +rustpython-ast = { git = "https://github.com/RustPython/Parser.git", tag = "0.3.0" } +rustpython-format = { git = "https://github.com/RustPython/Parser.git", tag = "0.3.0" } # rustpython-literal = { path = "../RustPython-parser/literal" } # rustpython-parser-core = { path = "../RustPython-parser/core" } # rustpython-parser = { path = "../RustPython-parser/parser" }