* [PATCH] python3-typing-extensions: Fix build with flit-core 4
@ 2026-09-05 18:43 Khem Raj
2026-09-05 20:40 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2026-09-05 18:43 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
Fixes
ERROR Unmet dependencies
| flit_core<4,>=3.11
| wanted: <4,>=3.11
| found: 4.0.2
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
...4d71b18eee56c53dde6a609dea188bb26a96.patch | 21 +++++++++++++++++++
.../python3-typing-extensions_4.16.0.bb | 2 ++
2 files changed, 23 insertions(+)
create mode 100644 meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
diff --git a/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
new file mode 100644
index 0000000000..226c65c13c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
@@ -0,0 +1,21 @@
+From 996d4d71b18eee56c53dde6a609dea188bb26a96 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Mon, 24 Aug 2026 18:40:42 +0200
+Subject: [PATCH] Allow building this package with flit-core 4 (#787)
+
+Upstream-Status: Backport [https://github.com/python/typing_extensions/pull/787]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ # Build system requirements.
+ [build-system]
+-requires = ["flit_core >=3.11,<4"]
++requires = ["flit_core >=3.11,<5"]
+ build-backend = "flit_core.buildapi"
+
+ # Project metadata
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
index cede81e128..484f0164bc 100644
--- a/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
@@ -15,6 +15,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
# The name on PyPi is slightly different.
PYPI_PACKAGE = "typing_extensions"
+SRC_URI += "file://996d4d71b18eee56c53dde6a609dea188bb26a96.patch"
+
SRC_URI[sha256sum] = "dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"
inherit pypi python_flit_core
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [OE-core] [PATCH] python3-typing-extensions: Fix build with flit-core 4
2026-09-05 18:43 [PATCH] python3-typing-extensions: Fix build with flit-core 4 Khem Raj
@ 2026-09-05 20:40 ` Richard Purdie
2026-09-06 2:54 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2026-09-05 20:40 UTC (permalink / raw)
To: raj.khem, openembedded-core; +Cc: Khem Raj
On Sat, 2026-09-05 at 11:43 -0700, Khem Raj via lists.openembedded.org wrote:
> Fixes
> ERROR Unmet dependencies
> > flit_core<4,>=3.11
> > wanted: <4,>=3.11
> > found: 4.0.2
>
> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
> ---
> ...4d71b18eee56c53dde6a609dea188bb26a96.patch | 21 +++++++++++++++++++
> .../python3-typing-extensions_4.16.0.bb | 2 ++
> 2 files changed, 23 insertions(+)
> create mode 100644 meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
>
> diff --git a/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> new file mode 100644
> index 0000000000..226c65c13c
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> @@ -0,0 +1,21 @@
> +From 996d4d71b18eee56c53dde6a609dea188bb26a96 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
> +Date: Mon, 24 Aug 2026 18:40:42 +0200
> +Subject: [PATCH] Allow building this package with flit-core 4 (#787)
> +
> +Upstream-Status: Backport [https://github.com/python/typing_extensions/pull/787]
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + pyproject.toml | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- a/pyproject.toml
> ++++ b/pyproject.toml
> +@@ -1,6 +1,6 @@
> + # Build system requirements.
> + [build-system]
> +-requires = ["flit_core >=3.11,<4"]
> ++requires = ["flit_core >=3.11,<5"]
> + build-backend = "flit_core.buildapi"
> +
> + # Project metadata
> diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
> index cede81e128..484f0164bc 100644
> --- a/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
> +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
> @@ -15,6 +15,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
> # The name on PyPi is slightly different.
> PYPI_PACKAGE = "typing_extensions"
>
> +SRC_URI += "file://996d4d71b18eee56c53dde6a609dea188bb26a96.patch"
> +
> SRC_URI[sha256sum] = "dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"
>
> inherit pypi python_flit_core
>
Thanks, I'm guessing this was in response to one of the patches in master-next?
I ran that flit upgrade through testing just to see where things stood,
it looks like there are 5 or so recipces which need this kind of tweak
so I've backed that out again.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [OE-core] [PATCH] python3-typing-extensions: Fix build with flit-core 4
2026-09-05 20:40 ` [OE-core] " Richard Purdie
@ 2026-09-06 2:54 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2026-09-06 2:54 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer, Khem Raj
[-- Attachment #1: Type: text/plain, Size: 3095 bytes --]
Yes it was. But it can be applied without the upgrade as well
On Sat, Sep 5, 2026, 1:40 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
> On Sat, 2026-09-05 at 11:43 -0700, Khem Raj via lists.openembedded.org
> wrote:
> > Fixes
> > ERROR Unmet dependencies
> > > flit_core<4,>=3.11
> > > wanted: <4,>=3.11
> > > found: 4.0.2
> >
> > Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
> > ---
> > ...4d71b18eee56c53dde6a609dea188bb26a96.patch | 21 +++++++++++++++++++
> > .../python3-typing-extensions_4.16.0.bb | 2 ++
> > 2 files changed, 23 insertions(+)
> > create mode 100644
> meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> >
> > diff --git
> a/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> > new file mode 100644
> > index 0000000000..226c65c13c
> > --- /dev/null
> > +++
> b/meta/recipes-devtools/python/python3-typing-extensions/996d4d71b18eee56c53dde6a609dea188bb26a96.patch
> > @@ -0,0 +1,21 @@
> > +From 996d4d71b18eee56c53dde6a609dea188bb26a96 Mon Sep 17 00:00:00 2001
> > +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
> > +Date: Mon, 24 Aug 2026 18:40:42 +0200
> > +Subject: [PATCH] Allow building this package with flit-core 4 (#787)
> > +
> > +Upstream-Status: Backport [
> https://github.com/python/typing_extensions/pull/787]
> > +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > +---
> > + pyproject.toml | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +--- a/pyproject.toml
> > ++++ b/pyproject.toml
> > +@@ -1,6 +1,6 @@
> > + # Build system requirements.
> > + [build-system]
> > +-requires = ["flit_core >=3.11,<4"]
> > ++requires = ["flit_core >=3.11,<5"]
> > + build-backend = "flit_core.buildapi"
> > +
> > + # Project metadata
> > diff --git a/meta/recipes-devtools/python/
> python3-typing-extensions_4.16.0.bb b/meta/recipes-devtools/python/
> python3-typing-extensions_4.16.0.bb
> > index cede81e128..484f0164bc 100644
> > --- a/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
> > +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.16.0.bb
> > @@ -15,6 +15,8 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
> > # The name on PyPi is slightly different.
> > PYPI_PACKAGE = "typing_extensions"
> >
> > +SRC_URI += "file://996d4d71b18eee56c53dde6a609dea188bb26a96.patch"
> > +
> > SRC_URI[sha256sum] =
> "dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"
> >
> > inherit pypi python_flit_core
> >
>
> Thanks, I'm guessing this was in response to one of the patches in
> master-next?
>
> I ran that flit upgrade through testing just to see where things stood,
> it looks like there are 5 or so recipces which need this kind of tweak
> so I've backed that out again.
>
> Cheers,
>
> Richard
>
[-- Attachment #2: Type: text/html, Size: 4775 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-06 2:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 18:43 [PATCH] python3-typing-extensions: Fix build with flit-core 4 Khem Raj
2026-09-05 20:40 ` [OE-core] " Richard Purdie
2026-09-06 2:54 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox