diff --git a/scripts/changesummary.py b/scripts/changesummary.py index b95ea6f5d84..7375a023b98 100644 --- a/scripts/changesummary.py +++ b/scripts/changesummary.py @@ -509,13 +509,14 @@ def detect_discovery_changes(self): result = pd.DataFrame() # Process files in parallel to improve performance with Pool(processes=MULTIPROCESSING_NUM_AGENTS) as pool: - result = result.append( - pool.map( - self._get_discovery_differences, - self._file_list, - MULTIPROCESSING_NUM_PER_BATCH, + if len(self._file_list): + result = pd.concat( + pool.map( + self._get_discovery_differences, + self._file_list, + MULTIPROCESSING_NUM_PER_BATCH, + ) ) - ) if len(result): # Sort the resulting dataframe by `Name`, `Version`, `ChangeType` diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 416be5ae7dd..c9ceee35e0e 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1 +1 @@ -pandas==1.3.5 +pandas==1.4.1