Skip to content

Commit

Permalink
make antlr optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tokoko committed Oct 10, 2024
1 parent 21b13a6 commit 2ecefe6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ authors = [{name = "Substrait contributors", email = "[email protected]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.8.1"
dependencies = ["protobuf >= 3.20", "antlr4-python3-runtime"]
dependencies = ["protobuf >= 3.20"]
dynamic = ["version"]

[tool.setuptools_scm]
write_to = "src/substrait/_version.py"

[project.optional-dependencies]
extensions = ["antlr4-python3-runtime"]
gen_proto = ["protobuf == 3.20.1", "protoletariat >= 2.0.0"]
test = ["pytest >= 7.0.0"]
test = ["pytest >= 7.0.0", "antlr4-python3-runtime"]

[tool.pytest.ini_options]
pythonpath = "src"
Expand Down

0 comments on commit 2ecefe6

Please sign in to comment.