Skip to content

Commit 9f9ba1a

Browse files
committed
Update gprof2dot requirement
Upper bound of the version was set because of breaking change in grpof2dot. This commit changes function calls that were related to this breaking change and removes upper bound for grpof2dot requirement.
1 parent bce477d commit 9f9ba1a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Pillow>=3.2
1010
Django>=1.11
1111
freezegun>=0.3
1212
factory-boy>=2.8.1
13-
gprof2dot>=2016.10.13,<2017.09.19
13+
gprof2dot>=2017.09.19

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ def read_md(f):
5656
'Jinja2',
5757
'autopep8',
5858
'pytz',
59-
'gprof2dot<2017.09.19',
59+
'gprof2dot>=2017.09.19',
6060
]
6161
)

silk/views/profile_dot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _create_dot(profile, cutoff):
5555
"""
5656
node_cutoff = cutoff / 100.0
5757
edge_cutoff = 0.1 / 100.0
58-
profile.prune(node_cutoff, edge_cutoff, False)
58+
profile.prune(node_cutoff, edge_cutoff, [], False)
5959

6060
with closing(StringIO()) as fp:
6161
DotWriter(fp).graph(profile, COLOR_MAP)

0 commit comments

Comments
 (0)