DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
failed to load discovery EP egg-info
Traceback (most recent call last):
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_worktree_discovery.py", line 57, in _load_discovery_factories
factory: DiscoveryFactory = ep.load()
~~~~~~~^^
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/importlib/metadata/__init__.py", line 179, in load
module = import_module(match.group('module'))
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/sources/setuptools_scm-10.2.2/src/setuptools_scm/_integration/_discover.py", line 19, in <module>
from vcs_versioning._fallback_workdir import discover_pkginfo as discover_pkginfo
ImportError: cannot import name 'discover_pkginfo' from 'vcs_versioning._fallback_workdir' (TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_fallback_workdir.py)
Traceback (most recent call last):
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/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-linux/python3-setuptools-scm-native/10.2.2/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-linux/python3-setuptools-scm-native/10.2.2/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-linux/python3-setuptools-scm-native/10.2.2/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-linux/python3-setuptools-scm-native/10.2.2/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-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 49, in <module>
File "<string>", line 36, in _package_version
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/sources/setuptools_scm-10.2.2/src/setuptools_scm/_get_version.py", line 59, in get_version
return _get_version_public(
root=root,
...<18 lines>...
_env=env,
)
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_get_version_impl.py", line 339, in get_version
_version_missing(config)
~~~~~~~~~~~~~~~~^^^^^^^^
File "TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/recipe-sysroot-native/usr/lib/python3.14/site-packages/vcs_versioning/_get_version_impl.py", line 263, in _version_missing
raise LookupError(error_msg)
LookupError: setuptools-scm was unable to detect version for TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/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/
TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
WARNING: TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/temp/run.do_compile.887964:155 exit 1 from 'pyproject-build --no-isolation --wheel --outdir TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/dist TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/sources/setuptools_scm-10.2.2'
WARNING: Backtrace (BB generated script):
#1: python_pep517_do_compile, TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/temp/run.do_compile.887964, line 155
#2: do_compile, TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/temp/run.do_compile.887964, line 150
#3: main, TOPDIR/tmp/work/x86_64-linux/python3-setuptools-scm-native/10.2.2/temp/run.do_compile.887964, line 159