diff options
author | Ross Burton <ross.burton@arm.com> | 2022-07-15 13:37:40 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-15 12:48:34 -0400 |
commit | 1d726cf23865c59084565d243dffb9d0af40eee1 (patch) | |
tree | 8308d73ee45d66e61c0b35f4611e46d5b3c73c66 | |
parent | 3752f4d63f58dac040094b79e876b350deff0dd8 (diff) | |
download | meta-openembedded-1d726cf23865c59084565d243dffb9d0af40eee1.tar.gz |
python3-pytest-forked: loosen dependency checking
This package has strict build dependencies defined in pyproject.toml:
requires = ['setuptools ~= 41.4', 'setuptools_scm ~= 3.3', 'wheel ~= 0.33.6']
The ~= operator is "compatible release", so "setuptools ~= 41.4" can be
read as "setuptools >= 41.4, setuptools == 41.*".
We have setuptools 62.6.0 and do builds using our own packages instead
of building inside virtual environments, so these dependencies cannot
be satisfied.
Resolve this by passing --loose-depends to picobuild, which effectively
turns ~= into >=.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb b/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb index a751ad6e5a..34dd9c407e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb | |||
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422 | |||
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | PEP517_PICOBUILD_OPTS = "--loose-depends" | ||
11 | |||
10 | DEPENDS += "python3-setuptools-scm-native" | 12 | DEPENDS += "python3-setuptools-scm-native" |
11 | 13 | ||
12 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |