diff -pruN 1.3.0-1/debian/changelog 1.3.0-2/debian/changelog
--- 1.3.0-1/debian/changelog	2024-03-17 03:31:47.000000000 +0000
+++ 1.3.0-2/debian/changelog	2025-10-24 08:31:14.000000000 +0000
@@ -1,3 +1,14 @@
+mpmath (1.3.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * Patch-out usage of RC-buggy python3-py
+
+    mpmath was keeping python3-py in the key_packages set;
+    blocking it's autoremoval.
+    https://udd.debian.org/cgi-bin/key_packages.yaml.cgi
+
+ -- Alexandre Detiste <tchet@debian.org>  Fri, 24 Oct 2025 10:31:14 +0200
+
 mpmath (1.3.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -pruN 1.3.0-1/debian/control 1.3.0-2/debian/control
--- 1.3.0-1/debian/control	2024-03-17 03:28:08.000000000 +0000
+++ 1.3.0-2/debian/control	2025-10-24 08:28:16.000000000 +0000
@@ -8,7 +8,6 @@ Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
                dh-sequence-sphinxdoc,
                python3-all,
-               python3-py,
                python3-pytest,
                python3-setuptools,
                python3-sphinx,
diff -pruN 1.3.0-1/debian/patches/remove_py.patch 1.3.0-2/debian/patches/remove_py.patch
--- 1.3.0-1/debian/patches/remove_py.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.3.0-2/debian/patches/remove_py.patch	2025-10-24 08:30:51.000000000 +0000
@@ -0,0 +1,15 @@
+Forwarded: no, already fixed in experimental
+
+--- a/mpmath/tests/runtests.py
++++ b/mpmath/tests/runtests.py
+@@ -73,8 +73,8 @@
+     print("")
+     if "-py" in sys.argv:
+         sys.argv.remove('-py')
+-        import py
+-        py.test.cmdline.main()
++        import pytest
++        pytest.cmdline.main()
+     else:
+         import glob
+         from timeit import default_timer as clock
diff -pruN 1.3.0-1/debian/patches/series 1.3.0-2/debian/patches/series
--- 1.3.0-1/debian/patches/series	2024-03-17 03:07:33.000000000 +0000
+++ 1.3.0-2/debian/patches/series	2025-10-24 08:28:50.000000000 +0000
@@ -1 +1,2 @@
 mathjax.patch
+remove_py.patch
