diff -pruN 3.22.4-2/debian/changelog 3.22.4-2ubuntu1/debian/changelog
--- 3.22.4-2/debian/changelog	2025-09-13 17:22:26.000000000 +0000
+++ 3.22.4-2ubuntu1/debian/changelog	2025-09-15 07:30:31.000000000 +0000
@@ -1,3 +1,10 @@
+petsc4py (3.22.4-2ubuntu1) questing; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 15 Sep 2025 09:30:31 +0200
+
 petsc4py (3.22.4-2) unstable; urgency=medium
 
   * debian patch fixes_for_sphinx_MR8685.diff applies upstream MR#8685
@@ -7,6 +14,13 @@ petsc4py (3.22.4-2) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Sat, 13 Sep 2025 19:22:26 +0200
 
+petsc4py (3.22.4-1ubuntu1) plucky; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 12 Mar 2025 08:32:31 +0100
+
 petsc4py (3.22.4-1) unstable; urgency=medium
 
   * New upstream release
@@ -22,6 +36,41 @@ petsc4py (3.22.4-1) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 12 Mar 2025 01:44:00 +0100
 
+petsc4py (3.22.3-1ubuntu1) plucky; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 03 Mar 2025 09:29:20 +0100
+
+petsc4py (3.22.3-1) unstable; urgency=medium
+
+  * New upstream release
+  * debian/source/lintian-overrides: drop redundant uses-python-distutils
+  * debian/tests Depends: python3-numpy-dev
+    (fortranobject.c is needed by f2py, used by legacy demo tests)
+
+ -- Drew Parsons <dparsons@debian.org>  Wed, 19 Feb 2025 16:55:17 +0100
+
+petsc4py (3.22.1-2ubuntu3) plucky; urgency=medium
+
+  * No-change rebuild against python3-numpy2-abi0
+
+ -- Graham Inggs <ginggs@ubuntu.com>  Tue, 28 Jan 2025 11:33:02 +0000
+
+petsc4py (3.22.1-2ubuntu2) plucky; urgency=medium
+
+  * No-change rebuild for mpich_4.2.1-2.
+
+ -- Sudip Mukherjee <sudipm.mukherjee@gmail.com>  Thu, 12 Dec 2024 09:50:07 +0000
+
+petsc4py (3.22.1-2ubuntu1) plucky; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Sat, 30 Nov 2024 10:07:06 +0100
+
 petsc4py (3.22.1-2) unstable; urgency=medium
 
   * Upload 3.22 to unstable. Transition #1082552.
@@ -53,6 +102,13 @@ petsc4py (3.21.6-3) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 27 Nov 2024 21:15:21 +0100
 
+petsc4py (3.21.6-2ubuntu1) plucky; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 30 Oct 2024 19:52:01 +0100
+
 petsc4py (3.21.6-2) unstable; urgency=medium
 
   * fix doc build
@@ -102,6 +158,13 @@ petsc4py (3.21.4-1exp1) experimental; ur
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 28 Aug 2024 00:41:05 +0200
 
+petsc4py (3.20.5-4ubuntu1) oracular; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Sun, 29 Sep 2024 09:06:40 +0200
+
 petsc4py (3.20.5-4) unstable; urgency=medium
 
   * update debian patch build_local_docs.patch to link to numpy docs
@@ -113,6 +176,26 @@ petsc4py (3.20.5-4) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Thu, 29 Aug 2024 02:02:31 +0200
 
+petsc4py (3.20.5-3ubuntu3) oracular; urgency=medium
+
+  * Another no-change rebuild against mpi-defaults 1.17 now that
+    petsc was built
+
+ -- Graham Inggs <ginggs@ubuntu.com>  Mon, 23 Sep 2024 11:00:35 +0000
+
+petsc4py (3.20.5-3ubuntu2) oracular; urgency=medium
+
+  * No-change rebuild against mpi-defaults 1.17
+
+ -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Thu, 01 Aug 2024 12:59:36 -0700
+
+petsc4py (3.20.5-3ubuntu1) oracular; urgency=medium
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Fri, 24 May 2024 19:29:50 +0200
+
 petsc4py (3.20.5-3) unstable; urgency=medium
 
   * build the real module in arch-indep builds to be used building docs
