Article View: linux.debian.bugs.rc
Article #3658Bug#1154534: python3-padaos: autopkgtests fail with Python 3.15
From: Stuart Prescott
Date: Fri, 20 Nov 2026 02:10
Date: Fri, 20 Nov 2026 02:10
56 lines
3587 bytes
3587 bytes
Package: python3-padaos Version: 0.1.10-3 Severity: serious X-Debbugs-Cc: stuart@debian.org Dear Maintainer, The autopkgtest tests fail for padaos because it uses the sre_constants that were finally removed with Python 3.15. https://docs.python.org/3/whatsnew/3.15.html#sre //--- 29s Testing with python3.15: 29s Traceback (most recent call last): 29s File "<string>", line 1, in <module> 29s import padaos; print(padaos) 29s ^^^^^^^^^^^^^ 29s File "/usr/lib/python3/dist-packages/padaos.py", line 2, in <module> 29s import sre_constants 29s ModuleNotFoundError: No module named 'sre_constants' ---// Simply using `re.error` instead of `scre_constants.error` should be sufficient. Additionally, the tests are not run at build time, meaning that this was not caught during the preparatory archive rebuilds for the transition. Please enable the tests at build time. (Adding test_padaos.py to debian/pybuild.testfiles is likely enough.) //--- W: pybuild base:326: No test runner selected, defaulting to unittest, ignoring test discovery problems. Use --test-unittest to explicitly select the unittest runner. I: pybuild base:383: cd /build/padaos-rLvksn/padaos-0.1.10/.pybuild/cpython3_3.15_padaos/build; python3.15 -m unittest discover -v D: pybuild tools:297: invoking: cd /build/padaos-rLvksn/padaos-0.1.10/.pybuild/cpython3_3.15_padaos/build; python3.15 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN W: pybuild base:326: No test runner selected, defaulting to unittest, ignoring test discovery problems. Use --test-unittest to explicitly select the unittest runner. I: pybuild base:383: cd /build/padaos-rLvksn/padaos-0.1.10/.pybuild/cpython3_3.14_padaos/build; python3.14 -m unittest discover -v D: pybuild tools:297: invoking: cd /build/padaos-rLvksn/padaos-0.1.10/.pybuild/cpython3_3.14_padaos/build; python3.14 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s ---// regards Stuart
Technical Details
Message-ID:
<O1meB-cZX9-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!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!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Stuart Prescott <stuart@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154534: python3-padaos: autopkgtests fail with Python 3.15 Date: Fri, 20 Nov 2026 03:10:01 +0100 Message-ID: <O1meB-cZX9-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Nov 20 02:03:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Stuart Prescott <stuart@debian.org>, 1154534@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: stuart@debian.org, wouter@debian.org X-Debian-Pr-Message: report 1154534 X-Debian-Pr-Package: python3-padaos X-Debian-Pr-Source: padaos Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838912 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 20 Nov 2026 13:00:45 +1100 X-Original-Message-ID: <179514004545.608732.1507537116743879449.reportbug@trochilus.nanonanonano.net>