diff mbox series

[meta-python] python3-txdbus: cleanup RDEPENDS

Message ID 20240418092553.3408-1-gudnimar@noxmedical.com
State Accepted
Headers show
Series [meta-python] python3-txdbus: cleanup RDEPENDS | expand

Commit Message

Guðni Már Gilbert April 18, 2024, 9:25 a.m. UTC
python3-six is no longer a dependency and Python 2 support has already been dropped.

Change python3-twisted to python3-twisted-core such that only required modules
are installed.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
---
 meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alper Ak April 19, 2024, 6:25 p.m. UTC | #1
Getting the similar error when I build this recipe too. Output:

ERROR: Nothing RPROVIDES 'python3-twisted-core-native' (but virtual:native:/opt/yocto_co/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'python3-twisted-core-native' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-twisted-core-native']

NOTE: Runtime target 'python3-twisted-core' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-twisted-core', 'python3-incremental-native', 'python3-twisted-core-native']

ERROR: Required build target 'python3-txdbus' has no buildable providers.
Missing or unbuildable dependency chain was: ['python3-txdbus', 'python3-twisted-core', 'python3-incremental-native', 'python3-twisted-core-native']
Guðni Már Gilbert April 23, 2024, 6:44 a.m. UTC | #2
On Fri, Apr 19, 2024 at 06:25 PM, Alper Ak wrote:

> 
> 
> 
> Getting the similar error when I build this recipe too. Output:
> 
> 
> 
> ERROR: Nothing RPROVIDES 'python3-twisted-core-native' (but
> virtual:native:/opt/yocto_co/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
> RDEPENDS on or otherwise requires it)
> 
> NOTE: Runtime target 'python3-twisted-core-native' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was:
> ['python3-twisted-core-native']
> 
> NOTE: Runtime target 'python3-twisted-core' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-twisted-core',
> 'python3-incremental-native', 'python3-twisted-core-native']
> 
> ERROR: Required build target 'python3-txdbus' has no buildable providers.
> Missing or unbuildable dependency chain was: ['python3-txdbus',
> 'python3-twisted-core', 'python3-incremental-native',
> 'python3-twisted-core-native']
> 
> 

Hi Alper, sorry for the double email, I forgot to send to 'Group'.

I could reproduce this on my side and 've fixed this issue by correcting the python3-incremental patch here:https://lists.openembedded.org/g/openembedded-devel/topic/meta_python_patch_v2/105685490 on my end this resolves the issue with building the python3-txdbus recipe. I tested on the master branch.
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
index d579ca044..1232f5e99 100644
--- a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb
@@ -9,4 +9,4 @@  SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8e
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} += "python3-six python3-twisted"
+RDEPENDS:${PN} += "python3-twisted-core"