4997: rbtools/utils/appdirs.py: DeprecationWarning: invalid escape sequence

marcel

What version are you running?

4.0

What steps will reproduce the problem?

Run tests using pytest.

What is the expected output? What do you see instead?

No warning should be reported, but this one appears:

rbtools/utils/appdirs.py:100
$(@D)/rbtools/utils/appdirs.py:100: DeprecationWarning: invalid escape sequence \D
"""Return full path to the user-shared data dir for this application.

rbtools/utils/appdirs.py:206
$(@D)/rbtools/utils/appdirs.py:206: DeprecationWarning: invalid escape sequence \P
"""Return full path to the user-shared data dir for this application.

What operating system are you using?

NA

Attach the debug out from the command.

NA

Please provide any additional information below.

I believe the embeded appdirs should be updated from 1.4.0 to 1.4.4, see https://pypi.org/project/appdirs/

#1 marcel
  • -rbtools/utils/appdirs.py:100: DeprecationWarning: invalid escape sequence \D
    +rbtools/utils/appdirs.py:100: DeprecationWarning: invalid escape sequence
#2 marcel
  • -rbtools/utils/appdirs.py:100: DeprecationWarning: invalid escape sequence
    +rbtools/utils/appdirs.py: DeprecationWarning: invalid escape sequence