[Bug 2127899] [NEW] Cannot import optparse or getopt with only python3.14-minimal installed
Alex Lowe
2127899 at bugs.launchpad.net
Wed Oct 15 05:14:36 UTC 2025
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
Foundations Bugs, which is subscribed to python3.14 in Ubuntu.
https://bugs.launchpad.net/bugs/2127899
Title:
Cannot import optparse or getopt with only python3.14-minimal
installed
Status in python3.14 package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.14/+bug/2127899/+subscriptions
More information about the foundations-bugs
mailing list