diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-12-09 22:37:44 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-10 08:56:15 -0800 |
| commit | a145ddffdec1f549428f724e0a4969a2155b99cb (patch) | |
| tree | efd175ffce40cd8452fddce7c61ccb9ac17635e9 /meta-python/recipes-devtools/python | |
| parent | ea2e124c95816cea35cca92396cf2b32aa35428d (diff) | |
| download | meta-openembedded-a145ddffdec1f549428f724e0a4969a2155b99cb.tar.gz | |
python3-traitlets: Fix ptests fails
Python 3.13 changed how argparse handles % in help strings,
now treating them all as format placeholders
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-traitlets/0001-start-testing-on-3.14-and-3.14t-929.patch | 25 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-traitlets_5.14.3.bb | 3 |
2 files changed, 27 insertions, 1 deletions
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 @@ | |||
| 1 | From 472cf29d06edce66db4af7eb47f601e40cff71c8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: M Bussonnier <bussonniermatthias@gmail.com> | ||
| 3 | Date: Tue, 14 Oct 2025 08:55:52 +0200 | ||
| 4 | Subject: [PATCH] start testing on 3.14 and 3.14t (#929) | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/ipython/traitlets/pull/929] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | traitlets/config/application.py | 3 ++- | ||
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/traitlets/config/application.py b/traitlets/config/application.py | ||
| 13 | index b01a11e..2860de7 100644 | ||
| 14 | --- a/traitlets/config/application.py | ||
| 15 | +++ b/traitlets/config/application.py | ||
| 16 | @@ -215,7 +215,8 @@ class Application(SingletonConfigurable): | ||
| 17 | _log_formatter_cls = LevelFormatter | ||
| 18 | |||
| 19 | log_datefmt = Unicode( | ||
| 20 | - "%Y-%m-%d %H:%M:%S", help="The date format used by logging formatters for %(asctime)s" | ||
| 21 | + "%Y-%m-%d %H:%M:%S", | ||
| 22 | + help="The date format used by logging formatters for `asctime`", | ||
| 23 | ).tag(config=True) | ||
| 24 | |||
| 25 | 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 | |||
| 7 | 7 | ||
| 8 | inherit pypi python_hatchling ptest | 8 | inherit pypi python_hatchling ptest |
| 9 | 9 | ||
| 10 | SRC_URI += " \ | 10 | SRC_URI += "\ |
| 11 | file://0001-start-testing-on-3.14-and-3.14t-929.patch \ | ||
| 11 | file://run-ptest \ | 12 | file://run-ptest \ |
| 12 | " | 13 | " |
| 13 | 14 | ||
