diff -pruN 1.2.0-2/debian/changelog 1.2.0-3/debian/changelog
--- 1.2.0-2/debian/changelog	2022-08-16 19:56:34.000000000 +0000
+++ 1.2.0-3/debian/changelog	2025-10-03 12:02:56.000000000 +0000
@@ -1,3 +1,17 @@
+flake8-mutable (1.2.0-3) unstable; urgency=medium
+
+  * Fix FTBFS with the nocheck build profile. (Closes: #1116735)
+  * Move packages required for tests to Build-Depends-Indep.
+  * Switch to autopkgtest-pkg-pybuild.
+  * Remove 'Rules-Requires-Root: no', now the default.
+  * Update Standards-Version.
+  * Update copyright year.
+  * Update debian/watch to format version 5.
+  * Simplify debian/rules.
+  * Add debian/salsa-ci.yml.
+
+ -- Edward Betts <edward@4angle.com>  Fri, 03 Oct 2025 13:02:56 +0100
+
 flake8-mutable (1.2.0-2) unstable; urgency=medium
 
   * Source-only upload to allow package to migrate to testing.
diff -pruN 1.2.0-2/debian/control 1.2.0-3/debian/control
--- 1.2.0-2/debian/control	2022-08-11 16:52:26.000000000 +0000
+++ 1.2.0-3/debian/control	2025-10-03 12:02:56.000000000 +0000
@@ -1,23 +1,28 @@
 Source: flake8-mutable
 Maintainer: Debian Python Team <team+python@tracker.debian.org>
-Uploaders: Edward Betts <edward@4angle.com>
+Uploaders:
+ Edward Betts <edward@4angle.com>,
 Section: python
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               dh-sequence-python3,
-               python3-all,
-               python3-pytest <!nocheck>,
-               python3-pytest-runner <!nocheck>,
-               python3-setuptools
-Rules-Requires-Root: no
-Standards-Version: 4.6.1
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3-all,
+ python3-pytest-runner,
+ python3-setuptools,
+Build-Depends-Indep:
+ python3-pytest <!nocheck>,
+Standards-Version: 4.7.2
 Homepage: https://github.com/ebeweber/flake8-mutable
 Vcs-Browser: https://salsa.debian.org/python-team/packages/flake8-mutable
 Vcs-Git: https://salsa.debian.org/python-team/packages/flake8-mutable.git
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-flake8-mutable
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
 Description: use flake8 to catch functions with mutable default arguments
  Python's default arguments are evaluated at definition as opposed to when the
  function is invoked. This leads to unexpected behavior, as mutations persist
diff -pruN 1.2.0-2/debian/copyright 1.2.0-3/debian/copyright
--- 1.2.0-2/debian/copyright	2022-08-11 16:50:09.000000000 +0000
+++ 1.2.0-3/debian/copyright	2025-10-03 12:02:56.000000000 +0000
@@ -8,7 +8,7 @@ Copyright: 2016 Matthew Ebeweber
 License: MIT
 
 Files: debian/*
-Copyright: 2022 Edward Betts <edward@4angle.com>
+Copyright: 2022-2025 Edward Betts <edward@4angle.com>
 License: MIT
 
 
diff -pruN 1.2.0-2/debian/rules 1.2.0-3/debian/rules
--- 1.2.0-2/debian/rules	2022-08-09 08:43:16.000000000 +0000
+++ 1.2.0-3/debian/rules	2025-10-03 12:02:56.000000000 +0000
@@ -1,11 +1,3 @@
 #!/usr/bin/make -f
-
-export PYBUILD_NAME=flake8-mutable
-export PYBUILD_TEST_PYTEST=1
-
 %:
 	dh $@ --buildsystem=pybuild
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf flake8_mutable.egg-info/
diff -pruN 1.2.0-2/debian/salsa-ci.yml 1.2.0-3/debian/salsa-ci.yml
--- 1.2.0-2/debian/salsa-ci.yml	1970-01-01 00:00:00.000000000 +0000
+++ 1.2.0-3/debian/salsa-ci.yml	2025-09-02 12:47:21.000000000 +0000
@@ -0,0 +1,3 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
diff -pruN 1.2.0-2/debian/tests/control 1.2.0-3/debian/tests/control
--- 1.2.0-2/debian/tests/control	2022-08-11 16:52:42.000000000 +0000
+++ 1.2.0-3/debian/tests/control	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-Tests: run-tests
-Depends: python3-all, python3-pytest, python3-pytest-runner, @
diff -pruN 1.2.0-2/debian/tests/run-tests 1.2.0-3/debian/tests/run-tests
--- 1.2.0-2/debian/tests/run-tests	2022-07-29 08:36:56.000000000 +0000
+++ 1.2.0-3/debian/tests/run-tests	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-#!/bin/sh
-set -e
-cp -r test* "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
-for py in $(py3versions -s); do
-    $py -Wd -m pytest -v -x 2>&1
-done
diff -pruN 1.2.0-2/debian/watch 1.2.0-3/debian/watch
--- 1.2.0-2/debian/watch	2022-08-09 08:43:16.000000000 +0000
+++ 1.2.0-3/debian/watch	2025-10-03 12:02:56.000000000 +0000
@@ -1,3 +1,5 @@
-version=4
-opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/flake8-mutable-$1\.tar\.gz/ \
-  https://github.com/ebeweber/flake8-mutable/tags .*/v?(\d\S+)\.tar\.gz
+Version: 5
+
+Template: Github
+Owner: ebeweber
+Project: flake8-mutable
