diff -pruN 4.9.0-1/debian/changelog 4.9.0-0ubuntu1/debian/changelog
--- 4.9.0-1/debian/changelog	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/changelog	2025-09-17 14:17:32.000000000 +0000
@@ -1,285 +1,189 @@
-python-magnumclient (4.9.0-1) experimental; urgency=medium
+python-magnumclient (4.9.0-0ubuntu1) questing; urgency=medium
 
-  * New upstream release.
-  * Fixed (build-)depends for this release.
-
- -- Thomas Goirand <zigo@debian.org>  Tue, 02 Sep 2025 13:56:40 +0200
-
-python-magnumclient (4.8.1-2) unstable; urgency=medium
-
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 28 Mar 2025 11:05:09 +0100
-
-python-magnumclient (4.8.1-1) experimental; urgency=medium
-
-  * New upstream release.
-
- -- Thomas Goirand <zigo@debian.org>  Mon, 10 Mar 2025 15:51:53 +0100
-
-python-magnumclient (4.8.0-1) experimental; urgency=medium
-
-  * New upstream release.
-  * d/watch: switch to version=4 and mode=git.
-
- -- Thomas Goirand <zigo@debian.org>  Mon, 03 Mar 2025 11:29:13 +0100
-
-python-magnumclient (4.7.0-3) unstable; urgency=medium
-
-  * Switch to pybuild (Closes: #1090526).
-
- -- Thomas Goirand <zigo@debian.org>  Thu, 19 Dec 2024 10:15:47 +0100
-
-python-magnumclient (4.7.0-2) unstable; urgency=medium
-
-  * Removed /usr/bin alternative removal in {pre,post}rm.
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 20 Sep 2024 10:14:38 +0200
-
-python-magnumclient (4.7.0-1) experimental; urgency=medium
-
-  * New upstream release.
-
- -- Thomas Goirand <zigo@debian.org>  Mon, 02 Sep 2024 11:04:20 +0200
-
-python-magnumclient (4.6.0-1) experimental; urgency=medium
-
-  * New upstream release.
-  * Rebased py3.12-key_file-and-cert_file-must-use-context.patch.
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 30 Aug 2024 10:04:11 +0200
-
-python-magnumclient (4.4.0-2) unstable; urgency=medium
-
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Thu, 04 Apr 2024 08:24:45 +0200
-
-python-magnumclient (4.4.0-1) experimental; urgency=medium
-
-  * New upstream release.
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 01 Mar 2024 21:28:11 +0100
-
-python-magnumclient (4.2.0-3) unstable; urgency=medium
-
-  * Add py3.12-key_file-and-cert_file-must-use-context.patch
-    (Closes: #1058323).
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 15 Dec 2023 10:54:22 +0100
-
-python-magnumclient (4.2.0-2) unstable; urgency=medium
-
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Wed, 04 Oct 2023 15:28:21 +0200
-
-python-magnumclient (4.2.0-1) experimental; urgency=medium
-
-  * New upstream release.
-
- -- Thomas Goirand <zigo@debian.org>  Thu, 31 Aug 2023 12:20:54 +0200
-
-python-magnumclient (4.1.0-3) unstable; urgency=medium
-
-  * Cleans better (Closes: #1046931).
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 18 Aug 2023 11:27:40 +0200
-
-python-magnumclient (4.1.0-2) unstable; urgency=medium
-
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Mon, 19 Jun 2023 12:15:39 +0200
-
-python-magnumclient (4.1.0-1) experimental; urgency=medium
-
-  * New upstream release.
-  * Removed version of (build-)depends when satisfied in Bookworm.
-
- -- Thomas Goirand <zigo@debian.org>  Wed, 22 Feb 2023 14:06:40 +0100
-
-python-magnumclient (4.0.0-2) unstable; urgency=medium
-
-  * Uploading to unstable.
-
- -- Thomas Goirand <zigo@debian.org>  Fri, 23 Sep 2022 14:18:46 +0200
-
-python-magnumclient (4.0.0-1) experimental; urgency=medium
-
-  * New upstream release.
-  * Removed remove-profile-eq-none-in-tests.patch.
-
- -- Thomas Goirand <zigo@debian.org>  Mon, 19 Sep 2022 14:49:10 +0200
-
-python-magnumclient (3.7.0-1) experimental; urgency=medium
+  [ Guillaume Boutry ]
+  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
+    flamingo.
 
-  * New upstream release.
-  * Removed python3-babel from (build-)depends.
-  * Removed fix-test_help_on_subcommand.patch applied upstream.
+  [ Myles Penner ]
+  * New upstream release for OpenStack Flamingo (LP: #2122726).
+  * d/watch: Change upstream reference to tarballs.opendev.org.
+  * d/s/options: Ignore .launchpad.yaml when generating diffs.
+  * d/control: Align (Build-)Depends with upstream.
+  * d/watch: Add Flamingo key verification.
+  * d/u/signing-key.asc: Add Flamingo public key.
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 02 Sep 2022 23:08:02 +0200
+ -- Myles Penner <myles.penner@canonical.com>  Wed, 17 Sep 2025 07:17:32 -0700
 
-python-magnumclient (3.6.0-2) unstable; urgency=medium
+python-magnumclient (4.8.0-0ubuntu1) plucky; urgency=medium
 
-  * Uploading to unstable.
+  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
+    epoxy.
+  * New upstream release for OpenStack Epoxy.
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 25 Mar 2022 10:58:03 +0100
+ -- James Page <james.page@ubuntu.com>  Mon, 03 Mar 2025 09:34:51 +0000
 
-python-magnumclient (3.6.0-1) experimental; urgency=medium
+python-magnumclient (4.7.0-0ubuntu1) oracular; urgency=medium
 
-  * New upstream release.
-  * Add autopkgtest.
+  * d/gbp.conf: upstream-branch -> upstream-dalmatian.
+  * New upstream release for OpenStack Dalmatian.
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 25 Feb 2022 21:32:33 +0100
+ -- James Page <james.page@ubuntu.com>  Tue, 24 Sep 2024 16:30:38 +0100
 
-python-magnumclient (3.5.0-3) unstable; urgency=medium
+python-magnumclient (4.6.0-0ubuntu1) oracular; urgency=medium
 
-  * Add fix-test_help_on_subcommand.patch (Closes: #1002421).
+  * New upstream release. 
+  * d/p/*: Drop, included upstream.
 
- -- Thomas Goirand <zigo@debian.org>  Thu, 23 Dec 2021 12:13:21 +0100
+ -- James Page <james.page@ubuntu.com>  Wed, 07 Aug 2024 07:20:58 +0100
 
-python-magnumclient (3.5.0-2) unstable; urgency=medium
+python-magnumclient (4.4.0-0ubuntu1) noble; urgency=medium
 
-  * Uploading to unstable.
+  [ Corey Bryant ]
+  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
+    caracal.
 
- -- Thomas Goirand <zigo@debian.org>  Wed, 29 Sep 2021 17:40:55 +0200
+  [ James Page ]
+  * New upstream release for OpenStack Caracal.
+  * d/p/0001-Update-VerifiedHTTPSConnection-for-Python-3.12.patch:
+    cherry pick proposed fix for compatibility with Python 3.12.
 
-python-magnumclient (3.5.0-1) experimental; urgency=medium
+ -- James Page <james.page@canonical.com>  Fri, 08 Mar 2024 14:35:29 +0000
 
-  * New upstream release.
+python-magnumclient (4.2.0-0ubuntu1) mantic; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Mon, 06 Sep 2021 09:43:57 +0200
+  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
+    bobcat.
+  * New upstream release for OpenStack Bobcat.
 
-python-magnumclient (3.4.1-2) unstable; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Thu, 31 Aug 2023 10:45:18 -0400
 
-  * Upload to unstable.
+python-magnumclient (4.1.0-0ubuntu1) lunar; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Mon, 16 Aug 2021 11:10:29 +0200
+  * New upstream release for OpenStack Antelope.
 
-python-magnumclient (3.4.1-1) experimental; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Wed, 22 Feb 2023 13:52:28 -0500
 
-  * New upstream version
+python-magnumclient (4.0.0-0ubuntu1) lunar; urgency=medium
 
- -- Michal Arbet <michal.arbet@ultimum.io>  Sat, 26 Jun 2021 13:15:03 +0200
+  * New upstream release for OpenStack Antelope.
 
-python-magnumclient (3.4.0-1) experimental; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Thu, 15 Dec 2022 14:19:46 -0500
 
-  * New upstream release.
+python-magnumclient (3.7.0-0ubuntu1) kinetic; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Tue, 09 Mar 2021 09:03:35 +0100
+  * New upstream release for OpenStack Zed.
+  * d/control: Align (Build-)Depends with upstream.
+  * d/p/lp1966512.patch: Dropped. Fixed in new upstream release.
 
-python-magnumclient (3.2.1-2) unstable; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Thu, 08 Sep 2022 18:09:29 -0400
 
-  * Uploading to unstable.
-  * Fixed debian/watch.
-  * Add a debian/salsa-ci.yml.
+python-magnumclient (3.6.0-0ubuntu1) kinetic; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 16 Oct 2020 16:11:23 +0200
+  * New upstream release for OpenStack Zed.
+  * d/control: Switch to debhelper compat 13.
+  * d/control: Update standards version to 4.6.1.
 
-python-magnumclient (3.2.1-1) experimental; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Tue, 31 May 2022 14:27:31 -0400
 
-  * New upstream release.
-  * python3-cryptography >= 3.0.
+python-magnumclient (3.5.0-0ubuntu3) jammy; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Sun, 13 Sep 2020 16:26:40 +0200
+  [ Corey Bryant ]
+  * d/p/skip-tests.patch: Dropped. No longer needed as issue has been fixed.
 
-python-magnumclient (3.2.0-1) experimental; urgency=medium
+  [ Felipe Reyes ]
+  * d/p/lp1966512.patch: Fix test_help_on_subcommand on Python 3.10 (LP: #1966512).
 
-  * New upstream release.
-  * Fixed (build-)depends for this release.
+ -- Felipe Reyes <felipe.reyes@canonical.com>  Fri, 25 Mar 2022 15:41:07 -0300
 
- -- Thomas Goirand <zigo@debian.org>  Wed, 09 Sep 2020 22:22:37 +0200
+python-magnumclient (3.5.0-0ubuntu2) impish; urgency=medium
 
-python-magnumclient (3.0.1-1) unstable; urgency=medium
+  * d/control: Drop python-pbr, python2 build depends.
 
-  * New upstream release.
+ -- Chris MacNaughton <chris.macnaughton@ubuntu.com>  Wed, 23 Jun 2021 08:04:28 +0000
 
- -- Thomas Goirand <zigo@debian.org>  Mon, 06 Jul 2020 11:57:45 +0200
+python-magnumclient (3.5.0-0ubuntu1) impish; urgency=medium
 
-python-magnumclient (3.0.0-2) unstable; urgency=medium
+  * New upstream release for OpenStack Xena.
 
-  * Uploading to unstable.
+ -- Chris MacNaughton <chris.macnaughton@ubuntu.com>  Mon, 07 Jun 2021 11:46:09 +0000
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 08 May 2020 23:15:03 +0200
+python-magnumclient (3.4.0-0ubuntu1) hirsute; urgency=medium
 
-python-magnumclient (3.0.0-1) experimental; urgency=medium
+  * New upstream release for OpenStack Wallaby. 
 
-  * New upstream release.
-  * Rebased remove-basic-privacy-breach.patch.
+ -- Chris MacNaughton <chris.macnaughton@ubuntu.com>  Thu, 18 Mar 2021 10:13:15 +0000
 
- -- Thomas Goirand <zigo@debian.org>  Wed, 08 Apr 2020 10:56:51 +0200
+python-magnumclient (3.3.0-0ubuntu1) hirsute; urgency=medium
 
-python-magnumclient (2.15.0-2) unstable; urgency=medium
+  * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
+  * New upstream release for OpenStack Wallaby.
 
-  [ Ondřej Nový ]
-  * Bump Standards-Version to 4.4.1.
+ -- Chris MacNaughton <chris.macnaughton@ubuntu.com>  Thu, 03 Dec 2020 13:15:17 +0000
 
-  [ Thomas Goirand ]
-  * Uploading to unstable.
+python-magnumclient (3.2.1-0ubuntu1) groovy; urgency=medium
 
- -- Thomas Goirand <zigo@debian.org>  Mon, 21 Oct 2019 01:35:02 +0200
+  * New upstream release for OpenStack Victoria.
+  * d/control: Align (Build-)Depends with upstream.
 
-python-magnumclient (2.15.0-1) unstable; urgency=medium
+ -- Corey Bryant <corey.bryant@canonical.com>  Fri, 11 Sep 2020 15:34:11 -0400
 
-  [ Ondřej Nový ]
-  * Use debhelper-compat instead of debian/compat.
-  * Bump Standards-Version to 4.4.0.
+python-magnumclient (3.2.0-0ubuntu1) groovy; urgency=medium
 
-  [ Thomas Goirand ]
-  * New upstream release.
+  * New upstream release for OpenStack Victoria.
+  * d/control: Align (Build-)Depends with upstream.
 
- -- Thomas Goirand <zigo@debian.org>  Mon, 16 Sep 2019 23:50:58 +0200
+ -- Chris MacNaughton <chris.macnaughton@canonical.com>  Thu, 03 Sep 2020 07:46:02 +0000
 
-python-magnumclient (2.12.0-3) unstable; urgency=medium
+python-magnumclient (3.1.0-0ubuntu1) groovy; urgency=medium
 
-  * Uploading to unstable.
+  * New upstream release for OpenStack Victoria.
+  * d/control: Align (Build-)Depends with upstream.
+  * d/p/skip-tests.patch: Refresh patch
+  * d/control: Move to pybuild.
 
- -- Thomas Goirand <zigo@debian.org>  Wed, 17 Jul 2019 05:23:23 +0200
+ -- Chris MacNaughton <chris.macnaughton@canonical.com>  Thu, 11 Jun 2020 08:42:31 +0000
 
-python-magnumclient (2.12.0-2) experimental; urgency=medium
+python-magnumclient (2.11.0-0ubuntu4) focal; urgency=medium
 
-  * Build-depends on openstack-pkg-tools >= 98~ (Closes: #926993).
+  * d/p/skip-tests.patch: Refresh patch to ensure that tests are skipped
+    for >= Python 3.7 rather than == (LP: #1870076).
+  * d/rules: Set PBR_VERSION to fix failing shell tests.
 
- -- Thomas Goirand <zigo@debian.org>  Fri, 26 Apr 2019 13:56:58 +0200
+ -- James Page <james.page@ubuntu.com>  Fri, 03 Apr 2020 11:53:04 +0100
 
-python-magnumclient (2.12.0-1) experimental; urgency=medium
+python-magnumclient (2.11.0-0ubuntu3) eoan; urgency=medium
 
-  * New upstream release.
-  * Removed Python 2 support.
-  * Removed fix-py37-compatibility.patch & fix-crash-str-bytes.patch applied
-    upstream.
-  * Running unit tests with installed Python module.
-  * Add remove-basic-privacy-breach.patch.
+  * d/control: Fix BD's on python-* packages for Bionic Train.
 
- -- Thomas Goirand <zigo@debian.org>  Sat, 23 Mar 2019 08:52:24 +0100
+ -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>  Fri, 12 Jul 2019 14:35:37 +0200
 
-python-magnumclient (2.10.0-3) unstable; urgency=medium
+python-magnumclient (2.11.0-0ubuntu2) eoan; urgency=medium
 
-  * Remove skip-tests.patch
-  * Add fix-py37-compatibility.patch
+  * d/control: Drop python-magnumclient binary package.
+  * d/control: Drop BDI's on python-* packages.
+  * d/*.postinst,prerm,postrm: Drop, alternatives no longer needed.
+  * d/rules: Tweak to stop build and install of Python 2 parts.
 
- -- Michal Arbet <michal.arbet@ultimum.io>  Fri, 16 Nov 2018 16:54:47 +0100
+ -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>  Thu, 11 Jul 2019 15:12:53 +0100
 
-python-magnumclient (2.10.0-2) unstable; urgency=medium
+python-magnumclient (2.11.0-0ubuntu1) disco; urgency=medium
 
-  * Uploading to unstable.
+  * New upstream release for OpenStack Stein.
+  * d/control: Align (Build-)Depends with upstream.
 
- -- Thomas Goirand <zigo@debian.org>  Tue, 04 Sep 2018 23:58:14 +0200
+ -- Corey Bryant <corey.bryant@canonical.com>  Wed, 14 Nov 2018 13:34:50 -0500
 
-python-magnumclient (2.10.0-1) experimental; urgency=medium
+python-magnumclient (2.9.1-0ubuntu1) cosmic; urgency=low
 
-  [ Ondřej Nový ]
-  * d/control: Use team+openstack@tracker.debian.org as maintainer
+  * Merge from Debian unstable.  Remaining changes:
+    - d/control: Enable autopkgtest-pkg-python testsuite.
+    - d/gbp.conf: Retain for gbp and pristine-tar config.
+    - d/p/remove-profile-eq-none-in-tests.patch: Dropped as it is causing
+      tests to fail.
+    - d/p/skip-tests.patch: Updated with failing Py3.7 tests.
+  * New upstream release for OpenStack Rocky.
 
-  [ Thomas Goirand ]
-  * New upstream release.
-  * Fixed (build-)depends for this release.
-  * Building sphinx doc with Python 3.
-  * Add skip-tests.patch, taken from Ubuntu.
-
- -- Thomas Goirand <zigo@debian.org>  Wed, 22 Aug 2018 10:13:44 +0200
+ -- Corey Bryant <corey.bryant@canonical.com>  Fri, 03 Aug 2018 13:24:32 -0400
 
 python-magnumclient (2.8.0-2) unstable; urgency=medium
 
@@ -301,6 +205,17 @@ python-magnumclient (2.8.0-1) unstable;
 
  -- Thomas Goirand <zigo@debian.org>  Tue, 27 Feb 2018 22:10:45 +0100
 
+python-magnumclient (2.8.0-0ubuntu1) bionic; urgency=medium
+
+  * New upstream release.
+  * d/*: wrap-and-sort -bast.
+  * d/control: Update Standards-Version to 4.1.2.
+  * d/control: Bump debhelper compat to 10.
+  * d/control: Align (Build-)Depends with upstream.
+  * d/p/drop-openstackdoctheme.patch: Dropped. No longer needed.
+
+ -- Corey Bryant <corey.bryant@canonical.com>  Mon, 12 Feb 2018 09:28:14 -0500
+
 python-magnumclient (2.7.0-4) unstable; urgency=medium
 
   [ Ondřej Nový ]
@@ -350,6 +265,66 @@ python-magnumclient (2.7.0-1) experiment
 
  -- Thomas Goirand <zigo@debian.org>  Wed, 04 Oct 2017 20:51:25 +0200
 
+python-magnumclient (2.7.0-0ubuntu1) artful; urgency=medium
+
+  * New upstream release.
+  * d/control: Align (Build-)Depends with upstream.
+  * d/p/drop-openstackdoctheme.patch: Temporarily drop openstackdocstheme
+    sphinx extension until sphinx>=1.6.2 is available.
+
+ -- Corey Bryant <corey.bryant@canonical.com>  Tue, 15 Aug 2017 10:25:25 -0400
+
+python-magnumclient (2.5.0-0ubuntu1) zesty; urgency=medium
+
+  * New upstream release. 
+
+ -- Chuck Short <zulcss@ubuntu.com>  Wed, 22 Feb 2017 12:55:42 -0500
+
+python-magnumclient (2.4.0-0ubuntu2) zesty; urgency=medium
+
+  * d/control: Cleanup dependencies. 
+
+ -- Chuck Short <zulcss@ubuntu.com>  Sun, 05 Feb 2017 08:46:55 -0500
+
+python-magnumclient (2.4.0-0ubuntu1) zesty; urgency=medium
+
+  * New upstream release.
+  * d/control: Update Vcs-* links and maintainers.
+
+ -- Chuck Short <zulcss@ubuntu.com>  Mon, 30 Jan 2017 13:10:50 -0500
+
+python-magnumclient (2.3.1-0ubuntu1) zesty; urgency=medium
+
+  * d/gbp.conf: Update gbp configuration file.
+  * d/control: Update Vcs-* links and maintainers.
+  * New upstream release.
+
+ -- Corey Bryant <corey.bryant@canonical.com>  Wed, 30 Nov 2016 13:17:02 -0500
+
+python-magnumclient (2.3.0-0ubuntu1) yakkety; urgency=medium
+
+  [ Corey Bryant ]
+  * New upstream release.
+  * d/control: Align (Build-)Depends with upstream.
+
+ -- James Page <james.page@ubuntu.com>  Fri, 02 Sep 2016 15:11:03 +0100
+
+python-magnumclient (2.1.0-1) experimental; urgency=medium
+
+  [ Ondřej Nový ]
+  * Standards-Version is 3.9.8 now (no change)
+  * d/rules: Removed UPSTREAM_GIT with default value
+
+  [ Corey Bryant ]
+  * New upstream release.
+  * d/gbp.conf: Update branch for Newton.
+  * d/control: Align (Build-)Depends with upstream.
+
+  [ Thomas Goirand ]
+  * Using pkgos-dh_auto_{test,install} from openstack-pkg-tools >= 52~.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 12 Jul 2016 18:57:36 +0000
+
 python-magnumclient (2.0.0-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
@@ -406,3 +381,4 @@ python-magnumclient (0.2.1-1) experiment
   * Initial release. (Closes: #798251)
 
  -- Thomas Goirand <zigo@debian.org>  Mon, 07 Sep 2015 13:11:21 +0200
+
diff -pruN 4.9.0-1/debian/control 4.9.0-0ubuntu1/debian/control
--- 4.9.0-1/debian/control	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/control	2025-09-17 14:17:32.000000000 +0000
@@ -1,48 +1,51 @@
 Source: python-magnumclient
 Section: python
 Priority: optional
-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian OpenStack <openstack-devel@lists.alioth.debian.org>
 Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Corey Bryant <corey.bryant@canonical.com>,
- Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
- python3-pbr,
+ python3-pbr (>= 2.0.0),
  python3-setuptools,
- python3-sphinx,
+ python3-sphinx (>= 2.0.0),
 Build-Depends-Indep:
- python3-coverage,
- python3-cryptography,
- python3-decorator,
- python3-fixtures,
- python3-hacking,
- python3-keystoneauth1,
- python3-openstackclient,
- python3-openstackdocstheme,
- python3-openstacksdk,
- python3-osc-lib,
- python3-oslo.i18n,
- python3-oslo.log,
- python3-oslo.serialization,
- python3-oslo.utils,
- python3-oslosphinx,
- python3-oslotest,
- python3-prettytable,
- python3-requests,
- python3-stestr,
- python3-stevedore,
+ python3-coverage (>= 4.0),
+ python3-cryptography (>= 3.0),
+ python3-decorator (>= 3.4.0),
+ python3-fixtures (>= 3.0.0),
+ python3-keystoneauth1 (>= 3.4.0),
+ python3-mock (>= 2.0.0),
+ python3-openstackclient (>= 3.12.0),
+ python3-openstackdocstheme (>= 2.2.0),
+ python3-openstacksdk (>= 0.10.0),
+ python3-os-client-config (>= 1.28.0),
+ python3-osc-lib (>= 1.8.0),
+ python3-oslo.i18n (>= 3.15.3),
+ python3-oslo.log (>= 3.36.0),
+ python3-oslo.serialization (>= 2.18.0),
+ python3-oslo.utils (>= 3.33.0),
+ python3-oslotest (>= 1:3.2.0),
+ python3-osprofiler (>= 1.4.0),
+ python3-prettytable (>= 0.7.2),
+ python3-reno (>= 2.11.2),
+ python3-requests (>= 2.14.2),
+ python3-six (>= 1.10.0),
+ python3-stestr (>= 2.0.0),
+ python3-stevedore (>= 1:1.20.0),
  python3-subunit,
- python3-testscenarios,
- python3-testtools,
- subunit,
-Standards-Version: 4.4.1
-Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-magnumclient
-Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-magnumclient.git
+ python3-testrepository (>= 0.0.18),
+ python3-testscenarios (>= 0.4),
+ python3-testtools (>= 2.2.0),
+Standards-Version: 4.6.1
+Vcs-Git: https://git.launchpad.net/~ubuntu-openstack-dev/ubuntu/+source/python-magnumclient
 Homepage: http://www.openstack.org/
+Testsuite: autopkgtest-pkg-python
 
 Package: python-magnumclient-doc
 Section: doc
@@ -62,19 +65,20 @@ Description: client library for Magnum A
 Package: python3-magnumclient
 Architecture: all
 Depends:
- python3-cryptography,
- python3-decorator,
- python3-keystoneauth1,
- python3-openstacksdk,
- python3-osc-lib,
- python3-oslo.i18n,
- python3-oslo.log,
- python3-oslo.serialization,
- python3-oslo.utils,
- python3-pbr,
- python3-prettytable,
- python3-requests,
- python3-stevedore,
+ python3-cryptography (>= 3.0),
+ python3-decorator (>= 3.4.0),
+ python3-keystoneauth1 (>= 3.4.0),
+ python3-os-client-config (>= 1.28.0),
+ python3-osc-lib (>= 1.8.0),
+ python3-oslo.i18n (>= 3.15.3),
+ python3-oslo.log (>= 3.36.0),
+ python3-oslo.serialization (>= 2.18.0),
+ python3-oslo.utils (>= 3.33.0),
+ python3-pbr (>= 2.0.0),
+ python3-prettytable (>= 0.7.2),
+ python3-requests (>= 2.14.2),
+ python3-six (>= 1.10.0),
+ python3-stevedore (>= 1:1.20.0),
  ${misc:Depends},
  ${python3:Depends},
 Suggests:
diff -pruN 4.9.0-1/debian/copyright 4.9.0-0ubuntu1/debian/copyright
--- 4.9.0-1/debian/copyright	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/copyright	2025-09-17 14:17:32.000000000 +0000
@@ -8,7 +8,6 @@ License: Apache-2
 
 Files: debian/*
 Copyright: (c) 2014-2016, Thomas Goirand <zigo@debian.org>
-           (c) 2018, Michal Arbet <michal.arbet@ultimum.io>
 License: Apache-2
 
 License: Apache-2
diff -pruN 4.9.0-1/debian/gbp.conf 4.9.0-0ubuntu1/debian/gbp.conf
--- 4.9.0-1/debian/gbp.conf	1970-01-01 00:00:00.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/gbp.conf	2025-09-17 14:17:32.000000000 +0000
@@ -0,0 +1,9 @@
+[DEFAULT]
+debian-branch = master
+upstream-tag = %(version)s
+pristine-tar = True
+upstream-branch = upstream-flamingo
+
+[buildpackage]
+export-dir = ../build-area
+prebuild = [ ! -f .launchpad.yaml ] || rm .launchpad.yaml
diff -pruN 4.9.0-1/debian/patches/py3.12-key_file-and-cert_file-must-use-context.patch 4.9.0-0ubuntu1/debian/patches/py3.12-key_file-and-cert_file-must-use-context.patch
--- 4.9.0-1/debian/patches/py3.12-key_file-and-cert_file-must-use-context.patch	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/patches/py3.12-key_file-and-cert_file-must-use-context.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,32 +0,0 @@
-Description: key_file and cert_file must be used using context() api
-Author: Thomas Goirand <zigo@debian.org>
-Bug-Debian: https://bugs.debian.org/1058323
-Forwarded: no
-Last-Update: 2023-12-15
-
---- python-magnumclient-4.2.0.orig/magnumclient/common/httpclient.py
-+++ python-magnumclient-4.2.0/magnumclient/common/httpclient.py
-@@ -270,7 +270,11 @@
- 
-     def __init__(self, host, port, key_file=None, cert_file=None,
-                  ca_file=None, timeout=None, insecure=False):
--        http_client.HTTPSConnection.__init__(self, host, port)
-+
-+        self.context = ssl.create_default_context()
-+        if key_file and cert_file:
-+            self.context.load_cert_chain(cert_file, key_file)
-+
-         self.key_file = key_file
-         self.cert_file = cert_file
-         if ca_file is not None:
-@@ -280,6 +284,10 @@
-         self.timeout = timeout
-         self.insecure = insecure
- 
-+        http_client.HTTPSConnection.__init__(self, host, port,
-+                                             context=self.context)
-+
-+
-     def connect(self):
-         """Connect to a host on a given (SSL) port.
- 
diff -pruN 4.9.0-1/debian/patches/remove-basic-privacy-breach.patch 4.9.0-0ubuntu1/debian/patches/remove-basic-privacy-breach.patch
--- 4.9.0-1/debian/patches/remove-basic-privacy-breach.patch	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/patches/remove-basic-privacy-breach.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,30 +0,0 @@
-Description: Remove basic privacy breach
-Author: Thomas Goirand <zigo@debian.org>
-Forwarded: no
-Last-Update: 2020-04-08
-
---- python-magnumclient-3.0.0.orig/README.rst
-+++ python-magnumclient-3.0.0/README.rst
-@@ -2,22 +2,11 @@
- Team and repository tags
- ========================
- 
--.. image:: https://governance.openstack.org/tc/badges/python-magnumclient.svg
--    :target: https://governance.openstack.org/tc/reference/tags/index.html
--
- .. Change things from this point on
- 
- Python bindings to the Magnum API
- =================================
- 
--.. image:: https://img.shields.io/pypi/v/python-magnumclient.svg
--    :target: https://pypi.org/project/python-magnumclient/
--    :alt: Latest Version
--
--.. image:: https://img.shields.io/pypi/dm/python-magnumclient.svg
--    :target: https://pypi.org/project/python-magnumclient/
--    :alt: Downloads
--
- This is a client library for Magnum built on the Magnum API. It
- provides a Python API (the ``magnumclient`` module) and a command-line
- tool (``magnum``).
diff -pruN 4.9.0-1/debian/patches/series 4.9.0-0ubuntu1/debian/patches/series
--- 4.9.0-1/debian/patches/series	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-remove-basic-privacy-breach.patch
-py3.12-key_file-and-cert_file-must-use-context.patch
diff -pruN 4.9.0-1/debian/python3-magnumclient.install 4.9.0-0ubuntu1/debian/python3-magnumclient.install
--- 4.9.0-1/debian/python3-magnumclient.install	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/python3-magnumclient.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr
diff -pruN 4.9.0-1/debian/rules 4.9.0-0ubuntu1/debian/rules
--- 4.9.0-1/debian/rules	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/rules	2025-09-17 14:17:32.000000000 +0000
@@ -1,31 +1,49 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=magnumclient
+
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
 	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
+override_dh_auto_install:
+	pkgos-dh_auto_install --no-py2
+
+override_dh_python3:
+	dh_python3 --shebang=/usr/bin/python3
+
 override_dh_auto_clean:
-	rm -f ca.pem cert.pem key.pem config
-	rm -rf build .stestr *.egg-info
-	find . -iname '*.pyc' -delete
-	for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
+	dh_auto_clean -O--buildsystem=pybuild
+	rm -rf .testrepository build doc/man
 
-override_dh_auto_build:
-	echo "Do nothing..."
+override_dh_install:
+	dh_install -O--buildsystem=pybuild
+	rm -rf $(CURDIR)/debian/python-magnumclient/usr/magnumclient
 
-override_dh_auto_install:
-	pkgos-dh_auto_install --no-py2 --in-tmp
+override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2 'magnumclient\.tests\.(?!.*test_utils\.CliUtilsTest\.test_keys_and_vals_to_strs.*)'
+	pkgos-dh_auto_test --no-py2
 endif
 
-override_dh_auto_test:
-	echo "Do nothing..."
+override_dh_installman:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	sphinx-build -b man doc/source doc/man
+	dh_installman -O--buildsystem=pybuild
+endif
 
 override_dh_sphinxdoc:
-	PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-magnumclient-doc/usr/share/doc/python-magnumclient-doc/html
-	dh_sphinxdoc
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+	sphinx-build -b html doc/source $(CURDIR)/debian/python-magnumclient-doc/usr/share/doc/python-magnumclient-doc/html
+	dh_sphinxdoc -O--buildsystem=pybuild
+endif
 
-override_dh_python3:
-	dh_python3 --shebang=/usr/bin/python3
+# Commands not to run
+override_dh_installcatalogs:
+override_dh_installemacsen override_dh_installifupdown:
+override_dh_installinfo override_dh_installmenu override_dh_installmime:
+override_dh_installmodules override_dh_installlogcheck:
+override_dh_installpam override_dh_installppp override_dh_installudev:
+override_dh_installwm:
+override_dh_installxfonts override_dh_gconf override_dh_icons:
+override_dh_perl override_dh_usrlocal:
diff -pruN 4.9.0-1/debian/salsa-ci.yml 4.9.0-0ubuntu1/debian/salsa-ci.yml
--- 4.9.0-1/debian/salsa-ci.yml	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/salsa-ci.yml	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-include:
-  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
-  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff -pruN 4.9.0-1/debian/source/options 4.9.0-0ubuntu1/debian/source/options
--- 4.9.0-1/debian/source/options	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/source/options	2025-09-17 14:17:32.000000000 +0000
@@ -1 +1,2 @@
 extend-diff-ignore = "^[^/]*[.]egg-info/"
+extend-diff-ignore = "^.launchpad.yaml"
diff -pruN 4.9.0-1/debian/tests/control 4.9.0-0ubuntu1/debian/tests/control
--- 4.9.0-1/debian/tests/control	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/tests/control	1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-Tests:
- unittests,
-Depends:
- @,
- @builddeps@,
-Restrictions:
- allow-stderr needs-root,
diff -pruN 4.9.0-1/debian/tests/unittests 4.9.0-0ubuntu1/debian/tests/unittests
--- 4.9.0-1/debian/tests/unittests	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/tests/unittests	1970-01-01 00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-set -e
-
-pkgos-dh_auto_test --no-py2 'magnumclient\.tests\.(?!.*test_utils\.CliUtilsTest\.test_keys_and_vals_to_strs.*)'
diff -pruN 4.9.0-1/debian/upstream/signing-key.asc 4.9.0-0ubuntu1/debian/upstream/signing-key.asc
--- 4.9.0-1/debian/upstream/signing-key.asc	1970-01-01 00:00:00.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/upstream/signing-key.asc	2025-09-17 14:17:32.000000000 +0000
@@ -0,0 +1,34 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDMEZ92jlhYJKwYBBAHaRw8BAQdAnSMr01EpuQHlcTQ8c0ENVDFs9mi/TdWB0IlG
+ZF1eC2S0Qk9wZW5TdGFjayBJbmZyYSAoMjAyNS4yL0ZsYW1pbmdvIEN5Y2xlKSA8
+aW5mcmEtcm9vdEBvcGVuc3RhY2sub3JnPoiWBBMWCAA+FiEExxsAfvl4h/2PtjZc
+60/W1hjmIYEFAmfdo5YCGwMFCQFj9QAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA
+CgkQ60/W1hjmIYElLAEAkMjANVr+kVjZGp8KtliT+ySFAqoCQceuscYt7WmeD4wA
+/2gHNfFDJwkWn9JY9mCR2y7gwf6skTWl3ssPogTa84wDiHUEEBYIAB0WIQQiKE9p
+2ezN8994GXkccRrxk/+OVAUCZ92k6wAKCRAccRrxk/+OVMQGAQD0X/Eow2mK/YzZ
+rMO60g2KI767/rnKJWKFUTCZCfswxwD/WxuGjGRB98RZ9IbCcmaUvRqHf9812h60
+/RCoB4AtiwSJAjMEEAEKAB0WIQSXrklvwC3sn8NTsudI+ZYRQ0lYKQUCZ92vKwAK
+CRBI+ZYRQ0lYKdthD/wJh0uxw05WsmFwjuds82JdnH9ow3OdG/0bhds8eEvgYuQe
+ZEQ9/RC5hJ+SiV+/zclIaG+xYHW3VkZUgOmmLxRzmqFbWbDm5yKp7jTqM2zYB4Jx
+EiLB4dWHZFmrcqfkJ06nXVMjGkj73N+DqHWQ6hleaiE7tcbI++w1AN7niL0rW008
+iP8IHoWLh2dJxQlcheVdjCe0jEU3qO8KxhUTeARPD/Vp1CpJWlq9vWs9/bweMrtj
+FsQwxBiZcQ/0zXDnQFUKpbNDFjQZnjmmwTqhopquL5e5mZWr0NussI20JXyZHj7T
+N5ikDAFPf9iM1Apb+/g9njGUgYFEOgEJuDr1oLolZ+9+7uZrKGD1gmdY7pVG12Xn
+2QJ3rft/Wy8Obac+TdA+UoEYQu4LOUpUOmPOcXE/8/fTxybkQGOZm1Ufaddz+6ee
+uHBbIaxI1kh5MrxH5cIaEkvdjOGg+bMyq7C8CE8WgSEN/JiupEZYgDduOSuqGHDp
++9ydEkanNjGN+K4rXJ7ABBv9freINx5kmCAaDzXeIAL8n1/Rzd6Z/acOlC9omDM0
+mYKKIfLMp6Rp7SKnB37Tp0dKGP4r/SJsx5Sxn7XrktVJ1ht5ByipDD6VBN3+OQPx
+56pRLDCk9EFDjbOW0iKzyPx+Nya5G9CN9AqQXe1MlHsFn+q7DEUSmlGZfvtjN7g4
+BGfdo5YSCisGAQQBl1UBBQEBB0DHSvmmZUEZ94olzKZSHa2HBCWhrhOVNFn/0ag8
+KyY5fQMBCAeIfgQYFggAJhYhBMcbAH75eIf9j7Y2XOtP1tYY5iGBBQJn3aOWAhsM
+BQkBY/UAAAoJEOtP1tYY5iGB6XcA+wY0JUi2ZUqH0CRs4EfS6VML/7u08g8ZByN4
+DZ2htqOGAQDmGHHjpMhKz04eDXLpNO6UZ/Q6LnqEXztW8eBXVtiZALgzBGfdpHYW
+CSsGAQQB2kcPAQEHQKH/4Td8MRK/9UxGyPqWWaZl88m4xE48XM4kP6w3asRViO8E
+GBYIACAWIQTHGwB++XiH/Y+2NlzrT9bWGOYhgQUCZ92kdgIbAgCBCRDrT9bWGOYh
+gXYgBBkWCAAdFiEE3cFPzrMpT3Q4I7HG9zFcLOa3NF0FAmfdpHYACgkQ9zFcLOa3
+NF1xqwEA3muioM6tJtSbiCUCDau2QnalBkfov/A2FFIxvnyHbH0A/051M0O09Tcl
+E7tAieH8W63Jhg3n/GzKl36hXqh3ANML8kIA/0eu6JgK+F0s8iiy+sQecTD7W38B
+A8CSZ29ANdlMwzf7AP9araqMvKRpTMAzhQ+1Eluh8FmXQhzeZDhlIZ8DQDQ/CQ==
+=FVKc
+-----END PGP PUBLIC KEY BLOCK-----
diff -pruN 4.9.0-1/debian/watch 4.9.0-0ubuntu1/debian/watch
--- 4.9.0-1/debian/watch	2025-09-02 11:56:40.000000000 +0000
+++ 4.9.0-0ubuntu1/debian/watch	2025-09-17 14:17:32.000000000 +0000
@@ -1,3 +1,3 @@
-version=4
-opts="mode=git,uversionmangle=s/\.0rc/~rc/;s/\.0b1/~b1/;s/\.0b2/~b2/;s/\.0b3/~b3/" \
-https://github.com/openstack/python-magnumclient refs/tags/(\d[brc\d\.]+)
+version=3
+opts=uversionmangle=s/\.(b|rc)/~$1/,pgpsigurlmangle=s/$/.asc/ \
+    http://tarballs.openstack.org/python-magnumclient/ python_magnumclient-(\d.*)\.tar\.gz
