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
Fix keyboard_remote for python 3.11 #94570
Fix keyboard_remote for python 3.11 #94570
Conversation
Hey there @bendavid, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Hi ssh terminal: |
@cobcoben This is not really the place for getting support on how to run custom components. Please use our community forums for such questions instead. Thanks! 👍 ../Frenck |
Yes, you're right; I was too fast and went to the wrong place! |
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
added: from __future__ import annotations
e1553f6
to
12b7913
Compare
@MartinHjelmare can you approve the last changes made? The only test that fails seems to be from a dependency unrelated to this integration and PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Our infrastructure will build wheels for evdev
after this PR is merged.
* started work to update keyboard_remote to work with python 3.11 * updated function names * all checks pass * fixed asyncio for python 3.11 * cleanup * Update homeassistant/components/keyboard_remote/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update __init__.py added: from __future__ import annotations * Fix typing --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Breaking change
Proposed change
With the upgrade to Python 3.11 the
keyboard_remote
integration broke.This PR changes the underlying library from
aionotify
which lacked python 3.11 support toasyncinotify
which is fully supported.Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: