Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] devtool/standard: correctly escape \
@ 2024-01-05 13:35 Alexander Kanavin
  2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
  2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
  0 siblings, 2 replies; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-05 13:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

python 3.12 points out that:

SyntaxWarning: invalid escape sequence '\*'

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 559fd45676c..c20c0321a35 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -772,7 +772,7 @@ def get_staging_kver(srcdir):
 def get_staging_kbranch(srcdir):
     staging_kbranch = ""
     if os.path.exists(srcdir) and os.listdir(srcdir):
-        (branch, _) = bb.process.run('git branch | grep \* | cut -d \' \' -f2', cwd=srcdir)
+        (branch, _) = bb.process.run('git branch | grep \\* | cut -d \' \' -f2', cwd=srcdir)
         staging_kbranch = "".join(branch.split('\n')[0])
     return staging_kbranch
 
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x
  2024-01-05 13:35 [PATCH 1/3] devtool/standard: correctly escape \ Alexander Kanavin
@ 2024-01-05 13:35 ` Alexander Kanavin
  2024-01-07 19:49   ` [OE-core] " Alexandre Belloni
  2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
  1 sibling, 1 reply; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-05 13:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This has been rejected by upstream in favour of requiring obsolete cython
until there's 'proper' 3.x support. Months later, there's still no progress
so let's just take the rejected fix, as it does work (as reported by others as well),
and allows moving forward with cython.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../0001-Fix-builds-with-Cython-3.patch       | 54 +++++++++++++++++++
 .../python/python3-pyyaml_6.0.1.bb            |  1 +
 2 files changed, 55 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch

diff --git a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
new file mode 100644
index 00000000000..a87d588b6a1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
@@ -0,0 +1,54 @@
+From 9cc23db56add79357b8f8257fe6fc0d6879d4579 Mon Sep 17 00:00:00 2001
+From: "Andrew J. Hesford" <ajh@sideband.org>
+Date: Fri, 21 Jul 2023 09:50:00 -0400
+Subject: [PATCH] Fix builds with Cython 3
+
+This is a *de minimis* fix for building with Cython 3. Recent Cython<3
+releases provided `Cython.Distutils.build_ext` as an alias to
+`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this
+alias and instead uses a wholly new `Cython.Distutils.build_ext` that
+does not provide the `cython_sources` function used in `setup.py`.
+
+Explicitly importing `old_build_ext` preserves the existing behavior for
+recent Cython<3 and uses the correct behavior for Cython 3. Should the
+import fail (*e.g.*, because the version of Cython available predates
+the availability of `old_build_ext`), the import falls back to just
+`Cython.Distutils.build_ext`.
+
+Signed-off-by: Andrew J. Hesford <ajh@sideband.org>
+Upstream-Status: Denied [https://github.com/yaml/pyyaml/pull/731]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ pyproject.toml | 2 +-
+ setup.py       | 6 +++++-
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 4bc04c0..2bf5ec8 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,3 +1,3 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "Cython<3.0"]
++requires = ["setuptools", "wheel", "Cython"]
+ build-backend = "setuptools.build_meta"
+diff --git a/setup.py b/setup.py
+index 65b0ea0..4461580 100644
+--- a/setup.py
++++ b/setup.py
+@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get('PYYAML_FORCE_CYTHON') == '1':
+     with_cython = True
+ try:
+     from Cython.Distutils.extension import Extension as _Extension
+-    from Cython.Distutils import build_ext as _build_ext
++    try:
++        from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
++    except ImportError:
++        from Cython.Distutils import build_ext as _build_ext
++
+     with_cython = True
+ except ImportError:
+     if with_cython:
+-- 
+2.39.2
+
diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
index 4ab8f038f42..61f7cbc6b36 100644
--- a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
+++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
@@ -9,6 +9,7 @@ PYPI_PACKAGE = "PyYAML"
 
 inherit pypi python_setuptools_build_meta
 
+SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch"
 SRC_URI[sha256sum] = "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
 
 RDEPENDS:${PN} += "\
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-05 13:35 [PATCH 1/3] devtool/standard: correctly escape \ Alexander Kanavin
  2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
@ 2024-01-05 13:35 ` Alexander Kanavin
  2024-01-07 19:54   ` [OE-core] " Alexandre Belloni
       [not found]   ` <17A828BF39EB0275.11644@lists.openembedded.org>
  1 sibling, 2 replies; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-05 13:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