@@ -151,6 +234,25 @@ petsc4py (3.20.5-1exp1) experimental; ur
 
  -- Drew Parsons <dparsons@debian.org>  Thu, 14 Mar 2024 10:01:04 +0100
 
+petsc4py (3.19.6-7ubuntu3) noble; urgency=medium
+
+  * No-change rebuild for CVE-2024-3094
+
+ -- William Grant <wgrant@ubuntu.com>  Mon, 01 Apr 2024 18:09:13 +1100
+
+petsc4py (3.19.6-7ubuntu2) noble; urgency=medium
+
+  * Drop distutils dependency
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Sun, 17 Mar 2024 20:40:42 +0100
+
+petsc4py (3.19.6-7ubuntu1) noble; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 06 Mar 2024 23:47:12 +0100
+
 petsc4py (3.19.6-7) unstable; urgency=medium
 
   * reduce optimisations in the sh4 build to -O1
@@ -158,6 +260,25 @@ petsc4py (3.19.6-7) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 06 Mar 2024 10:40:31 +0100
 
+petsc4py (3.19.6-6ubuntu3) noble; urgency=medium
+
+  * No-change rebuild for python3.12 t64.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 02 Mar 2024 21:21:21 +0100
+
+petsc4py (3.19.6-6ubuntu2) noble; urgency=medium
+
+  * No-change rebuild for python3.12 t64.
+
+ -- Matthias Klose <doko@ubuntu.com>  Sat, 02 Mar 2024 21:14:40 +0100
+
+petsc4py (3.19.6-6ubuntu1) noble; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 20 Feb 2024 09:06:45 +0100
+
 petsc4py (3.19.6-6) unstable; urgency=medium
 
   * debian patch revert_cython_pin_PR6720.patch also reverts upstream
@@ -181,6 +302,12 @@ petsc4py (3.19.6-4) unstable; urgency=me
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 07 Feb 2024 02:55:10 +0100
 
+petsc4py (3.19.6-3ubuntu1) noble; urgency=medium
+
+  * Fix build by linking python3 into cython generated files.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Thu, 01 Feb 2024 20:53:04 +0100
+
 petsc4py (3.19.6-3) unstable; urgency=medium
 
   * update debian patch demo_fixes.patch to set MPIEXEC_FLAGS
diff -pruN 3.22.4-2/debian/patches/fix-build-missing-python-link.patch 3.22.4-2ubuntu1/debian/patches/fix-build-missing-python-link.patch
--- 3.22.4-2/debian/patches/fix-build-missing-python-link.patch	1970-01-01 00:00:00.000000000 +0000
+++ 3.22.4-2ubuntu1/debian/patches/fix-build-missing-python-link.patch	2024-11-30 09:07:06.000000000 +0000
@@ -0,0 +1,20 @@
+Description: For some reasons the build fails because python3 is not linked.
+This is probably an underlink issue, in Debian python is already linked by some
+other library. This might eventually become an issue in Debian too, now
+that wl-asneeded is a default flag
+Author: Gianfranco Costamagna <locutusofborg@debian.org>
+Last-Update: 2023-12-28
+
+Index: petsc4py-3.21.6-2ubuntu1/conf/confpetsc.py
+===================================================================
+--- petsc4py-3.21.6-2ubuntu1.orig/conf/confpetsc.py
++++ petsc4py-3.21.6-2ubuntu1/conf/confpetsc.py
+@@ -313,6 +313,8 @@
+             self.DESTDIR,
+             '-L{} {}'.format(self['PETSC_LIB_DIR'], self['PETSC_LIB_BASIC']),
+         )
++        py_version = sysconfig.get_python_version()
++        lib_flags += " -lpython" + py_version
+         petsc_lib = flaglist(lib_flags)
+         # runtime_library_dirs is not supported on Windows
+         if sys.platform != 'win32':
diff -pruN 3.22.4-2/debian/patches/series 3.22.4-2ubuntu1/debian/patches/series
--- 3.22.4-2/debian/patches/series	2025-09-13 17:22:26.000000000 +0000
+++ 3.22.4-2ubuntu1/debian/patches/series	2025-09-15 07:30:24.000000000 +0000
@@ -5,3 +5,4 @@ build_docs.patch
 build_local_docs.patch
 test_demo_no_plot.patch
 fixes_for_sphinx_MR8685.diff
+fix-build-missing-python-link.patch
