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

Migrate to Python 3.10 #649

Merged
merged 1 commit into from
Feb 6, 2023
Merged

Migrate to Python 3.10 #649

merged 1 commit into from
Feb 6, 2023

Conversation

KapJI
Copy link
Collaborator

@KapJI KapJI commented Feb 4, 2023

Home Assistant requires Python 3.10 now. Let's migrate as well.

  • Update versions of pre-commit hooks.
  • Move mypy and codespell configs to 'pyproject.toml'.
  • Update dev dependencies.

@KapJI KapJI added the refactoring Refactoring label Feb 4, 2023
@KapJI KapJI requested a review from leikoilja February 4, 2023 22:29
@KapJI KapJI added dependencies Pull requests that update a dependency file and removed refactoring Refactoring labels Feb 4, 2023
Copy link
Owner

@leikoilja leikoilja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you for bringing it up to speed 🚀

How do you keep an eye on things and bring them up to speed? Any advice or tricks? or do you just go into the change log of HA and go version by version? 🤔

@KapJI
Copy link
Collaborator Author

KapJI commented Feb 6, 2023

I try to read change log semi-regularly and sometimes I see user reports about legacy stuff we're using. Also sometimes I see something breaks in automated updates of homeassistant-stubs.

Can you update branch protection rule here as well?

@leikoilja leikoilja merged commit 23b11e3 into leikoilja:master Feb 6, 2023
@KapJI KapJI deleted the python-3.10 branch February 6, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants