diff mbox series

[v8,2/4] test: py: add pygit2 and pyelftools to requirements.txt

Message ID 20210125122843.253275-3-igor.opaniuk@gmail.com
State Accepted
Commit f4a60b036308ca4a0a3ad08587b7f9b72d3565d5
Delegated to: Tom Rini
Headers show
Series OP-TEE I2C trampoline and associated tests | expand

Commit Message

Igor Opaniuk Jan. 25, 2021, 12:28 p.m. UTC
From: Igor Opaniuk <igor.opaniuk@foundries.io>

Add pygit2 and pyelftools to the list of packages for virtualenv
needed to run all sets of pytests.This fixes warnings like:

binman.elf_test.TestElf.testDecodeElf (subunit.RemotedTestCase):
Python elftools not available

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

 test/py/requirements.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini Feb. 16, 2021, 9:56 p.m. UTC | #1
On Mon, Jan 25, 2021 at 02:28:41PM +0200, Igor Opaniuk wrote:

> From: Igor Opaniuk <igor.opaniuk@foundries.io>
> 
> Add pygit2 and pyelftools to the list of packages for virtualenv
> needed to run all sets of pytests.This fixes warnings like:
> 
> binman.elf_test.TestElf.testDecodeElf (subunit.RemotedTestCase):
> Python elftools not available
> 
> Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/test/py/requirements.txt b/test/py/requirements.txt
index cf251186f4..926bccad69 100644
--- a/test/py/requirements.txt
+++ b/test/py/requirements.txt
@@ -10,6 +10,8 @@  packaging==19.2
 pbr==5.4.3
 pluggy==0.13.0
 py==1.8.0
+pyelftools==0.27
+pygit2==1.4.0
 pyparsing==2.4.2
 pytest==5.2.1
 python-mimeparse==1.6.0