diff --git a/debian/changelog b/debian/changelog
index 7d2cacb..2662211 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+straight.plugin (1.4.1-5) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 12 to 13.
+ + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+ does this.
+
+ -- Debian Janitor <janitor@jelmer.uk> Sun, 30 Apr 2023 23:05:49 -0000
+
straight.plugin (1.4.1-4) unstable; urgency=medium
[ Debian Janitor ]
diff --git a/debian/control b/debian/control
index a5134b7..3d5e1f3 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Sergio Durigan Junior <sergiodj@sergiodj.net>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools,
diff --git a/debian/rules b/debian/rules
index 43a9c8a..3999e20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,8 @@ override_dh_auto_build:
PYTHONPATH=../ $(MAKE) -C docs/ html man
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
dh_auto_test
else
@echo "Skipping testsuite as DEB_BUILD_OPTIONS=nocheck is set"
-endif