mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-08 01:37:36 +00:00
python3-jsonrpcserver: add patch to use importlib.resources instead of pkg_resources
Currently jsonrpcserver has a runtime dependency to setuptools because it uses pkg_resources. Setuptools however is not listed in the RDEPENDS of python3-jsonrpcserver. We could add setuptools to RDEPENDS but since pkg_resources is discouraged anyway [1], I posted a patch upstream to replace pkg_resources by importlib.resources. Until the upstream patch is accepted and released, add it here as a patch so python3-jsonrpcserver is usable without the setuptools dependency. Upstream-Status: Submitted [https://github.com/explodinglabs/jsonrpcserver/pull/235] Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
85b7ff3a38
commit
8ad020938f
@@ -0,0 +1,5 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI = "\
|
||||
file://0001-Use-importlib.resources-instead-of-pkg_resources.patch \
|
||||
"
|
||||
Reference in New Issue
Block a user