• Bug#1064806: python3.11: NMU diff for 64-bit time_t transition

    From mwhudson@debian.org@21:1/5 to All on Mon Feb 26 05:20:01 2024
    This is a multi-part MIME message sent by reportbug.


    Source: python3.11
    Version: 3.11.8-1
    Severity: important
    Tags: patch pending sid trixie
    User: debian-arm@lists.debian.org
    Usertags: time-t

    NOTICE: these changes must not be uploaded to unstable yet!

    Dear maintainer,

    As part of the 64-bit time_t transition required to support 32-bit architectures in 2038 and beyond (https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified python3.11 as a source package shipping runtime libraries whose ABI
    either is affected by the change in size of time_t, or could not be
    analyzed via abi-compliance-checker (and therefore to be on the safe
    side we assume is affected).

    To ensure that inconsistent combinations of libraries with their reverse-dependencies are never installed together, it is necessary to
    have a library transition, which is most easily done by renaming the
    runtime library package.

    Since turning on 64-bit time_t is being handled centrally through a change
    to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is important that libraries affected by this ABI change all be uploaded close together in time. Therefore I have prepared a 0-day NMU for python3.11
    which will initially be uploaded to experimental if possible, then to
    unstable after packages have cleared binary NEW.

    Please find the patch for this NMU attached.

    If you have any concerns about this patch, please reach out ASAP. Although this package will be uploaded to experimental immediately, there will be a period of several days before we begin uploads to unstable; so if information becomes available that your package should not be included in the transition, there is time for us to amend the planned uploads.



    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    diff -Nru python3.11-3.11.8/debian/changelog python3.11-3.11.8/debian/changelog --- python3.11-3.11.8/debian/changelog 2024-02-08 10:52:08.000000000 +1300
    +++ python3.11-3.11.8/debian/changelog 2024-02-26 14:17:51.000000000 +1300
    @@ -1,3 +1,10 @@
    +python3.11 (3.11.8-1.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition.
    +
    + -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 26 Feb 2024 14:17:51 +1300
    +
    python3.11 (3.11.8-1) unstable; urgency=medium

    * New upstream release.
    diff -Nru python3.11-3.11.8/debian/control python3.11-3.11.8/debian/control
    --- python3.11-3.11.8/debian/control 2023-12-09 08:27:08.000000000 +1300
    +++ python3.11-3.11.8/debian/control 2024-02-26 14:14:52.000000000 +1300
    @@ -116,7 +116,10 @@
    This package contains some essential modules. It is normally not
    used on it's own, but as a dependency of python3.11-minimal.

    -Package: libpython3.11
    +Package: libpython3.11t64
    +Provides: ${t64:Provides}
    +Replaces: libpython3.11
    +Breaks: libpython3.11 (<< ${source:Version})
    Archite