Hi Maxy,

* Maximiliano Curia <[email protected]> [2026-09-15 13:52]:
Sure, the packages in debusine have a public repositories so you can use
them to build your packages having python 3.15 as a supported version
deb http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 
main

Or to build them using python 3.15 as the default version using:
deb http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 
main
deb http://deb.debusine.debian.net/debian/r-python-python3.15 sid-py315-default 
main

The corresponding signing key can be seen in 
https://deb.debusine.debian.net/debian/r-python-python3.15/

To build from a git repository, I use something like:
gbp buildpackage --no-clean-source --git-builder='sbuild --no-run-lintian 
--extra-repository="deb http://deb.debusine.debian.net/debian/r-python-python3.15 
sid-python3.15 main" 
--extra-repository-key="/home/maxy/debian/python/signing-keys.asc"'

And then for autopkgtest:
autopkgtest -o ../build-area/pyhst2 --add-apt-source="deb http://deb.debian.org/debian 
unstable contrib non-free" --add-apt-source="deb [trusted=yes] 
http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 main" -U 
../build-area/pyhst2_2020c-8+py315.2_amd64.changes -- unshare --release unstable --arch amd64

I haven't managed to find the right invocation of gbp that calls sbuild
that passes the things that I need to autopkgtest. ¯\_(ツ)_/¯
Change to match your needs, of course.

We need to automate that still so right now you can only do:

echo "$autopkgtest_opts = ['--add-apt-source=deb \
 http://deb.debian.org/debian unstable contrib non-free', \
 '--add-apt-source=deb [trusted=yes] \
 http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 \
 main', '--', 'unshare', '--release', '%r', '--arch', '%a'];" > sbuild.conf

SBUILD_CONFIG=sbuild.conf sbuild --no-run-lintian --run-autopkgtest \
 --extra-repository="deb \
 http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 \
 main" --extra-repository-key="/home/maxy/debian/python/signing-keys.asc" \
 -d unstable python-lsp-jsonrpc_1.1.2-2.dsc

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to