diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-11-22 22:54:28 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-26 17:01:08 +0000 |
| commit | af7d5f02be66f2000c124d91cc32aad824c7628d (patch) | |
| tree | 2c42cec3642c09ae6183b8a12d49bdbd6d70f709 /meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | |
| parent | 96853b0225d7ae3b8cbabc64fbacee8ac9d79441 (diff) | |
| download | poky-af7d5f02be66f2000c124d91cc32aad824c7628d.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch new file mode 100644 index 0000000000..8a646874e8 --- /dev/null +++ b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nicola Lunghi <nicola.lunghi@jci.com> | ||
| 3 | Date: Thu, 14 Nov 2019 12:17:51 +0000 | ||
| 4 | Subject: [PATCH] setup.py: move pytest-runner to test_requirements | ||
| 5 | |||
| 6 | This fixes an issue with yocto build. | ||
| 7 | pytest-runner is only needed when running tests. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | --- | ||
| 11 | setup.py | 4 ++-- | ||
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index 53ebea7..ebb0de2 100644 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -10,9 +10,9 @@ with open('README.md') as readme_file: | ||
| 19 | |||
| 20 | requirements = [] | ||
| 21 | |||
| 22 | -setup_requirements = ['pytest-runner', ] | ||
| 23 | +setup_requirements = [] | ||
| 24 | |||
| 25 | -test_requirements = ['pytest>=3', ] | ||
| 26 | +test_requirements = ['pytest>=3', 'pytest-runner'] | ||
| 27 | |||
| 28 | setup( | ||
| 29 | author="Nicolas Aimetti", | ||
| 30 | -- | ||
| 31 | 2.20.1 | ||
| 32 | |||
