DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
    ~~~~^^
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
    self.run_setup()
    ~~~~~~~~~~~~~~^^
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
    exec(code, locals())
    ~~~~^^^^^^^^^^^^^^^^
  File "<string>", line 48, in <module>
  File "<string>", line 36, in _package_version
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/sources/setuptools_scm-10.0.5/src/setuptools_scm/_get_version.py", line 56, in get_version
    return _get_version_public(
        root=root,
    ...<17 lines>...
        scm=scm,
    )
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_get_version_impl.py", line 304, in get_version
    _version_missing(config)
    ~~~~~~~~~~~~~~~~^^^^^^^^
  File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_get_version_impl.py", line 239, in _version_missing
    raise LookupError(error_msg)
LookupError: setuptools-scm was unable to detect version for TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/sources.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj

Alternatively, set the version with the environment variable SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME} as described in https://setuptools-scm.readthedocs.io/en/latest/config/

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/temp/run.do_compile.1383189:151 exit 1 from 'pyproject-build --no-isolation --wheel --outdir TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/dist TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/sources/setuptools_scm-10.0.5'
WARNING: Backtrace (BB generated script): 
	#1: python_pep517_do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/temp/run.do_compile.1383189, line 151
	#2: do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/temp/run.do_compile.1383189, line 146
	#3: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-setuptools-scm/10.0.5/temp/run.do_compile.1383189, line 163

Error details

Submitted on:
23/06/26 00:11
Error type:
Recipe
Task:
do_compile
Recipe:
python3-setuptools-scm
Recipe version:
10.0.5-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
universal/almalinux-8.10
Branch:
tmp-auh-upgrades
Commit:
724050d9cca09c4bc9b9bc9a94a906570bdcf0ce
Build:
#241109
Submitter:
yp-ab-alma8-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/38/builds/81
Similar errors:
0
Open a bug