pyeve / cerberus

Lightweight, extensible data validation library for Python
http://python-cerberus.org
ISC License
3.16k stars 238 forks source link

Python 3.12 - SyntaxWarning #614

Open adasup opened 7 months ago

adasup commented 7 months ago

After upgrade to python 3.12 a got this SyntaxWarning in log.

/usr/local/lib/python3.12/site-packages/cerberus/errors.py:157: SyntaxWarning: invalid escape sequence '*' """ /usr/local/lib/python3.12/site-packages/cerberus/errors.py:185: SyntaxWarning: invalid escape sequence '*' """

Darnethal0z commented 6 months ago

Hi,

Got the same warning here with XBPS :

Byte-compiling python code in usr/lib/python3.12...                                                                  
./usr/lib/python3.12/site-packages/cerberus/errors.py:157: SyntaxWarning: invalid escape sequence '\*'               
  """                                                                                                                
./usr/lib/python3.12/site-packages/cerberus/errors.py:185: SyntaxWarning: invalid escape sequence '\*'               
  """                                                                                                                
./usr/lib/python3.12/site-packages/cerberus/errors.py:157: SyntaxWarning: invalid escape sequence '\*'               
  """                                                                                                                
./usr/lib/python3.12/site-packages/cerberus/errors.py:185: SyntaxWarning: invalid escape sequence '\*'               
  """     
...
abe-101 commented 2 months ago

Getting the same warning