Nov-27-2023, 05:34 PM
Just wondering if there is a switch to stop a deprecation notice like the one below?
(env) [root@RHEL8-20230921 pyeztest]# ./jnprtest.py
/home/serveradmin/code/python/pyeztest/env/lib64/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend
(env) [root@RHEL8-20230921 pyeztest]# ./jnprtest.py
/home/serveradmin/code/python/pyeztest/env/lib64/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend