Your message dated Sat, 16 May 2026 10:23:18 +0000
with message-id <[email protected]>
and subject line Released with 13.5
has caused the Debian Bug report #1132590,
regarding trixie-pu: package python-bottle-sqlite/0.2.0-4+deb13u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1132590: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132590
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:python-bottle-sqlite
User: [email protected]
Usertags: pu

[ Reason ]
Hi, while doing integration test of Trixie for my company;
we found out that python-bottle-sqlite in Stable & OldStable
does not work at all.

While the Debian popcon is 13, ours alone is 1300 edge servers
and we'd really like to see this library kept in shape.

[ Impact ]
Current library is broken and unusable.

[ Tests ]
extensive autopktests mimicking our real-life
workflow were added in Forky.
https://salsa.debian.org/python-team/packages/python-bottle-sqlite/-/blob/master/debian/tests/integration?ref_type=heads

[ Risks ]
patch was provided & tested by a third party and is minimal;
sadly upstream project seems inactive.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Python3.11 and onwards made backward incompatible
changes to 'inspect' module.

Greetings

Alexandre


diff -Nru python-bottle-sqlite-0.2.0/debian/changelog 
python-bottle-sqlite-0.2.0/debian/changelog
--- python-bottle-sqlite-0.2.0/debian/changelog 2022-11-27 18:01:40.000000000 
+0100
+++ python-bottle-sqlite-0.2.0/debian/changelog 2026-04-03 12:46:11.000000000 
+0200
@@ -1,3 +1,10 @@
+python-bottle-sqlite (0.2.0-4+deb13u1) trixie; urgency=medium
+
+  [ IOhannes m zmölnig ]
+  * Backport patch for Python-3.11+ (Closes: #1132009)
+
+ -- Alexandre Detiste <[email protected]>  Fri, 03 Apr 2026 12:46:11 
+0200
+
 python-bottle-sqlite (0.2.0-4) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru 
python-bottle-sqlite-0.2.0/debian/patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch
 
python-bottle-sqlite-0.2.0/debian/patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch
--- 
python-bottle-sqlite-0.2.0/debian/patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch
   1970-01-01 01:00:00.000000000 +0100
+++ 
python-bottle-sqlite-0.2.0/debian/patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch
   2026-04-03 12:43:32.000000000 +0200
@@ -0,0 +1,40 @@
+From: "crown.hg" <[email protected]>
+Date: Fri, 17 May 2024 10:00:46 +0800
+Subject: fix: AttributeError: module 'inspect' has no attribute 'getargspec'.
+
+Origin: upstream
+Bug: https://github.com/bottlepy/bottle-sqlite/pull/30
+Last-Update: 2026-03-31
+
+---
+ bottle_sqlite.py | 14 ++++++++++++--
+ 1 file changed, 12 insertions(+), 2 deletions(-)
+ mode change 100755 => 100644 bottle_sqlite.py
+
+diff --git a/bottle_sqlite.py b/bottle_sqlite.py
+old mode 100755
+new mode 100644
+index 7fa0e7b..a6e0404
+--- a/bottle_sqlite.py
++++ b/bottle_sqlite.py
+@@ -111,8 +111,18 @@ class SQLitePlugin(object):
+ 
+         # Test if the original callback accepts a 'db' keyword.
+         # Ignore it if it does not need a database handle.
+-        argspec = inspect.getargspec(_callback)
+-        if keyword not in argspec.args:
++        # argspec = inspect.getargspec(_callback)
++        # fix: AttributeError: module 'inspect' has no attribute 'getargspec'.
++        cbargs = []
++        if hasattr(inspect, 'getargspec'):
++            argspec = inspect.getargspec(_callback)
++            cbargs = argspec.args
++
++        if hasattr(inspect, 'getfullargspec'):
++            fullArgSpec = inspect.getfullargspec(_callback)
++            cbargs = fullArgSpec.args
++
++        if keyword not in cbargs:
+             return callback
+ 
+         def wrapper(*args, **kwargs):
diff -Nru python-bottle-sqlite-0.2.0/debian/patches/series 
python-bottle-sqlite-0.2.0/debian/patches/series
--- python-bottle-sqlite-0.2.0/debian/patches/series    1970-01-01 
01:00:00.000000000 +0100
+++ python-bottle-sqlite-0.2.0/debian/patches/series    2026-04-03 
12:43:32.000000000 +0200
@@ -0,0 +1 @@
+0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 13.5

This update has been released as part of Debian 13.5.

--- End Message ---

Reply via email to