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

Bump minimum HA version to 2024.4.1 #3672

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

emontnemery
Copy link
Contributor

@emontnemery emontnemery commented May 7, 2024

In this PR:

  • Bump minimum HA version to 2024.4.1
  • Bump Python version when running pytest for minimum version
  • Update the async_test_home_assistant_min_version test helper with changes in HA Core 2024.4.1
  • Adjusts versions of Pillow and SQLAlchemy used in tests to be compatible with HA Core 2024.4.1
  • Bump HA version in hacs.json

These adjustments are kept for separate PRs:

  • Bump Python version in devcontainer
  • Bump HA version in validate workflow
  • Adjust workarounds in tests which are no longer needed when the minimum version is 2024.4.0

@emontnemery emontnemery force-pushed the bump_min_ha_version_2024.4.0 branch from ea8df14 to 7fb8de8 Compare May 7, 2024 15:07
@emontnemery emontnemery force-pushed the bump_min_ha_version_2024.4.0 branch from 11e088b to 6fb0b21 Compare May 7, 2024 15:31
homeassistant==2023.6.0
# https://github.com/home-assistant/core/blob/2024.4.0/homeassistant/components/frontend/manifest.json
home-assistant-frontend==20240403.1
homeassistant==2024.4.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
homeassistant==2024.4.0
homeassistant==2024.4.1

This also needs to be adjusted in hacs.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 92d117a

@@ -299,14 +307,14 @@ def async_add_executor_job(target, *args):

return orig_async_add_executor_job(target, *args)

def async_create_task(coroutine, name=None):
def async_create_task(coroutine, name=None, eager_start=False):
Copy link
Member

Choose a reason for hiding this comment

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

This should be true if the core is > 2024.5.0, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, updated here: #3673

tests/common.py Outdated Show resolved Hide resolved
@emontnemery emontnemery changed the title Bump minimum HA version to 2024.4.0 Bump minimum HA version to 2024.4.1 May 8, 2024
@emontnemery emontnemery force-pushed the bump_min_ha_version_2024.4.0 branch from 321183e to 92d117a Compare May 10, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants