Skip to content

Hide cryptography 37.0.0 deprecation warnings (upstream patch) (Closes: #1069811)

Nicolas Schier requested to merge (removed):debian/master into debian/master

Import upstream patch 40da3934ef7b041 ("Hide cryptography 37.0.0 deprecation warnings", 2022-04-29) to prevent warnings during import of asyncssh, as currently visible on an up-to-date Debian testing system:

$ python3 -c 'import asyncssh'
/usr/lib/python3/dist-packages/asyncssh/crypto/cipher.py:29: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release
  from cryptography.hazmat.primitives.ciphers.algorithms import Blowfish, CAST5
/usr/lib/python3/dist-packages/asyncssh/crypto/cipher.py:29: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release
  from cryptography.hazmat.primitives.ciphers.algorithms import Blowfish, CAST5
/usr/lib/python3/dist-packages/asyncssh/crypto/cipher.py:30: CryptographyDeprecationWarning: SEED has been deprecated and will be removed in a future release
  from cryptography.hazmat.primitives.ciphers.algorithms import SEED, TripleDES

Signed-off-by: Nicolas Schier nicolas@fjasle.eu

Merge request reports

Loading