[Bug 2127898] Re: Cannot import tempfile with only python3.14-minimal installed

Stefano Rivera 2127898 at bugs.launchpad.net
Tue Oct 21 09:19:48 UTC 2025


** Also affects: python3.13 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.13 in Ubuntu.
https://bugs.launchpad.net/bugs/2127898

Title:
  Cannot import tempfile with only python3.14-minimal installed

Status in python3.13 package in Ubuntu:
  New
Status in python3.14 package in Ubuntu:
  New

Bug description:
  When python3.14-minimal is installed (but not python3.14-stdlib),
  tempfile cannot be imported.

  This looks like a debianization bug that comes from the fact that
  upstream python switched from `import os` to `import os as _os`. As a
  result, use of `os` from a Debian patch to add rmtree implementations
  fails.

  This is not noticeable when python3.14-stdlib is installed, as
  `shutil` is available (so the relevant branch never gets hit).

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: libpython3.14-minimal 3.14.0-1
  ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
  Uname: Linux 6.17.0-5-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Wed Oct 15 01:03:35 2025
  InstallationDate: Installed on 2025-01-15 (273 days ago)
  InstallationMedia: Kubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250114)
  SourcePackage: python3.14
  UpgradeStatus: Upgraded to questing on 2025-05-16 (151 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.13/+bug/2127898/+subscriptions




More information about the foundations-bugs mailing list