diff --git a/debian/control b/debian/control
index a648548001c62e4e41a277b7c32725d33ce69d55..a224ab2480ed95c7865bf674a473fc20022b1f6f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Ghislain Antony Vaillant <ghisvail@gmail.com>
 Section: python
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                python-agate-doc <!nodoc>,
                python3-agate <!nocheck> <!nodoc>,
                python3-all,
diff --git a/debian/rules b/debian/rules
index e67381536dddd2423ec1d3e1fdfb6edbb3c0ce96..10f3f75dcc2d4ba93cd769e98e0ec003ce4eabf9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export PYBUILD_DISABLE = test
 endif
 
 %:
-	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean