Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Stuart Prescott
Wed, 11 Nov 2026 10:50
Bug#1153727: geoalchemy2: Please test against all supported Python interpreters
Author: 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
MDA6MDA6MDAgMjAwMQpGcm9tOiBTdHVhcnQgUHJlc2NvdHQ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IC1vIC1uYW1lIHNpdGUtcGFja2FnZXMgXCkgXAotCSAgICAtZXhlYyBybSAt
cmYgJ3t9L2J1aWxkJyAne30vdGVzdHMnIFw7Ci0tIAoyLjQ3LjMKCg==
--===============3739346535317431635==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads