mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-13 13:56:00 +01:00
gyp: fix for compatibility with Python 3.10 (part 2)
The patch for python 3.10 compatibility was missing an update to 'import' line. Fixes the following problem encountered making use of gyp: | File "[...]/usr/lib/python3.10/site-packages/gyp/common.py", line 497, in <module> | class OrderedSet(collections.abc.MutableSet): | AttributeError: module 'collections' has no attribute 'abc' Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d740ecb8c4
commit
3be43040f4
|
|
@ -14,6 +14,15 @@ diff --git a/pylib/gyp/common.py b/pylib/gyp/common.py
|
|||
index b268d229..4f9cb0ec 100644
|
||||
--- a/pylib/gyp/common.py
|
||||
+++ b/pylib/gyp/common.py
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
-import collections
|
||||
+import collections.abc
|
||||
import errno
|
||||
import filecmp
|
||||
import os.path
|
||||
@@ -494,7 +494,7 @@ def uniquer(seq, idfun=None):
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user