mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
fix: replace deprecated parseAll with parse_all in interpolate.py (#10971)
This commit is contained in:
@@ -178,7 +178,7 @@ def parse_expr(s: str):
|
|||||||
from pyparsing import ParseException
|
from pyparsing import ParseException
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = get_parser().parseString(s, parseAll=True)
|
result = get_parser().parseString(s, parse_all=True)
|
||||||
except ParseException as exc:
|
except ParseException as exc:
|
||||||
format_and_raise_parse_error(exc)
|
format_and_raise_parse_error(exc)
|
||||||
raise AssertionError("unreachable") # noqa: B904
|
raise AssertionError("unreachable") # noqa: B904
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@ dependencies = [
|
|||||||
"psutil>=5.8",
|
"psutil>=5.8",
|
||||||
"pydot>=1.2.4",
|
"pydot>=1.2.4",
|
||||||
"pygtrie>=2.3.2",
|
"pygtrie>=2.3.2",
|
||||||
"pyparsing>=2.4.7",
|
"pyparsing>=3.0.0",
|
||||||
"requests>=2.22",
|
"requests>=2.22",
|
||||||
"rich>=12",
|
"rich>=12",
|
||||||
"ruamel.yaml>=0.17.11",
|
"ruamel.yaml>=0.17.11",
|
||||||
|
|||||||
Reference in New Issue
Block a user