Project

General

Profile

Actions

Bug #75901

closed
KC

debian/py3dist-overrides contains a mapping for distutils:

Bug #75901: debian/py3dist-overrides contains a mapping for distutils:

Added by Kefu Chai 8 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Fixed In:
v21.0.0-336-g958a7bf4a3
Released In:
v21.2.0~848
Upkeep Timestamp:
2026-10-28T01:09:08+00:00

Description

debian/py3dist-overrides contains a mapping for distutils:

distutils python3-distutils

This entry is stale and should be removed:

1. distutils was deprecated in Python 3.10 (PEP 632) and removed in Python 3.12.
2. The python3-distutils package does not exist in Debian Trixie (Python 3.13) or Ubuntu 24.04+ (Python 3.12).
3. The only runtime reference to distutils in a .requires file was in debian/ceph-mgr.requires, which was already cleaned up by #72020 (commit 3fb3f892aa3). No other .requires or .dist-info files declare a runtime dependency on distutils.

As a result, this py3dist-overrides entry is dead code. In other words, dh_python3 never resolves it during the build. However, if a distutils runtime dependency were accidentally reintroduced, it would generate an uninstallable Depends: python3-distutils on Trixie/Noble and newer, rather than producing a visible build-time warning.


Related issues 3 (0 open — 3 closed)

Related to mgr - Bug #72020: ubuntu 24: ceph-mgr : Depends: python3-distutils but it is not installableBackportingCasey Bodley

Actions
Copied to Ceph - Backport #75919: squid: debian/py3dist-overrides contains a mapping for distutils:ResolvedKefu Chai

Actions
Copied to Ceph - Backport #75920: tentacle: debian/py3dist-overrides contains a mapping for distutils:ResolvedKefu Chai

Actions

KC Updated by Kefu Chai 8 months ago Actions #1

  • Backport set to squid tentacle

KC Updated by Kefu Chai 8 months ago Actions #2

  • Related to Bug #72020: ubuntu 24: ceph-mgr : Depends: python3-distutils but it is not installable added

KC Updated by Kefu Chai 8 months ago Actions #3

  • Status changed from New to Fix Under Review
  • Pull request ID set to 68255

UB Updated by Upkeep Bot 8 months ago Actions #4

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 958a7bf4a3d84547cd01c68b1c89995810dc3952
  • Fixed In set to v21.0.0-336-g958a7bf4a3
  • Upkeep Timestamp set to 2026-04-08T23:39:18+00:00

UB Updated by Upkeep Bot 8 months ago Actions #5

  • Copied to Backport #75919: squid: debian/py3dist-overrides contains a mapping for distutils: added

UB Updated by Upkeep Bot 8 months ago Actions #6

  • Copied to Backport #75920: tentacle: debian/py3dist-overrides contains a mapping for distutils: added

UB Updated by Upkeep Bot 8 months ago Actions #7

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-04-08T23:39:18+00:00 to 2026-08-27T18:29:15+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #9

  • Released In set to v21.2.0~848
  • Upkeep Timestamp changed from 2026-08-27T18:29:15+00:00 to 2026-10-24T01:16:21+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #10

  • Status changed from Backporting to Resolved
  • Upkeep Timestamp changed from 2026-10-24T01:16:21+00:00 to 2026-10-28T01:09:08+00:00
Actions

Also available in: PDF Atom