pep517 build backends require cython 3.x when
python is at 3.12, so we can't hold this update any
longer. There are only a few things in meta-oe
and meta that break anymore, and fixes for them
are provided at the same time as this patch.

License-update: http -> https

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
 .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
index 6aec6b012f1..bc1953c5045 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python-cython.inc
@@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
 and the messy, low-level world of C."
 SECTION = "devel/python"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
 PYPI_PACKAGE = "Cython"
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
+SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
 UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
 
 inherit pypi
@@ -39,4 +39,7 @@ do_install:append() {
 	for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
 		sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
 	done
+
+        # remove build paths from generated sources
+        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
 }
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x
  2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
@ 2024-01-07 19:49   ` Alexandre Belloni
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-07 19:49 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core, Alexander Kanavin

Hello,

You have a typo in the subject.

On 05/01/2024 14:35:42+0100, Alexander Kanavin wrote:
> This has been rejected by upstream in favour of requiring obsolete cython
> until there's 'proper' 3.x support. Months later, there's still no progress
> so let's just take the rejected fix, as it does work (as reported by others as well),
> and allows moving forward with cython.
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  .../0001-Fix-builds-with-Cython-3.patch       | 54 +++++++++++++++++++
>  .../python/python3-pyyaml_6.0.1.bb            |  1 +
>  2 files changed, 55 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> 
> diff --git a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> new file mode 100644
> index 00000000000..a87d588b6a1
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
> @@ -0,0 +1,54 @@
> +From 9cc23db56add79357b8f8257fe6fc0d6879d4579 Mon Sep 17 00:00:00 2001
> +From: "Andrew J. Hesford" <ajh@sideband.org>
> +Date: Fri, 21 Jul 2023 09:50:00 -0400
> +Subject: [PATCH] Fix builds with Cython 3
> +
> +This is a *de minimis* fix for building with Cython 3. Recent Cython<3
> +releases provided `Cython.Distutils.build_ext` as an alias to
> +`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this
> +alias and instead uses a wholly new `Cython.Distutils.build_ext` that
> +does not provide the `cython_sources` function used in `setup.py`.
> +
> +Explicitly importing `old_build_ext` preserves the existing behavior for
> +recent Cython<3 and uses the correct behavior for Cython 3. Should the
> +import fail (*e.g.*, because the version of Cython available predates
> +the availability of `old_build_ext`), the import falls back to just
> +`Cython.Distutils.build_ext`.
> +
> +Signed-off-by: Andrew J. Hesford <ajh@sideband.org>
> +Upstream-Status: Denied [https://github.com/yaml/pyyaml/pull/731]
> +Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> +---
> + pyproject.toml | 2 +-
> + setup.py       | 6 +++++-
> + 2 files changed, 6 insertions(+), 2 deletions(-)
> +
> +diff --git a/pyproject.toml b/pyproject.toml
> +index 4bc04c0..2bf5ec8 100644
> +--- a/pyproject.toml
> ++++ b/pyproject.toml
> +@@ -1,3 +1,3 @@
> + [build-system]
> +-requires = ["setuptools", "wheel", "Cython<3.0"]
> ++requires = ["setuptools", "wheel", "Cython"]
> + build-backend = "setuptools.build_meta"
> +diff --git a/setup.py b/setup.py
> +index 65b0ea0..4461580 100644
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get('PYYAML_FORCE_CYTHON') == '1':
> +     with_cython = True
> + try:
> +     from Cython.Distutils.extension import Extension as _Extension
> +-    from Cython.Distutils import build_ext as _build_ext
> ++    try:
> ++        from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
> ++    except ImportError:
> ++        from Cython.Distutils import build_ext as _build_ext
> ++
> +     with_cython = True
> + except ImportError:
> +     if with_cython:
> +-- 
> +2.39.2
> +
> diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> index 4ab8f038f42..61f7cbc6b36 100644
> --- a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> +++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
> @@ -9,6 +9,7 @@ PYPI_PACKAGE = "PyYAML"
>  
>  inherit pypi python_setuptools_build_meta
>  
> +SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch"
>  SRC_URI[sha256sum] = "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
>  
>  RDEPENDS:${PN} += "\
> -- 
> 2.39.2
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#193356): https://lists.openembedded.org/g/openembedded-core/message/193356
> Mute This Topic: https://lists.openembedded.org/mt/103542145/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
@ 2024-01-07 19:54   ` Alexandre Belloni
  2024-01-07 20:05     ` Alexander Kanavin
       [not found]   ` <17A828BF39EB0275.11644@lists.openembedded.org>
  1 sibling, 1 reply; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-07 19:54 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core, Alexander Kanavin

Hello,

I believe this causes those failures on fedora, oe-selftest passed on
the other hosts:

https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio

Or maybe fedora38-ty-4 is the issue, I've started a build without the
patch on this worker now.


On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> pep517 build backends require cython 3.x when
> python is at 3.12, so we can't hold this update any
> longer. There are only a few things in meta-oe
> and meta that break anymore, and fixes for them
> are provided at the same time as this patch.
> 
> License-update: http -> https
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
>  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
>  2 files changed, 5 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> 
> diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> index 6aec6b012f1..bc1953c5045 100644
> --- a/meta/recipes-devtools/python/python-cython.inc
> +++ b/meta/recipes-devtools/python/python-cython.inc
> @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
>  and the messy, low-level world of C."
>  SECTION = "devel/python"
>  LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
>  PYPI_PACKAGE = "Cython"
>  BBCLASSEXTEND = "native nativesdk"
>  
> -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
>  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
>  
>  inherit pypi
> @@ -39,4 +39,7 @@ do_install:append() {
>  	for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
>  		sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
>  	done
> +
> +        # remove build paths from generated sources
> +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
>  }
> diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> similarity index 100%
> rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> -- 
> 2.39.2
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#193357): https://lists.openembedded.org/g/openembedded-core/message/193357
> Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-07 19:54   ` [OE-core] " Alexandre Belloni
@ 2024-01-07 20:05     ` Alexander Kanavin
  2024-01-07 20:09       ` Alexandre Belloni
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-07 20:05 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core, Alexander Kanavin

2024-01-07 15:06:26,597 - oe-selftest - INFO - FAIL:
devtool.DevtoolAddTests.test_devtool_add_fetch_simple
(subunit.RemotedTestCase)
ERROR: Nothing PROVIDES 'pv'

2024-01-07 06:40:56,859 - oe-selftest - INFO - FAIL:
devtool.DevtoolAddTests.test_devtool_add_git_style1
(subunit.RemotedTestCase)
ERROR: Nothing PROVIDES 'mbedtls'

I'm totally puzzled. Why do you suspect cython?

Alex

On Sun, 7 Jan 2024 at 20:54, Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> Hello,
>
> I believe this causes those failures on fedora, oe-selftest passed on
> the other hosts:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
>
> Or maybe fedora38-ty-4 is the issue, I've started a build without the
> patch on this worker now.
>
>
> On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > pep517 build backends require cython 3.x when
> > python is at 3.12, so we can't hold this update any
> > longer. There are only a few things in meta-oe
> > and meta that break anymore, and fixes for them
> > are provided at the same time as this patch.
> >
> > License-update: http -> https
> >
> > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > ---
> >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> >  2 files changed, 5 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> >
> > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > index 6aec6b012f1..bc1953c5045 100644
> > --- a/meta/recipes-devtools/python/python-cython.inc
> > +++ b/meta/recipes-devtools/python/python-cython.inc
> > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> >  and the messy, low-level world of C."
> >  SECTION = "devel/python"
> >  LICENSE = "Apache-2.0"
> > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> >  PYPI_PACKAGE = "Cython"
> >  BBCLASSEXTEND = "native nativesdk"
> >
> > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> >
> >  inherit pypi
> > @@ -39,4 +39,7 @@ do_install:append() {
> >       for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> >               sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> >       done
> > +
> > +        # remove build paths from generated sources
> > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> >  }
> > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > --
> > 2.39.2
> >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#193357): https://lists.openembedded.org/g/openembedded-core/message/193357
> > Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-07 20:05     ` Alexander Kanavin
@ 2024-01-07 20:09       ` Alexandre Belloni
  2024-01-07 20:14         ` Alexandre Belloni
  0 siblings, 1 reply; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-07 20:09 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core, Alexander Kanavin

On 07/01/2024 21:05:45+0100, Alexander Kanavin wrote:
> 2024-01-07 15:06:26,597 - oe-selftest - INFO - FAIL:
> devtool.DevtoolAddTests.test_devtool_add_fetch_simple
> (subunit.RemotedTestCase)
> ERROR: Nothing PROVIDES 'pv'
> 
> 2024-01-07 06:40:56,859 - oe-selftest - INFO - FAIL:
> devtool.DevtoolAddTests.test_devtool_add_git_style1
> (subunit.RemotedTestCase)
> ERROR: Nothing PROVIDES 'mbedtls'
> 
> I'm totally puzzled. Why do you suspect cython?

I didn't have much else to suspect and I ran the same branch without
this patch successfully (but on fedora38-ty-3). Apart from this, I guess
I'm as puzzled as you are.

> 
> Alex
> 
> On Sun, 7 Jan 2024 at 20:54, Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> >
> > Hello,
> >
> > I believe this causes those failures on fedora, oe-selftest passed on
> > the other hosts:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> >
> > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > patch on this worker now.
> >
> >
> > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > pep517 build backends require cython 3.x when
> > > python is at 3.12, so we can't hold this update any
> > > longer. There are only a few things in meta-oe
> > > and meta that break anymore, and fixes for them
> > > are provided at the same time as this patch.
> > >
> > > License-update: http -> https
> > >
> > > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > > ---
> > >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> > >
> > > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > > index 6aec6b012f1..bc1953c5045 100644
> > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> > >  and the messy, low-level world of C."
> > >  SECTION = "devel/python"
> > >  LICENSE = "Apache-2.0"
> > > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > >  PYPI_PACKAGE = "Cython"
> > >  BBCLASSEXTEND = "native nativesdk"
> > >
> > > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> > >
> > >  inherit pypi
> > > @@ -39,4 +39,7 @@ do_install:append() {
> > >       for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > >               sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> > >       done
> > > +
> > > +        # remove build paths from generated sources
> > > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > >  }
> > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > --
> > > 2.39.2
> > >
> >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#193357): https://lists.openembedded.org/g/openembedded-core/message/193357
> > > Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-07 20:09       ` Alexandre Belloni
@ 2024-01-07 20:14         ` Alexandre Belloni
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-07 20:14 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core, Alexander Kanavin

On 07/01/2024 21:09:11+0100, Alexandre Belloni wrote:
> On 07/01/2024 21:05:45+0100, Alexander Kanavin wrote:
> > 2024-01-07 15:06:26,597 - oe-selftest - INFO - FAIL:
> > devtool.DevtoolAddTests.test_devtool_add_fetch_simple
> > (subunit.RemotedTestCase)
> > ERROR: Nothing PROVIDES 'pv'
> > 
> > 2024-01-07 06:40:56,859 - oe-selftest - INFO - FAIL:
> > devtool.DevtoolAddTests.test_devtool_add_git_style1
> > (subunit.RemotedTestCase)
> > ERROR: Nothing PROVIDES 'mbedtls'
> > 
> > I'm totally puzzled. Why do you suspect cython?
> 
> I didn't have much else to suspect and I ran the same branch without
> this patch successfully (but on fedora38-ty-3). Apart from this, I guess
> I'm as puzzled as you are.

Note that dmesg on the worker had a bunch of
mips64-poky-linux-<something> and prelink-rtld segfaults that are not
unusual.

But also an interesting
[435224.430115] mmap: qemu-ppc (2739864): VmData 1126244352 exceed data ulimit 16777216. Update limits or use boot option ignore_rlimit_data.

I don't believe this is related to this issue.

> 
> > 
> > Alex
> > 
> > On Sun, 7 Jan 2024 at 20:54, Alexandre Belloni
> > <alexandre.belloni@bootlin.com> wrote:
> > >
> > > Hello,
> > >
> > > I believe this causes those failures on fedora, oe-selftest passed on
> > > the other hosts:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> > >
> > > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > > patch on this worker now.
> > >
> > >
> > > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > > pep517 build backends require cython 3.x when
> > > > python is at 3.12, so we can't hold this update any
> > > > longer. There are only a few things in meta-oe
> > > > and meta that break anymore, and fixes for them
> > > > are provided at the same time as this patch.
> > > >
> > > > License-update: http -> https
> > > >
> > > > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > > > ---
> > > >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> > > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> > > >
> > > > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > > > index 6aec6b012f1..bc1953c5045 100644
> > > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> > > >  and the messy, low-level world of C."
> > > >  SECTION = "devel/python"
> > > >  LICENSE = "Apache-2.0"
> > > > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > > >  PYPI_PACKAGE = "Cython"
> > > >  BBCLASSEXTEND = "native nativesdk"
> > > >
> > > > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > > >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> > > >
> > > >  inherit pypi
> > > > @@ -39,4 +39,7 @@ do_install:append() {
> > > >       for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > > >               sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> > > >       done
> > > > +
> > > > +        # remove build paths from generated sources
> > > > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > > >  }
> > > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > similarity index 100%
> > > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > --
> > > > 2.39.2
> > > >
> > >
> > > >
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > > Links: You receive all messages sent to this group.
> > > > View/Reply Online (#193357): https://lists.openembedded.org/g/openembedded-core/message/193357
> > > > Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> > > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > >
> > >
> > >
> > > --
> > > Alexandre Belloni, co-owner and COO, Bootlin
> > > Embedded Linux and Kernel engineering
> > > https://bootlin.com
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
       [not found]   ` <17A828BF39EB0275.11644@lists.openembedded.org>
@ 2024-01-08  7:39     ` Alexandre Belloni
  2024-01-08  8:10       ` Alexander Kanavin
  0 siblings, 1 reply; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-08  7:39 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core, Alexander Kanavin

On 07/01/2024 20:54:18+0100, Alexandre Belloni via lists.openembedded.org wrote:
> Hello,
> 
> I believe this causes those failures on fedora, oe-selftest passed on
> the other hosts:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> 
> Or maybe fedora38-ty-4 is the issue, I've started a build without the
> patch on this worker now.
> 

Amazingly, I can't reproduce anymore...

> 
> On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > pep517 build backends require cython 3.x when
> > python is at 3.12, so we can't hold this update any
> > longer. There are only a few things in meta-oe
> > and meta that break anymore, and fixes for them
> > are provided at the same time as this patch.
> > 
> > License-update: http -> https
> > 
> > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > ---
> >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> >  2 files changed, 5 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> > 
> > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > index 6aec6b012f1..bc1953c5045 100644
> > --- a/meta/recipes-devtools/python/python-cython.inc
> > +++ b/meta/recipes-devtools/python/python-cython.inc
> > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> >  and the messy, low-level world of C."
> >  SECTION = "devel/python"
> >  LICENSE = "Apache-2.0"
> > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> >  PYPI_PACKAGE = "Cython"
> >  BBCLASSEXTEND = "native nativesdk"
> >  
> > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> >  
> >  inherit pypi
> > @@ -39,4 +39,7 @@ do_install:append() {
> >  	for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> >  		sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> >  	done
> > +
> > +        # remove build paths from generated sources
> > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> >  }
> > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > -- 
> > 2.39.2
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#193390): https://lists.openembedded.org/g/openembedded-core/message/193390
> Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-08  7:39     ` Alexandre Belloni
@ 2024-01-08  8:10       ` Alexander Kanavin
  2024-01-09 21:50         ` Alexandre Belloni
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Kanavin @ 2024-01-08  8:10 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core, Alexander Kanavin

I suspect this might have been a transient network issue. Both tests
fetch stuff from 3rd party servers.

Alex

On Mon, 8 Jan 2024 at 08:39, Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> On 07/01/2024 20:54:18+0100, Alexandre Belloni via lists.openembedded.org wrote:
> > Hello,
> >
> > I believe this causes those failures on fedora, oe-selftest passed on
> > the other hosts:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> >
> > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > patch on this worker now.
> >
>
> Amazingly, I can't reproduce anymore...
>
> >
> > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > pep517 build backends require cython 3.x when
> > > python is at 3.12, so we can't hold this update any
> > > longer. There are only a few things in meta-oe
> > > and meta that break anymore, and fixes for them
> > > are provided at the same time as this patch.
> > >
> > > License-update: http -> https
> > >
> > > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > > ---
> > >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> > >
> > > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > > index 6aec6b012f1..bc1953c5045 100644
> > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> > >  and the messy, low-level world of C."
> > >  SECTION = "devel/python"
> > >  LICENSE = "Apache-2.0"
> > > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > >  PYPI_PACKAGE = "Cython"
> > >  BBCLASSEXTEND = "native nativesdk"
> > >
> > > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> > >
> > >  inherit pypi
> > > @@ -39,4 +39,7 @@ do_install:append() {
> > >     for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > >             sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> > >     done
> > > +
> > > +        # remove build paths from generated sources
> > > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > >  }
> > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > --
> > > 2.39.2
> > >
> >
> > >
> > >
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#193390): https://lists.openembedded.org/g/openembedded-core/message/193390
> > Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [OE-core] [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7
  2024-01-08  8:10       ` Alexander Kanavin
@ 2024-01-09 21:50         ` Alexandre Belloni
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2024-01-09 21:50 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core, Alexander Kanavin

On 08/01/2024 09:10:14+0100, Alexander Kanavin wrote:
> I suspect this might have been a transient network issue. Both tests
> fetch stuff from 3rd party servers.

This is super weird but I added the cython upgrade and got this one, on
fedora38-ty-4 again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6296/steps/14/logs/stdio

I'll try to reproduce without the other patches I'm carrying.

> 
> Alex
> 
> On Mon, 8 Jan 2024 at 08:39, Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> >
> > On 07/01/2024 20:54:18+0100, Alexandre Belloni via lists.openembedded.org wrote:
> > > Hello,
> > >
> > > I believe this causes those failures on fedora, oe-selftest passed on
> > > the other hosts:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6287/steps/14/logs/stdio
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6288/steps/14/logs/stdio
> > >
> > > Or maybe fedora38-ty-4 is the issue, I've started a build without the
> > > patch on this worker now.
> > >
> >
> > Amazingly, I can't reproduce anymore...
> >
> > >
> > > On 05/01/2024 14:35:43+0100, Alexander Kanavin wrote:
> > > > pep517 build backends require cython 3.x when
> > > > python is at 3.12, so we can't hold this update any
> > > > longer. There are only a few things in meta-oe
> > > > and meta that break anymore, and fixes for them
> > > > are provided at the same time as this patch.
> > > >
> > > > License-update: http -> https
> > > >
> > > > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > > > ---
> > > >  meta/recipes-devtools/python/python-cython.inc             | 7 +++++--
> > > >  .../{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} | 0
> > > >  2 files changed, 5 insertions(+), 2 deletions(-)
> > > >  rename meta/recipes-devtools/python/{python3-cython_0.29.36.bb => python3-cython_3.0.7.bb} (100%)
> > > >
> > > > diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
> > > > index 6aec6b012f1..bc1953c5045 100644
> > > > --- a/meta/recipes-devtools/python/python-cython.inc
> > > > +++ b/meta/recipes-devtools/python/python-cython.inc
> > > > @@ -5,11 +5,11 @@ It's designed to bridge the gap between the nice, high-level, easy-to-use world
> > > >  and the messy, low-level world of C."
> > > >  SECTION = "devel/python"
> > > >  LICENSE = "Apache-2.0"
> > > > -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
> > > > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
> > > >  PYPI_PACKAGE = "Cython"
> > > >  BBCLASSEXTEND = "native nativesdk"
> > > >
> > > > -SRC_URI[sha256sum] = "41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f"
> > > > +SRC_URI[sha256sum] = "fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213"
> > > >  UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
> > > >
> > > >  inherit pypi
> > > > @@ -39,4 +39,7 @@ do_install:append() {
> > > >     for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
> > > >             sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
> > > >     done
> > > > +
> > > > +        # remove build paths from generated sources
> > > > +        sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
> > > >  }
> > > > diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > similarity index 100%
> > > > rename from meta/recipes-devtools/python/python3-cython_0.29.36.bb
> > > > rename to meta/recipes-devtools/python/python3-cython_3.0.7.bb
> > > > --
> > > > 2.39.2
> > > >
> > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexandre Belloni, co-owner and COO, Bootlin
> > > Embedded Linux and Kernel engineering
> > > https://bootlin.com
> >
> > >
> > > 
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#193396): https://lists.openembedded.org/g/openembedded-core/message/193396
> Mute This Topic: https://lists.openembedded.org/mt/103542146/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-09 21:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 13:35 [PATCH 1/3] devtool/standard: correctly escape \ Alexander Kanavin
2024-01-05 13:35 ` [PATCH 2/3] python3-pyaaml: make compatible with cython 3.x Alexander Kanavin
2024-01-07 19:49   ` [OE-core] " Alexandre Belloni
2024-01-05 13:35 ` [PATCH 3/3] python3-cython: update 0.29.36 -> 3.0.7 Alexander Kanavin
2024-01-07 19:54   ` [OE-core] " Alexandre Belloni
2024-01-07 20:05     ` Alexander Kanavin
2024-01-07 20:09       ` Alexandre Belloni
2024-01-07 20:14         ` Alexandre Belloni
     [not found]   ` <17A828BF39EB0275.11644@lists.openembedded.org>
2024-01-08  7:39     ` Alexandre Belloni
2024-01-08  8:10       ` Alexander Kanavin
2024-01-09 21:50         ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox