Deprecation warning in Fabric 1.15 - Paramiko 2.12.0
Author: newearthmartinCreated Oct 1, 2024Updated Aug 10, 2026
LabelsPackagingSupportNeeds investigation
Recently these deprecation warnings started appearing when running fab:
.../paramiko/pkey.py:82: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
.../paramiko/transport.py:253: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,I just started seeing this when I upgraded Python to 3.12.6
Paramiko 3.3.2 and 3.4.1 already fixed this although Fabric 1 still uses Paramiko < 3.
Source: fabric/fabric