diff --git a/debian/changelog b/debian/changelog
index cf5776afc8b1f092c49f2c2686873210575e7fd2..8a6935f016dedeb86fdea7f4af7ac6094f267600 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-json-pointer (2.4-3) unstable; urgency=medium
+
+  * Switch to pybuild (Closes: #1090517).
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 19 Dec 2024 10:31:23 +0100
+
 python-json-pointer (2.4-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/rules b/debian/rules
index 4e33369ce1c8bb39fefc24291bdd8eec2c8bc305..0ccac89e8c4c71cecb689983dc649934b8702c93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/stefankoegl/python-json-pointer.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	rm -rf build *.egg-info
@@ -30,5 +30,5 @@ override_dh_python3:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc $(CURDIR)/debian/python-json-pointer-doc/usr/share/doc/python-json-pointer-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc
 endif