Skip to content

Commit e6031ac

Browse files
committed
skip pyparsing 3.x on py3.6
1 parent 0249f5a commit e6031ac

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ coloredlogs
1212
pydot>=1.4.1
1313
argcomplete>=1.12.0
1414
pyparsing != 3.0.2 # breaks --print-dot (pydot) https://github.com/pyparsing/pyparsing/issues/319
15+
pyparsing < 3;python_version<='3.6' # breaks --print-dot

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"coloredlogs",
123123
"pydot >= 1.4.1",
124124
"pyparsing != 3.0.2", # breaks --print-dot (pydot) https://github.com/pyparsing/pyparsing/issues/319
125+
"pyparsing < 3 ;python_version<='3.6'", # breaks --print-dot (pydot)
125126
"argcomplete",
126127
],
127128
extras_require={

tests/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def test_print_dot() -> None:
10361036
)
10371037
)[0]
10381038
stdout = StringIO()
1039-
assert main(["--print-dot", cwl_path], stdout=stdout) == 0
1039+
assert main(["--debug", "--print-dot", cwl_path], stdout=stdout) == 0
10401040
computed_dot = pydot.graph_from_dot_data(stdout.getvalue())[0]
10411041
computed_edges = sorted(
10421042
(urlparse(source).fragment, urlparse(target).fragment)

0 commit comments

Comments
 (0)