facadedevice: fix for Python 3.10+ collections API
This commit is contained in:
parent
87c340f6d6
commit
d78e497d7e
@ -0,0 +1,13 @@
|
||||
diff -purN facadedevice-1.0.1/facadedevice/graph.py facadedevice-1.0.1-yocto/facadedevice/graph.py
|
||||
--- facadedevice-1.0.1/facadedevice/graph.py 2017-06-01 16:02:21.000000000 +0200
|
||||
+++ facadedevice-1.0.1-yocto/facadedevice/graph.py 2024-03-15 14:07:22.919091844 +0100
|
||||
@@ -5,7 +5,8 @@
|
||||
import time
|
||||
import warnings
|
||||
from functools import partial
|
||||
-from collections import Mapping, namedtuple, defaultdict
|
||||
+from collections.abc import Mapping
|
||||
+from collections import namedtuple, defaultdict
|
||||
|
||||
from numpy import array_equal
|
||||
from tango import AttrQuality
|
||||
@ -2,3 +2,6 @@ require python3-facadedevice.inc
|
||||
|
||||
# pypi package for 1.0.1
|
||||
SRC_URI[sha256sum] = "87c71636b5b217ced3d8a6fdf4e3b3a5a24589be8940b0dee35314079783b659"
|
||||
|
||||
# patch new collections API in Python 3.10
|
||||
SRC_URI += "file://0001-py3.10-fix-collections.patch"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user