summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-02-13 13:21:34 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-02-13 18:14:37 +0100
commit417f5db8e20914680768227cf0f4efa11d6f3b67 (patch)
tree4c24911552d1663aa1280f6ea23d4379eeb96232 /debian
parent1d2049b13f6f40e05869b40044c2ee190a8ea382 (diff)
downloadvyos-http-api-tools-417f5db8e20914680768227cf0f4efa11d6f3b67.tar.gz
vyos-http-api-tools-417f5db8e20914680768227cf0f4efa11d6f3b67.zip
debian: T5003: Update for Python 3.11 in Debian 12 "Bookworm"
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6164fc8..850098e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ export DH_VIRTUALENV_INSTALL_ROOT=/usr/share
dh $@ --with python-virtualenv
override_dh_virtualenv:
+ # Temporary Debian 12 "Bookworm" fix
+ sed -i 's/getargspec/getfullargspec/' /usr/bin/dh_virtualenv
+
dh_virtualenv \
--python /usr/bin/python3 \
--use-system-packages \