SyntaxWarning ( Python 3.12 )
I recently generated a new pycharm environment from scratch due to some weird issues that I had, and I was trying to use Python 3.12 ( just to see if the debugger is faster there )
Here I see some warnings that didn't show up until now:
These are already reported on #1379 (closed)
/home/dbeltran/python312_env/lib/python3.12/site-packages/paramiko/pkey.py:100: 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,
/home/dbeltran/python312_env/lib/python3.12/site-packages/paramiko/transport.py:259: 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,
What is weird is that I previously didn't receive these warnings in my ide, only when AS was deployed as a pip package ( must be some default setting ) .
And these are the new not reported:
/home/dbeltran/Autosubmit_source/autosubmit/autosubmit.py:3628: SyntaxWarning: invalid escape sequence '\Z'
title='\Zb\Z1Select path to database\Zn', colors='enable')
/home/dbeltran/Autosubmit_source/autosubmit/autosubmit.py:3646: SyntaxWarning: invalid escape sequence '\Z'
title='\Zb\Z1Select path to experiments repository\Zn',
/home/dbeltran/Autosubmit_source/autosubmit/autosubmit.py:3673: SyntaxWarning: invalid escape sequence '\Z'
title='\Zb\Z1Just a few more options:\Zn', colors='enable')
/home/dbeltran/Autosubmit_source/autosubmit/autosubmit.py:3709: SyntaxWarning: invalid escape sequence '\Z'
title='\Zb\Z1Mail notifications configuration:\Zn', colors='enable')
/home/dbeltran/Autosubmit_source/autosubmit/autosubmit.py:5988: SyntaxWarning: invalid escape sequence '\w'
command = 'ps -ef | grep "$(whoami)" | grep -oP "(?<=run )\w{4}" | sort -u'
Weirdly, they are shown randomly; sometimes, it does, and sometimes it doesn't.