cjdns: patch of gyp imports support python3.10 (#974)
This commit is contained in:
parent
c9a8f2d032
commit
e8856b93da
|
@ -0,0 +1,15 @@
|
||||||
|
--- a/node_build/dependencies/libuv/build/gyp/pylib/gyp/common.py
|
||||||
|
+++ b/node_build/dependencies/libuv/build/gyp/pylib/gyp/common.py
|
||||||
|
@@ -4,7 +4,11 @@
|
||||||
|
|
||||||
|
from __future__ import with_statement
|
||||||
|
|
||||||
|
-import collections
|
||||||
|
+try:
|
||||||
|
+ # Python 3.10
|
||||||
|
+ from six.moves import collections_abc as collections
|
||||||
|
+except ImportError:
|
||||||
|
+ import collections
|
||||||
|
import errno
|
||||||
|
import filecmp
|
||||||
|
import os.path
|
Loading…
Reference in New Issue