I don't know if that would help,
but here Ubuntu already did the work.

https://packages.ubuntu.com/oracular/python3-googleapi



--- 1.7.12-1/debian/changelog 2023-01-16 17:33:07.000000000 +0000
+++ 2.131.0-0ubuntu1/debian/changelog 2024-06-03 13:48:41.000000000 +0000
@@ -1,3 +1,11 @@
+python-googleapi (2.131.0-0ubuntu1) oracular; urgency=medium
+
+  * New upstream release.
+  * Drop python 3.11 compatibility patch:
+    - debian/patches/remove_U_flag.patch
+
+ -- Adrien Nader <adrien.na...@canonical.com>  Mon, 03 Jun 2024 15:48:41 +0200
+
 python-googleapi (1.7.12-1) unstable; urgency=medium

   * New upstream release.
diff -pruN 1.7.12-1/debian/control 2.131.0-0ubuntu1/debian/control
--- 1.7.12-1/debian/control 2023-01-16 17:33:07.000000000 +0000
+++ 2.131.0-0ubuntu1/debian/control 2024-06-03 13:48:41.000000000 +0000
@@ -1,12 +1,11 @@
 Source: python-googleapi
 Section: python
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
Build-Depends: debhelper (>= 12),
                dh-python,
                python3-all (>= 3.4),
                python3-mock,
-               python3-oauth2client (>= 1.4.6),
                python3-setuptools,
                python3-six,
                python3-unittest2,
@@ -18,8 +18,7 @@ Homepage: https://github.com/google/goog

 Package: python3-googleapi
 Architecture: all
-Depends: python3-oauth2client (>= 2.0.0),
-         python3-uritemplate (>= 0.6),
+Depends: python3-uritemplate (>= 0.6),
          python3-httplib2 (>= 0.9.2),
          python3-uritemplate,
          python3-google-auth-httplib2 (>= 0.0.3),

Reply via email to