Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Issues
  • #1395
Closed
Open
Issue created Aug 21, 2024 by dbeltran@dbeltranMaintainer

SyntaxWarning ( Python 3.12 )

Hello @bdepaula , @egarriga

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.

Assignee
Assign to
Time tracking