python3-nacl: add RCONFLICTS
PATCH 1/1 python3-nacl: add RCONFLICTS
From: Joe Slater <[email protected]>
We conflict with python3-pynacl in the meta-python layer.
--- recipes-devtools/python/python3-nacl_1.3.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-devtools/python/python3-nacl_1.3.0.bb +4 -0
@@ -21,6 +21,10 @@ RDEPENDS:${PN}:class-target += " \ python3-pycparser \ " +# We conflict with a package in meta-python. +# +RCONFLICTS:${PN} += "python3-pynacl" + export SODIUM_INSTALL = "system" BBCLASSEXTEND = "native"
Signature · 1 line
2.25.1
Quoted 14 lines · On 2023-07-31 17:12, [email protected] wrote:
From: Joe Slater<[email protected]>
We conflict with python3-pynacl in the meta-python layer.
Signed-off-by Joe Slater<[email protected]>--- recipes-devtools/python/python3-nacl_1.3.0.bb | 4 ++++ 1 file changed, 4 insertions(+)recipes-devtools/python/python3-nacl_1.3.0.bb +0
-0
recipes-devtools/python/python3-nacl_1.3.0.bb RDEPENDS:${PN}:class-target += " \ · line 27
Quoted 7 lines
recipes-devtools/python/python3-nacl_1.3.0.bb +4
-0@@ -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?
Quoted 3 lines
recipes-devtools/python/python3-nacl_1.3.0.bb +0
-0export SODIUM_INSTALL = "system" BBCLASSEXTEND = "native"
Signature · 2 lines
# Randy MacLeod # Wind River Linux
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.
---
recipes-devtools/python/python3-nacl_1.3.0.bb | 4 ++++
1 file changed, 4 insertions(+)
recipes-devtools/python/python3-nacl_1.3.0.bb +0 -0
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
Quoted 58 lines · Joe Slater via lists.yoctoproject.org
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 RCONFLICTSOn 2023-07-31 17:12, [email protected] wrote:
From: Joe Slater <[email protected]>
We conflict with python3-pynacl in the meta-python layer.
Signed-off-by Joe Slater <[email protected]>---
recipes-devtools/python/python3-nacl_1.3.0.bb | 4 ++++1 file changed, 4 insertions(+)recipes-devtools/python/python3-nacl_1.3.0.bb +0
-0index
42a3cd9d..e6a844bc100644--- a/recipes-devtools/python/python3-nacl_1.3.0.bb
+++ b/recipes-devtools/python/python3-nacl_1.3.0.bb
recipes-devtools/python/python3-nacl_1.3.0.bb +4
-0@@ -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...
Quoted 8 lines
Usually, if there are two versions we add
PREFERRED_VERSIONin 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.
Even if you are using outlook, it is possible to configure it for easier to read replies ... I suggest having a look at the settings!
That being said, we've been testing against that module, so I'm inclined to leave it as-is.
I'll take the RCONFLICTS patch, since it is non invasive and can prevent some misconfigurations.
Bruce
Quoted 28 lines
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/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II