Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mx.groups.io with SMTP id smtpd.web10.2479.1590024317768204761 for ; Wed, 20 May 2020 18:25:18 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: windriver.com, ip: 147.11.146.13, mailfrom: tgamblin@windriver.com) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.2) with ESMTPS id 04L1PGV5013063 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 20 May 2020 18:25:16 -0700 (PDT) Received: from ala-lpggp3.wrs.com (147.11.105.124) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.487.0; Wed, 20 May 2020 18:25:15 -0700 Received: by ala-lpggp3.wrs.com (Postfix, from userid 20958) id EBD8B90037B; Wed, 20 May 2020 18:25:15 -0700 (PDT) From: "Trevor Gamblin" To: Subject: [meta-python][PATCH v3] python3-iso8601: add python3-numbers to RDEPENDS Date: Wed, 20 May 2020 18:25:15 -0700 Message-ID: <20200521012515.88402-1-trevor.gamblin@windriver.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain python3-iso8601 relies on the decimal module from the standard library, but it is not in iso8601's RDEPENDS: |root@qemux86-64:~# python3 |Python 3.8.2 (default, Apr 27 2020, 08:51:00) |[GCC 9.3.0] on linux |Type "help", "copyright", "credits" or "license" for more information. |>>> import iso8601 |Traceback (most recent call last): |File "", line 1, in |File "/usr/lib64/python3.8/site-packages/iso8601/_init_.py", line 1, in |from .iso8601 import * |File "/usr/lib64/python3.8/site-packages/iso8601/iso8601.py", line 12, in |from decimal import Decimal |ModuleNotFoundError: No module named 'decimal' Add it to RDEPENDS to fix the import error. Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python-iso8601.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python-iso8601.inc b/meta-python/recipes-devtools/python/python-iso8601.inc index 61e9abbac..a70843ead 100644 --- a/meta-python/recipes-devtools/python/python-iso8601.inc +++ b/meta-python/recipes-devtools/python/python-iso8601.inc @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098ed RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ " BBCLASSEXTEND = "native nativesdk" -- 2.17.1