Skip to content

Fix debconf questions in Debian package installation tests#1456

Open
garberg wants to merge 3 commits intoSpriteLink:masterfrom
garberg:fix_deb_build
Open

Fix debconf questions in Debian package installation tests#1456
garberg wants to merge 3 commits intoSpriteLink:masterfrom
garberg:fix_deb_build

Conversation

@garberg
Copy link
Member

@garberg garberg commented Mar 20, 2026

Use debconf-set-selections to pre-seed debconf answers before package installation instead of using debconf-communicate after installation.

garberg added 3 commits March 20, 2026 10:48
Use debconf-set-selections to pre-seed debconf answers before package
installation instead of using debconf-communicate after installation.
This ensures the debconf questions are recognized during the package
installation phase and prevents the 'nipapd/database_host doesn't exist'
error that occurred with the previous approach.
Add nipap.conf.dist to MANIFEST.in to ensure it is included in the
source distribution processed by pybuild. This fixes the missing
/etc/nipap/nipap.conf file after Debian package installation, which
was caused by pybuild excluding the file when it wasn't explicitly
listed in MANIFEST.in.
Handle inclusion of extra files in pyproject.toml instead, as passing
data_files to setup() is no longer supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant