| Message ID | 20260423171246.309711-2-tgamblin@baylibre.com |
|---|---|
| State | Changes Requested |
| Headers | show |
| Series | [1/4] python3-vcs-versioning: add recipe | expand |
On Thu Apr 23, 2026 at 7:12 PM CEST, Trevor Gamblin wrote: > Changelog: https://github.com/pypa/setuptools-scm/releases > > Note that the releases page also includes notes for the vcs-versioning > module, which is published separately (and which setuptools-scm depends > on). The new python3-vcs-versioning recipe is added to dependency lists. > Also rework the DEPENDS list to match the same formatting as RDEPENDS. > > Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> > --- Hi Trevor, Thanks for your patch. It looks like urllib is not happy about this upgrade: ERROR: nativesdk-python3-urllib3-2.6.3-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-urllib3/2.6.3/temp/run.do_compile.3697461' failed with exit code 1 ... ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-urllib3/2.6.3/temp/log.do_compile.3697461 Log data follows: | DEBUG: Executing shell function do_compile | * Getting build dependencies for wheel... | | ERROR Missing dependencies: | setuptools-scm<10,>=8 | WARNING: exit code 1 from a shell command. https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/3697 https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/3671 This seems to be fixed on the master branch, so either an upgrade of urllib or a backport should fix it. https://github.com/urllib3/urllib3/blob/main/pyproject.toml#L4 Can you have a look at it? Thanks, Mathieu
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb similarity index 79% rename from meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb rename to meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb index d16d79c79f..3e86c4fd2c 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_9.2.2.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb @@ -6,13 +6,16 @@ argument or in a SCM managed file." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" -SRC_URI[sha256sum] = "1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57" +SRC_URI[sha256sum] = "bbba8fe754516cdefd017f4456721775e6ef9662bd7887fb52ae26813d4838c3" PYPI_PACKAGE = "setuptools_scm" inherit pypi python_setuptools_build_meta -DEPENDS += "python3-packaging-native" +DEPENDS += "\ + python3-packaging-native \ + python3-vcs-versioning-native \ +" RDEPENDS:${PN} = "\ python3-packaging \
Changelog: https://github.com/pypa/setuptools-scm/releases Note that the releases page also includes notes for the vcs-versioning module, which is published separately (and which setuptools-scm depends on). The new python3-vcs-versioning recipe is added to dependency lists. Also rework the DEPENDS list to match the same formatting as RDEPENDS. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> --- ...tools-scm_9.2.2.bb => python3-setuptools-scm_10.0.5.bb} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools-scm_9.2.2.bb => python3-setuptools-scm_10.0.5.bb} (79%)