* [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow
@ 2024-05-06 18:54 Guðni Már Gilbert
2024-05-06 18:54 ` [meta-python][scarthgap][PATCH 2/2] python3-twisted: prepend split PACKAGES Guðni Már Gilbert
2024-05-14 15:36 ` [oe] [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Mark Hatle
0 siblings, 2 replies; 6+ messages in thread
From: Guðni Már Gilbert @ 2024-05-06 18:54 UTC (permalink / raw)
To: openembedded-devel; +Cc: Guðni Már Gilbert, Khem Raj
[-- Attachment #1: Type: text/plain, Size: 3669 bytes --]
The flow module was removed in Twisted 9.0.0 a long time
and currently does not install anything. Let's remove it
to cleanup the recipe.
This commit also removes python3-twisted-news package because
the source files were removed in Twisted 21.2.0. All other
files which no longer exist in the source are also removed from FILES.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../python/python3-twisted_24.3.0.bb | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
index e5223ccd6..ba5bb04db 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
@@ -22,11 +22,9 @@ PACKAGES += "\
${PN}-conch \
${PN}-mail \
${PN}-names \
- ${PN}-news \
${PN}-runner \
${PN}-web \
${PN}-words \
- ${PN}-flow \
${PN}-pair \
${PN}-core \
"
@@ -66,11 +64,9 @@ RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest"
RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle"
RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols"
RDEPENDS:${PN}-names = "${PN}-core"
-RDEPENDS:${PN}-news = "${PN}-core ${PN}-protocols"
RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols"
RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols"
RDEPENDS:${PN}-words += "${PN}-core"
-RDEPENDS:${PN}-flow += "${PN}-core"
RDEPENDS:${PN}-pair += "${PN}-core"
FILES:${PN}-test = " \
@@ -152,12 +148,6 @@ FILES:${PN}-names = " \
${PYTHON_SITEPACKAGES_DIR}/twisted/names \
"
-FILES:${PN}-news = " \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_news.py* \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_news*.pyc \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/news \
-"
-
FILES:${PN}-runner = " \
${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_runner.py* \
${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_runner*.pyc \
@@ -176,15 +166,7 @@ FILES:${PN}-words = " \
${PYTHON_SITEPACKAGES_DIR}/twisted/words \
"
-FILES:${PN}-flow = " \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_flow.py* \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_flow*.pyc \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/flow \
-"
-
FILES:${PN}-pair = " \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_pair.py* \
- ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_pair*.pyc \
${PYTHON_SITEPACKAGES_DIR}/twisted/pair \
"
--
2.34.1
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.
[-- Attachment #2: Type: text/html, Size: 3933 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread* [meta-python][scarthgap][PATCH 2/2] python3-twisted: prepend split PACKAGES
2024-05-06 18:54 [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Guðni Már Gilbert
@ 2024-05-06 18:54 ` Guðni Már Gilbert
2024-06-03 17:26 ` Guðni Már Gilbert
2024-05-14 15:36 ` [oe] [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Mark Hatle
1 sibling, 1 reply; 6+ messages in thread
From: Guðni Már Gilbert @ 2024-05-06 18:54 UTC (permalink / raw)
To: openembedded-devel; +Cc: Guðni Már Gilbert, Khem Raj
[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]
Fixes an issue where split packages were no populated since all the files
were picked up by FILES:${PN}
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
index ba5bb04db..336c17389 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
@@ -15,7 +15,7 @@ do_install:append() {
find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \;
}
-PACKAGES += "\
+PACKAGES =+ "\
${PN}-zsh \
${PN}-test \
${PN}-protocols \
--
2.34.1
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.
[-- Attachment #2: Type: text/html, Size: 1742 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [oe] [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow
2024-05-06 18:54 [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Guðni Már Gilbert
2024-05-06 18:54 ` [meta-python][scarthgap][PATCH 2/2] python3-twisted: prepend split PACKAGES Guðni Már Gilbert
@ 2024-05-14 15:36 ` Mark Hatle
2024-05-15 8:34 ` Guðni Már Gilbert
1 sibling, 1 reply; 6+ messages in thread
From: Mark Hatle @ 2024-05-14 15:36 UTC (permalink / raw)
To: Guðni Már Gilbert, openembedded-devel; +Cc: Khem Raj
I see this change made it into meta-openembedded master. But hasn't been pushed
to scarthgap yet.
I've having a problem with this recipe in scarthgap, and so far it looks like
these two changes do fix the problem I'm having.
The two commits I cherry-picked back to scarthgap and tested are:
bd1b5cde348dbc20e3d332de69617a8a95fe5ff3 - python3-twisted: prepend split PACKAGES
3fd6f0feec002c85df23b37c04d745a43674ee66 - python3-twisted: remove obsolete
python3-twisted-flow
This resolves the issue I was having.
--Mark
On 5/6/24 1:54 PM, Guðni Már Gilbert wrote:
> The flow module was removed in Twisted 9.0.0 a long time
> and currently does not install anything. Let's remove it
> to cleanup the recipe.
>
> This commit also removes python3-twisted-news package because
> the source files were removed in Twisted 21.2.0. All other
> files which no longer exist in the source are also removed from FILES.
>
> Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../python/python3-twisted_24.3.0.bb | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
> b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
> index e5223ccd6..ba5bb04db 100644
> --- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
> @@ -22,11 +22,9 @@ PACKAGES += "\
> ${PN}-conch \
> ${PN}-mail \
> ${PN}-names \
> - ${PN}-news \
> ${PN}-runner \
> ${PN}-web \
> ${PN}-words \
> - ${PN}-flow \
> ${PN}-pair \
> ${PN}-core \
> "
> @@ -66,11 +64,9 @@ RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest"
> RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt
> python3-cryptography python3-pickle"
> RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols"
> RDEPENDS:${PN}-names = "${PN}-core"
> -RDEPENDS:${PN}-news = "${PN}-core ${PN}-protocols"
> RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols"
> RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols"
> RDEPENDS:${PN}-words += "${PN}-core"
> -RDEPENDS:${PN}-flow += "${PN}-core"
> RDEPENDS:${PN}-pair += "${PN}-core"
>
> FILES:${PN}-test = " \
> @@ -152,12 +148,6 @@ FILES:${PN}-names = " \
> ${PYTHON_SITEPACKAGES_DIR}/twisted/names \
> "
>
> -FILES:${PN}-news = " \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_news.py* \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_news*.pyc \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/news \
> -"
> -
> FILES:${PN}-runner = " \
> ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_runner.py* \
> ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_runner*.pyc \
> @@ -176,15 +166,7 @@ FILES:${PN}-words = " \
> ${PYTHON_SITEPACKAGES_DIR}/twisted/words \
> "
>
> -FILES:${PN}-flow = " \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_flow.py* \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_flow*.pyc \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/flow \
> -"
> -
> FILES:${PN}-pair = " \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_pair.py* \
> - ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_pair*.pyc \
> ${PYTHON_SITEPACKAGES_DIR}/twisted/pair \
> "
>
> --
> 2.34.1
>
>
> Warning: Copyright Nox Health. This communication is confidential and may
> contain privileged information. By the use of email over the Internet or other
> communication systems, Nox Health is not waiving either confidentiality of, or
> legal privilege in, the content of the email and of any attachments. If the
> recipient of this message is not the intended addressee, please call Nox Health
> immediately by calling (+1) 888.505.0280
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110261): https://lists.openembedded.org/g/openembedded-devel/message/110261
> Mute This Topic: https://lists.openembedded.org/mt/105945946/3616948
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [mark.hatle@kernel.crashing.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow
2024-05-14 15:36 ` [oe] [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Mark Hatle
@ 2024-05-15 8:34 ` Guðni Már Gilbert
0 siblings, 0 replies; 6+ messages in thread
From: Guðni Már Gilbert @ 2024-05-15 8:34 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
On Tue, May 14, 2024 at 03:38 PM, Mark Hatle wrote:
>
> I see this change made it into meta-openembedded master. But hasn't been
> pushed to scarthgap yet.
>
> I've having a problem with this recipe in scarthgap, and so far it looks
> like these two changes do fix the problem I'm having.
>
> The two commits I cherry-picked back to scarthgap and tested are:
>
> bd1b5cde348dbc20e3d332de69617a8a95fe5ff3 - python3-twisted: prepend split
> PACKAGES
>
> 3fd6f0feec002c85df23b37c04d745a43674ee66 - python3-twisted: remove
> obsolete python3-twisted-flow
>
> This resolves the issue I was having.
>
> --Mark
Hi Mark, thanks for confirming the fix. The issue unfortunately wasn't found until just after the initial scarthgap release. If anyone is to blame it's me, though I've updated my testing setup moving forward so this won't happen again when sending patches upstream (I forgot to test 'installing' the package into the minimal image so didn't get the proper error message).
It's my understanding that this will only get merged into scarthgap in the next release (5.0.1) which happens about 1 once a month. According to the Yocto Project status from yesterday, 5.0.1 is in QA.
Best regards,
Gudni
[-- Attachment #2: Type: text/html, Size: 1289 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-06-04 9:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 18:54 [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Guðni Már Gilbert
2024-05-06 18:54 ` [meta-python][scarthgap][PATCH 2/2] python3-twisted: prepend split PACKAGES Guðni Már Gilbert
2024-06-03 17:26 ` Guðni Már Gilbert
2024-06-04 9:20 ` [oe] " Peter Hoyes
2024-05-14 15:36 ` [oe] [meta-python][scarthgap][PATCH 1/2] python3-twisted: remove obsolete python3-twisted-flow Mark Hatle
2024-05-15 8:34 ` Guðni Már Gilbert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.