Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

DeprecationWarning: invalid escape sequence #87

Open
jamieshaw opened this issue Sep 20, 2020 · 0 comments
Open

DeprecationWarning: invalid escape sequence #87

jamieshaw opened this issue Sep 20, 2020 · 0 comments

Comments

@jamieshaw
Copy link

For a while I've been seeing the following errors when checking my Home Assistant configuration or restarting the server – I've finally got around to tracing it down to the Office 365 custom_component.

The logs initially are riddled with deprecation warnings regarding lexer.py:

/home/administrator/.pyenv/versions/3.7.5/envs/homeassistant/lib/python3.7/site-packages/jinja2/lexer.py:648: DeprecationWarning: invalid escape sequence '\s'
  .decode("unicode-escape")
/home/administrator/.pyenv/versions/3.7.5/envs/homeassistant/lib/python3.7/site-packages/jinja2/lexer.py:648: DeprecationWarning: invalid escape sequence '\D'
  .decode("unicode-escape")
/home/administrator/.pyenv/versions/3.7.5/envs/homeassistant/lib/python3.7/site-packages/jinja2/lexer.py:648: DeprecationWarning: invalid escape sequence '\D'
  .decode("unicode-escape")
/home/administrator/.pyenv/versions/3.7.5/envs/homeassistant/lib/python3.7/site-packages/jinja2/lexer.py:648: DeprecationWarning: invalid escape sequence '\d'
  .decode("unicode-escape")

This has been for the past few versions of HA, but my current config is as follows:

  • Home Assistant Core 0.115.2
  • Python 3.7.5 (pyenv)
  • HACS 1.6.0
  • O365 2.1.8
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant