Your message dated Mon, 16 Feb 2026 14:16:06 +0100
with message-id <[email protected]>
and subject line Bug in pyspengo, not requests-kerberos
has caused the Debian Bug report #1126536,
regarding python3-requests-kerberos: Version 0.14 breaks HTTPKerberosAuth due 
to missing dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1126536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-requests-kerberos
Version: 0.14.0-6
Severity: normal

Dear Maintainer, after upgrading from 0.12 to 0.14 HTTPKerberosAuth broke:

        #/bin/python
        import requests
        from requests_kerberos import HTTPKerberosAuth as oss_auth
        with requests.sessions.Session() as c:
            c.auth = oss_auth()
            r = c.get('https://resource-with-kerberos-auth.example.com/', 
verify=True)
            print(r)

Results in:

        Traceback (most recent call last):
          File "./script.py", line 127, in <module>
            r = c.get('https://resource-with-kerberos-auth.example.com/', 
verify=True)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests/sessions.py", line 602, 
in get
            return self.request("GET", url, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, 
in request
            resp = self.send(prep, **send_kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests/sessions.py", line 710, 
in send
            r = dispatch_hook("response", hooks, r, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests/hooks.py", line 30, in 
dispatch_hook
            _hook_data = hook(hook_data, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests_kerberos/kerberos_.py", 
line 393, in handle_response
            _r = self.handle_401(response, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests_kerberos/kerberos_.py", 
line 276, in handle_401
            _r = self.authenticate_user(response, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests_kerberos/kerberos_.py", 
line 246, in authenticate_user
            auth_header = self.generate_request_header(response, host)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/requests_kerberos/kerberos_.py", 
line 213, in generate_request_header
            self._context[host] = ctx = spnego.client(
                                        ^^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/spnego/auth.py", line 169, in 
client
            return _new_context(
                   ^^^^^^^^^^^^^
          File "/usr/lib/python3/dist-packages/spnego/auth.py", line 84, in 
_new_context
            return proxy(
                   ^^^^^^
          File "/usr/lib/python3/dist-packages/spnego/_gss.py", line 318, in 
__init__
            raise ImportError("GSSAPIProxy requires the Python gssapi library: 
%s" % GSSAPI_IMP_ERR)

0.14 uses spnego which contains unconditional 'import krb5' which seem to be no 
longer existing
in Debian.

Solution is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126058

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.5+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_AUX
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-requests-kerberos depends on:
ii  python3               3.13.9-3
ii  python3-cryptography  46.0.1-1
ii  python3-kerberos      1.1.14-3.1+b12
ii  python3-pyspnego      0.10.2-3
ii  python3-requests      2.32.5+dfsg-1

python3-requests-kerberos recommends no packages.

python3-requests-kerberos suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

The bug is in pyspengo, not in this package, so I'm closing this bug.

Cheers,

Thomas Goirand (zigo)

--- End Message ---

Reply via email to