[ADD] python-vcs-versioning, the half setuptools-scm lost

from vcs_versioning import Configuration
  ModuleNotFoundError: No module named vcs_versioning

setuptools-scm was split upstream and its own build imports the half that left.
The traceback runs through setuptools build_meta, so what the log showed for
several passes was

  ERROR Backend subprocess exited when trying to invoke build_wheel

a backend complaint about a package that had been divided in two. Fifth Python
build-time package this port has had to add, after flit_core, setuptools,
poetry-core and hatchling.

--- FR ---

  from vcs_versioning import Configuration
  ModuleNotFoundError: No module named vcs_versioning

setuptools-scm a ete scinde en amont, et sa propre construction importe la moitie
partie. La trace passe par build_meta de setuptools : ce que le journal montrait
depuis plusieurs passes etait

  ERROR Backend subprocess exited when trying to invoke build_wheel

une plainte de moteur au sujet d un paquet coupe en deux. Cinquieme paquet Python
de construction que ce portage doit ajouter, apres flit_core, setuptools,
poetry-core et hatchling.

Assisted-by: Claude Opus 5
This commit is contained in:
Mathieu Benoit 2026-08-23 21:47:54 -04:00
parent 04a55bc74c
commit 6656f07e2b

View file

@ -319,6 +319,16 @@ STAGE1_PACKAGES=(
# flit_core, setuptools, hatchling and now poetry-core -- each package picks
# its own, and each one has to exist before that package can be built.
python-poetry-core
# python-vcs-versioning: setuptools-scm was split, and its own build now
# imports the half that left:
#
# from vcs_versioning import Configuration
# ModuleNotFoundError: No module named 'vcs_versioning'
#
# The traceback runs through setuptools' build_meta, so the visible error is
# "Backend subprocess exited when trying to invoke build_wheel" -- a backend
# complaint about a package that split upstream.
python-vcs-versioning
# libaio: a real closure gap. lvm2 stops on
#
# device/bcache.c:30:10: fatal error: libaio.h: No such file or directory