From: MacLeod, Randy <[email protected]>
Sent: Monday, July 31, 2023 5:47 PM
To: Slater, Joseph <[email protected]>; 
[email protected]
Subject: Re: [meta-virt][PATCH 1/1] python3-nacl: add RCONFLICTS

On 2023-07-31 17:12, [email protected]<mailto:[email protected]> 
wrote:

From: Joe Slater <[email protected]><mailto:[email protected]>



We conflict with python3-pynacl in the meta-python layer.



Signed-off-by: Joe Slater 
<[email protected]><mailto:[email protected]>

---

 recipes-devtools/python/python3-nacl_1.3.0.bb | 4 ++++

 1 file changed, 4 insertions(+)



diff --git a/recipes-devtools/python/python3-nacl_1.3.0.bb 
b/recipes-devtools/python/python3-nacl_1.3.0.bb

index 42a3cd9d..e6a844bc 100644

--- a/recipes-devtools/python/python3-nacl_1.3.0.bb

+++ b/recipes-devtools/python/python3-nacl_1.3.0.bb

@@ -21,6 +21,10 @@ RDEPENDS:${PN}:class-target += " \

     python3-pycparser \

 "



+# We conflict with a package in meta-python.

+#

+RCONFLICTS:${PN} += "python3-pynacl"

+

Having one version of a package conflict with itself or another version in 
another layer seems wrong...

Usually, if there are two versions we add PREFERRED_VERSION in say this file or 
in a conf file.

Since this is for the master development branch, why not update whatever 
package is
encountering a problem? What is the issue that you're trying to solve?

[Slater, Joseph]

The problem is that one cannot put both python3-nacl and python3-pynacl into an 
image, so at least one of them should point that out.  Since meta-virt depends 
on meta-python, python3-nacl should probably disappear, but I think that’s a 
call for the layer maintainers.

Joe



 export SODIUM_INSTALL = "system"



 BBCLASSEXTEND = "native"



--

# Randy MacLeod

# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8156): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8156
Mute This Topic: https://lists.yoctoproject.org/mt/100471112/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to