Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: invalid escape sequence #32

Closed
allistermaguire opened this issue May 12, 2024 · 4 comments
Closed

SyntaxWarning: invalid escape sequence #32

allistermaguire opened this issue May 12, 2024 · 4 comments

Comments

@allistermaguire
Copy link

With the inclusion of python 3.12 python/cpython#98401 in Home Assistant 2024.5.x, the following warnings are now appearing. home-assistant/core#116123

Logger: py.warnings
Source: components/envisalink/init.py:6
First occurred: 21:16:14 (2 occurrences)
Last logged: 21:16:14

/usr/local/lib/python3.12/site-packages/pyenvisalink/honeywell_client.py:70: SyntaxWarning: invalid escape sequence '^' parse = re.match('([%^].+)$', rawInput)
/usr/local/lib/python3.12/site-packages/pyenvisalink/dsc_client.py:101: SyntaxWarning: invalid escape sequence '\d' if re.match('\d\d:\d\d:\d\d\s', rawInput):

It looks like they are fixed in v5.0.0b1, but that has progressed for a while. Do you think we can get a v4.7 released in the interim?

@ufodone
Copy link
Owner

ufodone commented May 17, 2024

Yes, I'll try and get a 4.7 release out soon. I don't use the stock envisalink version in HA and so didn't seen the warnings.

@allistermaguire
Copy link
Author

Yes, I'll try and get a 4.7 release out soon. I don't use the stock envisalink version in HA and so didn't seen the warnings.

All good. Thank you @ufodone

@ufodone
Copy link
Owner

ufodone commented May 19, 2024

I've created a new 4.7 release and published it to PyPi. It's been a while since I've done this so let me know if there's any problem.

@allistermaguire
Copy link
Author

Hi @ufodone, yes 4.7 has been published. I have created HA PR here home-assistant/core#118086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants