From d1d07a0542228b7c40238a9a78d138ad07130240 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 8 Apr 2026 15:29:09 +0800 Subject: [PATCH] debian: remove stale distutils override from py3dist-overrides distutils was deprecated in Python 3.10 (PEP 632) and removed in Python 3.12. The `python3-distutils` package no longer exists in Debian Trixie (Python 3.13) or Ubuntu 24.04+ (Python 3.12). The only runtime reference was in `debian/ceph-mgr.requires`, already cleaned up by 3fb3f892aa3. This override is now dead code, hence no installed file declares a runtime dependency on `distutils`, so `dh_python3` never resolves it. Removing it prevents a latent uninstallable-dependency bug if `distutils` were accidentally reintroduced in a `.requires` file. Fixes: https://tracker.ceph.com/issues/75901 Signed-off-by: Thomas Lamprecht Signed-off-by: Max R. Carrara Signed-off-by: Kefu Chai --- debian/py3dist-overrides | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/py3dist-overrides b/debian/py3dist-overrides index b6358cf123ef..73c20633a7dd 100644 --- a/debian/py3dist-overrides +++ b/debian/py3dist-overrides @@ -1,4 +1,3 @@ cephfs python3-cephfs; PEP386 ceph_argparse python3-ceph-argparse ceph_common python3-ceph-common -distutils python3-distutils -- 2.47.3