| Message ID | 20260708092252.1211669-3-HimaniRamesh.Barde@windriver.com |
|---|---|
| State | Rejected |
| Headers | show |
| Series | python3-setuptools-scm: fix build and upgrade to 10.1.2 | expand |
On Wed Jul 8, 2026 at 11:22 AM CEST, Himani Ramesh Barde via lists.openembedded.org wrote: > Signed-off-by: Himani Ramesh Barde <HimaniRamesh.Barde@windriver.com> > --- > ...etuptools-scm_10.0.5.bb => python3-setuptools-scm_10.1.2.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-devtools/python/{python3-setuptools-scm_10.0.5.bb => python3-setuptools-scm_10.1.2.bb} (89%) > > diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb b/meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb > similarity index 89% > rename from meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb > rename to meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb > index 58eb963910..824758e3ee 100644 > --- a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb > +++ b/meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb > @@ -6,7 +6,7 @@ argument or in a SCM managed file." > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" > > -SRC_URI[sha256sum] = "bbba8fe754516cdefd017f4456721775e6ef9662bd7887fb52ae26813d4838c3" > +SRC_URI[sha256sum] = "24079818acc46e99aae0d65b8d511fafe965970d9cbd060c7b9f7275ded520fb" > > PYPI_PACKAGE = "setuptools_scm" > Hi Himani, We already have an upgrade to version 10.2.0 on the list: https://lore.kernel.org/openembedded-core/20260706171701.70536-31-alex.kanavin@gmail.com/T/#u Thanks, Mathieu
Hi Mathieu, Thanks for the pointer. I'll drop patch 2/2 since Alex's upgrade to 10.2.0 supersedes it. However, patch 1/2 (exporting SETUPTOOLS_SCM_PRETEND_VERSION) is still required - setuptools-scm 10.2.0 will fail at do_compile the same way 10.1.2 did, since it still probes SCM metadata via vcs-versioning when built from PyPI tarballs without a .git directory. Alex's upgrade will need this fix as a prerequisite. Thanks, Himani
On Wed, 8 Jul 2026 at 13:40, Barde, Himani Ramesh via lists.openembedded.org <HimaniRamesh.Barde=windriver.com@lists.openembedded.org> wrote: > Thanks for the pointer. I'll drop patch 2/2 since Alex's upgrade to 10.2.0 supersedes it. > > However, patch 1/2 (exporting SETUPTOOLS_SCM_PRETEND_VERSION) is still required - setuptools-scm 10.2.0 will fail at do_compile the same way 10.1.2 did, since it still probes SCM metadata via vcs-versioning when built from PyPI tarballs without a .git directory. Alex's upgrade will need this fix as a prerequisite. I don't think it will. I tested this update, and it does not fail. What is the error that you are seeing? Alex
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb b/meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb similarity index 89% rename from meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb rename to meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb index 58eb963910..824758e3ee 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_10.1.2.bb @@ -6,7 +6,7 @@ argument or in a SCM managed file." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" -SRC_URI[sha256sum] = "bbba8fe754516cdefd017f4456721775e6ef9662bd7887fb52ae26813d4838c3" +SRC_URI[sha256sum] = "24079818acc46e99aae0d65b8d511fafe965970d9cbd060c7b9f7275ded520fb" PYPI_PACKAGE = "setuptools_scm"
Signed-off-by: Himani Ramesh Barde <HimaniRamesh.Barde@windriver.com> --- ...etuptools-scm_10.0.5.bb => python3-setuptools-scm_10.1.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-setuptools-scm_10.0.5.bb => python3-setuptools-scm_10.1.2.bb} (89%)