Version in base suite: 0.2.0-4 Base version: python-bottle-sqlite_0.2.0-4 Target version: python-bottle-sqlite_0.2.0-4+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/p/python-bottle-sqlite/python-bottle-sqlite_0.2.0-4.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/p/python-bottle-sqlite/python-bottle-sqlite_0.2.0-4+deb13u1.dsc changelog | 7 + patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch | 40 ++++++++++ patches/series | 1 3 files changed, 48 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmp6xvsg00q/python-bottle-sqlite_0.2.0-4.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmp6xvsg00q/python-bottle-sqlite_0.2.0-4+deb13u1.dsc: no acceptable signature found 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 17:01:40.000000000 +0000 +++ python-bottle-sqlite-0.2.0/debian/changelog 2026-04-03 10:46:11.000000000 +0000 @@ -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 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 00:00:00.000000000 +0000 +++ python-bottle-sqlite-0.2.0/debian/patches/0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch 2026-04-03 10:43:32.000000000 +0000 @@ -0,0 +1,40 @@ +From: "crown.hg" +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 00:00:00.000000000 +0000 +++ python-bottle-sqlite-0.2.0/debian/patches/series 2026-04-03 10:43:32.000000000 +0000 @@ -0,0 +1 @@ +0001-fix-AttributeError-module-inspect-has-no-attribute-g.patch