Your message dated Sun, 11 Jan 2026 22:32:04 +0000
with message-id <[email protected]>
and subject line Bug#1123071: fixed in python-pyspnego 0.10.2-2+deb13u1
has caused the Debian Bug report #1123071,
regarding python3-pyspnego: Deprecation warning when using python module
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.)


-- 
1123071: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123071
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pyspnego
Version: 0.10.2-2
Severity: minor
X-Debbugs-Cc: [email protected]

Hi,

I'm using this module in the context of ansible, where I control a
Windows machine via winrm. When using this module, I get a rather noisy
deprecation warning on any task I call against the VM:

$ ansible -m win_ping win11test
[WARNING]: WorkerProcess for [win11test/TASK: win_ping] errantly sent data 
directly to stderr instead of using Display:
    /usr/lib/python3/dist-packages/spnego/_ntlm_raw/crypto.py:46: 
CryptographyDeprecationWarning: ARC4 has been moved to 
cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from 
this module in 48.0.0.
      arc4 = algorithms.ARC4(self._key)

win11test | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

This can trivially be fixed by updating the import similar to what
upstream merged:
https://github.com/jborean93/pyspnego/pull/87/files#diff-79833740d82004c75cf28de2e216fb0b0c11f7a271470f9a9503bb374e85ba4fR36

For testing/unstable just packaging the latest should suffice.

If you don't have the time I'm happy to prepare an upload to fix it in
trixie.

Greets,
Lee

-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pyspnego depends on:
ii  python3               3.13.5-1
ii  python3-cryptography  43.0.0-3
ii  python3-gssapi        1.9.0-1+b2

python3-pyspnego recommends no packages.

python3-pyspnego suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-pyspnego
Source-Version: 0.10.2-2+deb13u1
Done: Lee Garrett <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pyspnego, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lee Garrett <[email protected]> (supplier of updated python-pyspnego package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 09 Jan 2026 15:35:06 +0100
Source: python-pyspnego
Architecture: source
Version: 0.10.2-2+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Lee Garrett <[email protected]>
Closes: 1123071
Changes:
 python-pyspnego (0.10.2-2+deb13u1) trixie; urgency=medium
 .
   * Non-maintainer upload with permission by the maintainer (#1123071#15)
   * Fix deprecation warning (Closes: #1123071)
Checksums-Sha1:
 d2a5b49d76adbea8392f5493fbbe3cab2cde72c1 3020 
python-pyspnego_0.10.2-2+deb13u1.dsc
 b5f95f7250fef3d18a4caf82ae3928e1698f664e 2888 
python-pyspnego_0.10.2-2+deb13u1.debian.tar.xz
 d4a3c466d372d84625c7188cb1e029ca2f07e5fd 8374 
python-pyspnego_0.10.2-2+deb13u1_amd64.buildinfo
Checksums-Sha256:
 c451e3af21fb0c7f309cb9312a00b2eb3108d13144b5fbfed3b881e9fa249bae 3020 
python-pyspnego_0.10.2-2+deb13u1.dsc
 55c4feff5cfb6f1d9f19a9c504c15ca4b645cdd71ed1b23ba03bca47303fd921 2888 
python-pyspnego_0.10.2-2+deb13u1.debian.tar.xz
 0b16b7853f4c2eba739132982f729e02666925dfdfeb6fb7b08e96144b489ea9 8374 
python-pyspnego_0.10.2-2+deb13u1_amd64.buildinfo
Files:
 d54a23d640f706e0fe5ff1188a0487ee 3020 python optional 
python-pyspnego_0.10.2-2+deb13u1.dsc
 9aac0c9d81c7988fe071f4a2d6bcd9e3 2888 python optional 
python-pyspnego_0.10.2-2+deb13u1.debian.tar.xz
 cb47aca463e97a307db47abbdb0834fd 8374 python optional 
python-pyspnego_0.10.2-2+deb13u1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQQzBAEBCgAdFiEE2EfGJRCpwv8kLOAs1gShxII+4PgFAmlhFWAACgkQ1gShxII+
4PjC2h//YRIDEc1FceWcEtJdlV4/hw3x+MTVRj5x+cTeiByTBDNmFjzdWqAQZKbB
CrBaqppc5jS14EXptoPI3W/4qLAe35DsnQnTRvBgElVTrt9FKDo17SnN08ZcjaKs
ku/2JHbrKoOSXrA4nSKvHgzqonNqgotggoIOskCzAr8TnaMXVaUB9Op13TPBxdg6
ToLNUAPzCsDi55Vo6Ovw0vcUKtQskPTlm6EdDBSRQIt1RdoU+S+iPOQz8w9FrXqv
QKHOMqVhaArysgzsNLwFvxG0ORfR4BRWuIFSjP0TAbVQGoI8KPpRt80ndRS2Nl7O
m/6MXTJZGFn79u8JJMfk805SeX9VxI84PYGqNspq8dfgQd/MTgoka23thINpHUvP
i3BNvp/uvB/qrZ5e9w57fGvHXkd7NbidGybAl7ywTmd8iyX2jaFXazpxHyFivFNM
hRxgQFBpuFUxYMQa0KeH20nXVq4uWiIR5zp/y7NFoZD4Y72cFNbSJOmfoaywaKL0
EaClm2VyybUQB3e2ltd33VQfuBKjPJW6wbcDuoigOFjdROwyZeL57PgfebFgU2Y8
0CMtet8TIug0iTkrxCGt1Gx9+XPLq6wz3pJwosHmqxtm3StxuccazksUiW1GVvOA
9FIddC4gOXdDTazeJriasVoVKh43F2h2IYr3KsUSFJxQ4eTHHxe7iwuERjn4SVZP
qlJeI0KPDI6lfFrdHlv3uO9jKGjsjOYYms9CJ63A1BtDgiPS0UKhmbUWUJvS7Q5L
dtyBxFpFQjI5W8xwSZqwdf1GY6eSW12I4e62802LnIcLf3g6ddnYiEpEO+DhmeC+
Gu1EUByypbScvvF2IKTnZSkLYQL5MfmKPtUfuxBhggZGK8nWJvscidB2aM7muljJ
4lfDDIyYPZ210wpVyhm9MxyzqL05hNvDXKVeVVD+6gRF7WB2pIJxB3qwt6wcVPu9
29MdWHNFWZPfXKg3ZK4JyEP4lLBnT+BNtznCaLG+vks7WdgNDHBy9BJ7JahAFls4
HuZf2OmWxIoaK48+kb3O0f7j5FLvS9LGu735LnBjKMtL4wWgHdzrAk8Z3jKqSzzy
afT9oxKa9GNEsnHiHjm/+sG3pRV9U/W6YrInWgQ7ibDWy/ZJmUZzAjgkltifdJ49
wF5FQ2pgO4aJ4C5gT4pyOXrvdpJB6AraBFdsLlGgg++2I4ksnxnpWRQblpj7LR5I
qYDugFKg5miUTIGylt94L0YBtIBpr24Tg3NkhQ/gtrPotLRjvtfTE0yrRUMeskff
kJnod3yECess8Vp+7lP3j6aMBJoIXM7+XvMGsSQcZcC15Lmo5osvRy5I3OT8///S
qfbn/3z34QD7TznLO8+iMIMSNoe0aA==
=5AB/
-----END PGP SIGNATURE-----

Attachment: pgpuT2h7Y01gO.pgp
Description: PGP signature


--- End Message ---

Reply via email to