Version in base suite: 0.10.2-2 Base version: python-pyspnego_0.10.2-2 Target version: python-pyspnego_0.10.2-2+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/p/python-pyspnego/python-pyspnego_0.10.2-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/p/python-pyspnego/python-pyspnego_0.10.2-2+deb13u1.dsc changelog | 7 +++++++ patches/0001-Fix-deprecation-warning.patch | 29 +++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 37 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpw8i_awqg/python-pyspnego_0.10.2-2.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpw8i_awqg/python-pyspnego_0.10.2-2+deb13u1.dsc: no acceptable signature found diff -Nru python-pyspnego-0.10.2/debian/changelog python-pyspnego-0.10.2/debian/changelog --- python-pyspnego-0.10.2/debian/changelog 2024-05-14 09:46:13.000000000 +0000 +++ python-pyspnego-0.10.2/debian/changelog 2026-01-09 14:35:06.000000000 +0000 @@ -1,3 +1,10 @@ +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) + + -- Lee Garrett Fri, 09 Jan 2026 15:35:06 +0100 + python-pyspnego (0.10.2-2) unstable; urgency=medium * Rebuilt source-only. diff -Nru python-pyspnego-0.10.2/debian/patches/0001-Fix-deprecation-warning.patch python-pyspnego-0.10.2/debian/patches/0001-Fix-deprecation-warning.patch --- python-pyspnego-0.10.2/debian/patches/0001-Fix-deprecation-warning.patch 1970-01-01 00:00:00.000000000 +0000 +++ python-pyspnego-0.10.2/debian/patches/0001-Fix-deprecation-warning.patch 2026-01-09 14:33:35.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Fix deprecation warning on import +Author: Jordan Borean +Origin: backport, https://github.com/jborean93/pyspnego/pull/87 +Forwarded: not-needed +Reviewed-by: Lee Garrett +Last-Update: 2026-01-09 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +diff --git a/src/spnego/_ntlm_raw/crypto.py b/src/spnego/_ntlm_raw/crypto.py +index fe1135a..39661f0 100644 +--- a/src/spnego/_ntlm_raw/crypto.py ++++ b/src/spnego/_ntlm_raw/crypto.py +@@ -20,7 +20,15 @@ import struct + import typing + + from cryptography.hazmat.backends import default_backend +-from cryptography.hazmat.primitives.ciphers import Cipher, algorithms ++from cryptography.hazmat.primitives.ciphers import Cipher ++ ++try: ++ # cryptography 43.0.0 and later moved ARC4 to decrepit ++ from cryptography.hazmat.decrepit.ciphers import algorithms ++except ImportError: ++ from cryptography.hazmat.primitives.ciphers import ( # type: ignore[no-redef] ++ algorithms, ++ ) + + from spnego._ntlm_raw.des import DES + from spnego._ntlm_raw.md4 import md4 diff -Nru python-pyspnego-0.10.2/debian/patches/series python-pyspnego-0.10.2/debian/patches/series --- python-pyspnego-0.10.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ python-pyspnego-0.10.2/debian/patches/series 2026-01-09 14:33:35.000000000 +0000 @@ -0,0 +1 @@ +0001-Fix-deprecation-warning.patch