diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-17 14:59:19 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-19 11:33:14 +0100 |
| commit | 5128defbc3996af5f8e28f5681ba4ad5b3c5d023 (patch) | |
| tree | 4e661fcc44f37b1045f4d8e3ce251e25a9265084 /scripts/lib/build_perf | |
| parent | c5d1550fe696ce0d131529d4682fd669f8bf25a9 (diff) | |
| download | poky-5128defbc3996af5f8e28f5681ba4ad5b3c5d023.tar.gz | |
meta: correct collections vs collections.abc deprecation
collections.abc is available since 3.3 and doesn't need special handling.
(From OE-Core rev: 01152c9410ba00274c8415a5d914dc33dfd0cf46)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf')
| -rw-r--r-- | scripts/lib/build_perf/report.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py index 4e8e2a8a93..ab77424cc7 100644 --- a/scripts/lib/build_perf/report.py +++ b/scripts/lib/build_perf/report.py | |||
| @@ -4,7 +4,8 @@ | |||
| 4 | # SPDX-License-Identifier: GPL-2.0-only | 4 | # SPDX-License-Identifier: GPL-2.0-only |
| 5 | # | 5 | # |
| 6 | """Handling of build perf test reports""" | 6 | """Handling of build perf test reports""" |
| 7 | from collections import OrderedDict, Mapping, namedtuple | 7 | from collections import OrderedDict, namedtuple |
| 8 | from collections.abc import Mapping | ||
| 8 | from datetime import datetime, timezone | 9 | from datetime import datetime, timezone |
| 9 | from numbers import Number | 10 | from numbers import Number |
| 10 | from statistics import mean, stdev, variance | 11 | from statistics import mean, stdev, variance |
