poky/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
Bruce Ashfield af7d5f02be python: import rfc3986-validator from meta-python
Importing rfc3986-validator, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: ffe53365633833e5134744730b00c74cbb462752)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00

33 lines
791 B
Diff

From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
From: Nicola Lunghi <nicola.lunghi@jci.com>
Date: Thu, 14 Nov 2019 12:17:51 +0000
Subject: [PATCH] setup.py: move pytest-runner to test_requirements
This fixes an issue with yocto build.
pytest-runner is only needed when running tests.
Upstream-Status: Pending
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 53ebea7..ebb0de2 100644
--- a/setup.py
+++ b/setup.py
@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
requirements = []
-setup_requirements = ['pytest-runner', ]
+setup_requirements = []
-test_requirements = ['pytest>=3', ]
+test_requirements = ['pytest>=3', 'pytest-runner']
setup(
author="Nicolas Aimetti",
--
2.20.1