Skip to content

Commit 859feed

Browse files
chore(deps): update dependency pandas to v1.4.1 (#1694)
* chore(deps): update dependency pandas to v1.4.1 * chore: migrate to pd.concat Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 373f3fa commit 859feed

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

scripts/changesummary.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -509,13 +509,14 @@ def detect_discovery_changes(self):
509509
result = pd.DataFrame()
510510
# Process files in parallel to improve performance
511511
with Pool(processes=MULTIPROCESSING_NUM_AGENTS) as pool:
512-
result = result.append(
513-
pool.map(
514-
self._get_discovery_differences,
515-
self._file_list,
516-
MULTIPROCESSING_NUM_PER_BATCH,
512+
if len(self._file_list):
513+
result = pd.concat(
514+
pool.map(
515+
self._get_discovery_differences,
516+
self._file_list,
517+
MULTIPROCESSING_NUM_PER_BATCH,
518+
)
517519
)
518-
)
519520

520521
if len(result):
521522
# Sort the resulting dataframe by `Name`, `Version`, `ChangeType`

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pandas==1.3.5
1+
pandas==1.4.1

0 commit comments

Comments
 (0)