Public bug reported:

This is similar to
https://bugs.launchpad.net/ubuntu/+source/python3.14/+bug/2127898

optparse in libpython3.13-minimal wraps the import of gettext in a
try/catch, but this seems to be missing from libpython3.14-minimal. This
causes an import error when importing optparse if gettext isn't
available. The same appears to be true for getopt.

** Affects: python3.14 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Cannot import optparse with only python3.14-minimal installed
+ Cannot import optparse or getopt with only python3.14-minimal installed

** Description changed:

  This is similar to
  https://bugs.launchpad.net/ubuntu/+source/python3.14/+bug/2127898
  
  optparse in libpython3.13-minimal wraps the import of gettext in a
  try/catch, but this seems to be missing from libpython3.14-minimal. This
  causes an import error when importing optparse if gettext isn't
- available.
+ available. The same appears to be true for getopt.

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

Title:
  Cannot import optparse or getopt with only python3.14-minimal
  installed

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to