Python 3.13 changed how argparse handles % in help strings,
now treating them all as format placeholders

Signed-off-by: Khem Raj <[email protected]>
---
 ...-start-testing-on-3.14-and-3.14t-929.patch | 25 +++++++++++++++++++
 .../python/python3-traitlets_5.14.3.bb        |  3 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-traitlets/0001-start-testing-on-3.14-and-3.14t-929.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-traitlets/0001-start-testing-on-3.14-and-3.14t-929.patch
 
b/meta-python/recipes-devtools/python/python3-traitlets/0001-start-testing-on-3.14-and-3.14t-929.patch
new file mode 100644
index 0000000000..275f77a371
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-traitlets/0001-start-testing-on-3.14-and-3.14t-929.patch
@@ -0,0 +1,25 @@
+From 472cf29d06edce66db4af7eb47f601e40cff71c8 Mon Sep 17 00:00:00 2001
+From: M Bussonnier <[email protected]>
+Date: Tue, 14 Oct 2025 08:55:52 +0200
+Subject: [PATCH] start testing on 3.14 and 3.14t (#929)
+
+Upstream-Status: Backport [https://github.com/ipython/traitlets/pull/929]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ traitlets/config/application.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/traitlets/config/application.py b/traitlets/config/application.py
+index b01a11e..2860de7 100644
+--- a/traitlets/config/application.py
++++ b/traitlets/config/application.py
+@@ -215,7 +215,8 @@ class Application(SingletonConfigurable):
+     _log_formatter_cls = LevelFormatter
+
+     log_datefmt = Unicode(
+-        "%Y-%m-%d %H:%M:%S", help="The date format used by logging formatters 
for %(asctime)s"
++        "%Y-%m-%d %H:%M:%S",
++        help="The date format used by logging formatters for `asctime`",
+     ).tag(config=True)
+
+     log_format = Unicode(
diff --git a/meta-python/recipes-devtools/python/python3-traitlets_5.14.3.bb 
b/meta-python/recipes-devtools/python/python3-traitlets_5.14.3.bb
index 5142e92a04..827fb4ca4e 100644
--- a/meta-python/recipes-devtools/python/python3-traitlets_5.14.3.bb
+++ b/meta-python/recipes-devtools/python/python3-traitlets_5.14.3.bb
@@ -7,7 +7,8 @@ SRC_URI[sha256sum] = 
"9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b

 inherit pypi python_hatchling ptest

-SRC_URI += " \
+SRC_URI += "\
+        file://0001-start-testing-on-3.14-and-3.14t-929.patch \
         file://run-ptest \
 "

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122493): 
https://lists.openembedded.org/g/openembedded-devel/message/122493
Mute This Topic: https://lists.openembedded.org/mt/116708913/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to