Public bug reported:

The recent no-change rebuild in
https://launchpad.net/ubuntu/+source/python-gssapi/1.8.2-1ubuntu2
regressed. With -1ubuntu1, the import works:

  python3 -c 'import gssapi'

but with -1ubuntu2, it crashes with

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/gssapi/__init__.py", line 31, in <module>
    from gssapi.raw.types import NameType, RequirementFlag, AddressType  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gssapi/raw/__init__.py", line 45, in 
<module>
    importlib.import_module('{0}._enum_extensions.{1}'.format(__name__, name))
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "gssapi/raw/_enum_extensions/ext_dce.pyx", line 3, in init 
gssapi.raw._enum_extensions.ext_dce
ModuleNotFoundError: No module named 'gssapi.raw'

which is a bit weird, as indeed the rebuilt deb lost e.g.

  /usr/lib/python3/dist-
packages/gssapi/raw/types.cpython-311-x86_64-linux-gnu.so

and related *311* files, but the *312* ones are still present. But
Python *is* 3.12:

# python3 --version
Python 3.12.3


This breaks e.g. ipa-client-install (right away, no arguments or IPA setup 
needed).

So there's something subtle going on, but this really should be removed
from noble-proposed now that noble is stable.

** Affects: python-gssapi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-gssapi (Ubuntu Noble)
     Importance: Undecided
         Status: New


** Tags: noble regression-proposed

** Also affects: python-gssapi (Ubuntu Noble)
   Importance: Undecided
       Status: New

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

Title:
  python-gssapi 1.8.2-1ubuntu2 regression: ModuleNotFoundError: No
  module named 'gssapi.raw'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-gssapi/+bug/2064089/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to