Skip to content

Commit 3a78e6b

Browse files
prakashsuryaclaude
andcommitted
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

File tree

debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Build-Depends:
99
python3-dev,
1010
python3-pip,
1111
python3-setuptools,
12+
python3-setuptools-scm,
1213
python3-venv
1314
Standards-Version: 4.6.2
1415
Homepage: https://github.com/sdimitro/sdb

0 commit comments

Comments
 (0)