Article View: linux.debian.bugs.dist
Article #4124Bug#1153727: geoalchemy2: Please test against all supported Python interpreters
From: Stuart Prescott
Date: Wed, 11 Nov 2026 10:50
Date: Wed, 11 Nov 2026 10:50
87 lines
6086 bytes
6086 bytes
This is a multi-part MIME message sent by reportbug.
--===============3739346535317431635==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Source: geoalchemy2
Version: 0.21.0~rc0-1
Severity: important
X-Debbugs-Cc: stuart@debian.org
Dear Maintainer,
The build-time and autopkgtest tests for geoalchem2 only test against
the current default Python interpreter and not against all supported
interpreters (despite using python3-all as the dependency to bring in
all supported interpreters).
The attached patch:
- removes manual handling of test files from d/rules, using the
automated handling of pybuild instead (incidentally, this would also
have fixed #1134667, #1151473; I wrote this as those bugs were still
open after the 0.21.0~rc0-1 upload).
- tells pybuild to run the test script, using its {interpreter}
placeholder to get pybuild to run it in a loop with each supported
interpreter in turn. By asking pybuild to run the tests, they are run
against the built module in .pybuild/... and not against the unpacked
upstream source as is currently mistakenly done.
- it also removes the manual deletion of 'build' and 'tests' directories
as they are now automatically managed by pybuild.
There is a remaining task to also run the tests against each supported
interpreter in the autopkgtests too. This can either be done in a loop
over `py3versions -s` as is commonly scripted for Python packages. With
pybuild running the tests, it should also be possible to use pybuild to
run the autopkgtests with 'Testsuite: autopkgtest-pkg-pybuild' in
d/control (untested - I stopped working on this when I realised that
you'd already fixed #1134667, #1151473).
regards
Stuart
--===============3739346535317431635==
Content-Type: application/mbox
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="0001-Run-tests-against-all-supported-Python-versions.patch"
RnJvbSA1ZWU0ZmE0NDdkOWFlNDE2MWMyZmRjYTMxMzU4NGVlMGU1ZDY2NzIxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBTdHVhcnQgUHJlc2NvdHQgPHN0dWFydEBkZWJpYW4ub3JnPgpE
YXRlOiBTY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CSAgICAtZXhlYyBybSAt
cmYgJ3t9L2J1aWxkJyAne30vdGVzdHMnIFw7Ci0tIAoyLjQ3LjMKCg==
--===============3739346535317431635==--
Technical Details
Message-ID:
<NYe3T-bcVZ-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Stuart Prescott <stuart@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153727: geoalchemy2: Please test against all supported Python interpreters Date: Wed, 11 Nov 2026 11:50:01 +0100 Message-ID: <NYe3T-bcVZ-1@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 11 10:49:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Stuart Prescott <stuart@debian.org>, 1153727@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: stuart@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1153727 X-Debian-Pr-Package: src:geoalchemy2 X-Debian-Pr-Source: geoalchemy2 Content-Type: multipart/mixed; boundary="===============3739346535317431635==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002016 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 87 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 11 Nov 2026 21:47:54 +1100 X-Original-Message-ID: <179439407435.1264179.1725989176300297568.reportbug@trochilus.nanonanonano.net>