diff -Nru paramiko-2.8.1/debian/changelog paramiko-2.8.1/debian/changelog --- paramiko-2.8.1/debian/changelog 2021-12-17 11:35:06.000000000 +0100 +++ paramiko-2.8.1/debian/changelog 2022-01-26 11:35:18.000000000 +0100 @@ -1,3 +1,10 @@ +paramiko (2.8.1-1ubuntu2) jammy; urgency=medium + + * d/p/thread-setdaemon-deprecation.patch: patch out a deprecation warning + with Python 3.10 + + -- Simon Chopin Wed, 26 Jan 2022 11:35:18 +0100 + paramiko (2.8.1-1ubuntu1) jammy; urgency=low * Merge from Debian unstable. Remaining changes: diff -Nru paramiko-2.8.1/debian/patches/series paramiko-2.8.1/debian/patches/series --- paramiko-2.8.1/debian/patches/series 2021-12-11 10:12:48.000000000 +0100 +++ paramiko-2.8.1/debian/patches/series 2022-01-26 11:33:16.000000000 +0100 @@ -1,2 +1,3 @@ remove_pytest_relaxed.patch PR1942.patch +thread-setdaemon-deprecation.patch diff -Nru paramiko-2.8.1/debian/patches/thread-setdaemon-deprecation.patch paramiko-2.8.1/debian/patches/thread-setdaemon-deprecation.patch --- paramiko-2.8.1/debian/patches/thread-setdaemon-deprecation.patch 1970-01-01 01:00:00.000000000 +0100 +++ paramiko-2.8.1/debian/patches/thread-setdaemon-deprecation.patch 2022-01-26 11:35:13.000000000 +0100 @@ -0,0 +1,16 @@ +Description: sftp_file: use Thread.daemon property instead of deprecated setDaemon +Author: Simon Chopin +Bug: https://github.com/paramiko/paramiko/issues/1838 +Forwarded: Not needed, already part of a bigger PR +Last-Update: 2022-01-26 +--- a/paramiko/sftp_file.py ++++ b/paramiko/sftp_file.py +@@ -527,7 +527,7 @@ + self._prefetch_done = False + + t = threading.Thread(target=self._prefetch_thread, args=(chunks,)) +- t.setDaemon(True) ++ t.daemon = True + t.start() + + def _prefetch_thread(self, chunks):