diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-11-22 10:24:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-24 10:08:28 +0000 |
commit | 0d236d8fafe94dfece36bd305f0bac0464e0b5e2 (patch) | |
tree | 856179afecc392c4e164e4d07fd37602a105d012 /bitbake/lib/bb/cache.py | |
parent | fbd5ce2c50c7813675185b418ab53b170416ac25 (diff) | |
download | poky-0d236d8fafe94dfece36bd305f0bac0464e0b5e2.tar.gz |
bitbake: bitbake: correct the collections vs collections.abc deprecation
This becomes a hard error in python 3.10.
(Bitbake rev: 2805102e2a142c8e821519b651e4035353bbb717)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae219e1f7460077f4492b31ac91cef4cf9b17277)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 27eb271798..5f9c0a779d 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -19,7 +19,8 @@ | |||
19 | import os | 19 | import os |
20 | import logging | 20 | import logging |
21 | import pickle | 21 | import pickle |
22 | from collections import defaultdict, Mapping | 22 | from collections import defaultdict |
23 | from collections.abc import Mapping | ||
23 | import bb.utils | 24 | import bb.utils |
24 | from bb import PrefixLoggerAdapter | 25 | from bb import PrefixLoggerAdapter |
25 | import re | 26 | import re |