Commit 3a78e6b
Add python3-setuptools-scm to Build-Depends
Phase 2 of Spec 0003 will wire `linux-pkg`'s `packages/sdb/config.sh`
to derive `PACKAGE_VERSION` from `setuptools_scm` (running on the
build host, before dh-virtualenv enters the venv) so the .deb
metadata version tracks upstream sdb tags automatically and
`debian/changelog`'s upstream-version prefix never goes stale across
upstream syncs.
That host-side `python3 -m setuptools_scm` invocation needs the
package present on the build host. Stage the Build-Depends here so
the Phase 2 linux-pkg change is a single-file flip — and so any
manual local builds with the new config.sh don't fail with
"setuptools_scm not found" after `install_build_deps_from_control_file`.
The dependency is dormant in Phase 1 — nothing in `debian/rules` or
the dh-virtualenv build path uses it; the inner sdb wheel build
fetches its own copy via pyproject.toml's [build-system].requires.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 42cfef8 commit 3a78e6b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments