Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][PATCH 1/3] python3-flit-core: upgrade 3.10.1 -> 3.11.0
@ 2025-02-26  2:54 Trevor Gamblin
  2025-02-26  2:54 ` [OE-core][PATCH 2/3] python3-sphinx: upgrade 8.1.3 -> 8.2.1 Trevor Gamblin
  2025-02-26  2:54 ` [OE-core][PATCH 3/3] python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0 Trevor Gamblin
  0 siblings, 2 replies; 4+ messages in thread
From: Trevor Gamblin @ 2025-02-26  2:54 UTC (permalink / raw)
  To: openembedded-core

This update is required for latest versions of packages such as sphinx
to build with flit, otherwise you encounter errors like:

|   File "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-sphinx/8.2.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/flit_core/config.py", line 444, in _check_type
|     raise ConfigError(
|         "{} field should be {}, not {}".format(field_name, cls, type(d[field_name]))
|     )
| flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
|
| ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

Changelog (https://github.com/pypa/flit/blob/main/doc/history.rst#version-311):

- Support for SPDX license expressions and multiple license files, as
  detailed in PEP 639:

    license = "BSD-3-Clause"
    license-files = ["LICENSE"]

  For now, only a single license identifier is allowed. More complex
  expressions describing multiple licenses & expressions may be
  supported in a future version.

- The metadata format in produced packages is now version 2.4, to
  support the expanded license information.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 ...{python3-flit-core_3.10.1.bb => python3-flit-core_3.11.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-flit-core_3.10.1.bb => python3-flit-core_3.11.0.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-flit-core_3.10.1.bb b/meta/recipes-devtools/python/python3-flit-core_3.11.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-flit-core_3.10.1.bb
rename to meta/recipes-devtools/python/python3-flit-core_3.11.0.bb
index 55f200a3ad7..1d44b58830e 100644
--- a/meta/recipes-devtools/python/python3-flit-core_3.10.1.bb
+++ b/meta/recipes-devtools/python/python3-flit-core_3.11.0.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/pypa/flit/issues"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
 
-SRC_URI[sha256sum] = "9c6258ae76d218ce60f9e39a43ca42006a3abcc5c44ea6bb2a1daa13857a8f1a"
+SRC_URI[sha256sum] = "58d0a07f684c315700c9c54a661a1130995798c3e495db0db53ce6e7d0121825"
 
 inherit pypi python_flit_core
 
-- 
2.39.5



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

end of thread, other threads:[~2025-02-26 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  2:54 [OE-core][PATCH 1/3] python3-flit-core: upgrade 3.10.1 -> 3.11.0 Trevor Gamblin
2025-02-26  2:54 ` [OE-core][PATCH 2/3] python3-sphinx: upgrade 8.1.3 -> 8.2.1 Trevor Gamblin
2025-02-26 12:33   ` Mathieu Dubois-Briand
2025-02-26  2:54 ` [OE-core][PATCH 3/3] python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0 Trevor Gamblin

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