python3-pytest-cov: add missing python3-coverage dependency
PATCH 1/1 python3-pytest-cov: add missing python3-coverage dependency
As reported by "pip3 check" python3-pytest-cov depends on python3-coverage:
$ pip3 check pytest-cov 4.1.0 requires coverage, which is not installed.
This patch fixes this problem by adding python3-coverage to RDEPENDS
--- meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb +1 -0
@@ -10,5 +10,6 @@ SRC_URI[sha256sum] = "3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6 inherit pypi setuptools3 DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "python3-coverage" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.40.1
Khem Raj
AppliedQuoted 9 lines · Richard Leitner
As reported by "pip3 check" python3-pytest-cov depends on python3-coverage:
$ pip3 check pytest-cov 4.1.0 requires coverage, which is not installed.This patch fixes this problem by adding python3-coverage to RDEPENDS
[...]
Applied, thanks!
[1/1] python3-pytest-cov: add missing python3-coverage dependency
commit: b56ab3d10999f77cb429881b73b52fe2991ad4e3
Best regards,
Signature · 1 line
Khem Raj <[email protected]>
Le 08/01/2024 à 03:47, Khem Raj a écrit :
Quoted 8 lines · Richard Leitner
Quoted 6 lines
As reported by "pip3 check" python3-pytest-cov depends on python3-coverage:
$ pip3 check pytest-cov 4.1.0 requires coverage, which is not installed.
Quoted 8 lines
Quoted 3 lines
This patch fixes this problem by adding python3-coverage to RDEPENDS
[...]
Applied, thanks!
[1/1] python3-pytest-cov: add missing python3-coverage dependency
commit: b56ab3d10999f77cb429881b73b52fe2991ad4e3
Hi,
This caused https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/206:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-coverage' (but virtual:nativesdk:/home/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-coverage-native' (but virtual:native:/home/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb RDEPENDS on or otherwise requires it)
python3-pytest-cov does BBCLASSEXTEND = "native nativesdk" does the new dependency python3-coverage does not.
So, python3-pytest-cov-native and nativesdk-python3-pytest-cov do become unbuildable. We can either :
* keep the dependency and remove the BBCLASSEXTEND
* add the necessary BBCLASSEXTEND to the python3-pytest-cov dependencies (recursively) starting with python3-coverage
Regards,
Signature · 2 lines
Yoann Congal Smile ECS - Tech Expert
Le 16/01/2024 à 17:53, Yoann Congal a écrit :
Quoted 20 lines
Le 08/01/2024 à 03:47, Khem Raj a écrit :
Quoted 8 lines · Richard Leitner
Quoted 6 lines
As reported by "pip3 check" python3-pytest-cov depends on python3-coverage:
$ pip3 check pytest-cov 4.1.0 requires coverage, which is not installed.Quoted 8 lines
Quoted 3 lines
This patch fixes this problem by adding python3-coverage to RDEPENDS
[...]
Applied, thanks!
[1/1] python3-pytest-cov: add missing python3-coverage dependency
commit: b56ab3d10999f77cb429881b73b52fe2991ad4e3Hi,
Quoted 8 lines
This caused https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/206:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-coverage' (but virtual:nativesdk:/home/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-coverage-native' (but virtual:native:/home/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_4.1.0.bb RDEPENDS on or otherwise requires it)python3-pytest-cov does BBCLASSEXTEND = "native nativesdk" does the new dependency python3-coverage does not.
So, python3-pytest-cov-native and nativesdk-python3-pytest-cov do become unbuildable. We can either :
* keep the dependency and remove the BBCLASSEXTEND
I sent a patch to do that: https://lists.openembedded.org/g/openembedded-devel/message/108324
Quoted 3 lines
* add the necessary BBCLASSEXTEND to the python3-pytest-cov dependencies (recursively) starting with python3-coverage
Regards,
Signature · 2 lines
Yoann Congal Smile ECS - Tech Expert