Skip to content

Commit 4b3fb1c

Browse files
committed
pin python coverage package
This reverts commit 97d4e5f.
1 parent 97d4e5f commit 4b3fb1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

safegraph_patterns/delphi_safegraph_patterns/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
from .process import process
1919

20-
mp.set_start_method("spawn")
2120

2221
METRICS = [
2322
# signal_name, naics_code, wip
@@ -106,7 +105,7 @@ def run_module(params):
106105
logger=logger,
107106
)
108107

109-
with mp.get_context("spawn").Pool(n_core) as pool:
108+
with mp.Pool(n_core) as pool:
110109
pool.map(process_file, files)
111110

112111
elapsed_time_in_seconds = round(time.time() - start_time, 2)

safegraph_patterns/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"pydocstyle",
88
"pytest",
99
"pytest-cov",
10+
"coverage==6.2.0",
1011
"pylint==2.8.3",
1112
"delphi-utils"
1213
]

0 commit comments

Comments
 (0)