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

Adding beta flag in master branch causes old releases to break #4183

Open
8 tasks done
fcusson opened this issue Nov 5, 2024 · 1 comment
Open
8 tasks done

Adding beta flag in master branch causes old releases to break #4183

fcusson opened this issue Nov 5, 2024 · 1 comment
Labels
Missing required issue information Added to issues with missing information from the issue template

Comments

@fcusson
Copy link

fcusson commented Nov 5, 2024

System Health details

System Information

version core-2024.10.4
installation_type Unknown
dev false
hassio false
docker false
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 4.18.0-553.16.1.el8_10.x86_64
arch x86_64
timezone America/Toronto
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4993
Installed Version 2.0.1
Stage running
Available Repositories 1464
Downloaded Repositories 68
Home Assistant Cloud
logged_in true
subscription_expiration 16 novembre 2024 à 19:00
relayer_connected true
relayer_region us-east-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server us-east-1-0.ui.nabu.casa
certificate_status ready
instance_id 13927c3a6f7b4c7caf70c8c63a17bbcf
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 11
resources 31
views 48
mode storage
Recorder
oldest_recorder_run 1 novembre 2024 à 10:52
current_recorder_run 4 novembre 2024 à 15:32
estimated_db_size 738.36 MiB
database_engine sqlite
database_version 3.45.3
Spotify
api_endpoint_reachable pending

Checklist

  • I'm running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/help/issues/
  • This issue is related to the backend (integration part) of HACS.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This is a bug and not a feature request.
  • This issue is not a duplicate issue of currently open or issues pending release.

Describe the issue

If an integration makes a new releae that targets beta or newer version. The integration becomes impossible to install even for older release that do not have a beta target

Reproduction steps

  1. Make a release that targets a beta versio per example 2024.11.0b0
  2. Try to install or update the integration using an older version

Note that the minimal Home Assistant version for the older version is valid for your current Home Assistant install. The error message doesn't specify a version problem just an incompatibility. Removing the b0 in the hacs.json file in the master branch resolves the issue, even if no releases were changed. The content of the master branch should not impact releases. Some development workflow like continuous improvement will have beta content in the master branch and should be expected to not match the release content.

Debug logs

2024-11-04 12:15:16.896 INFO (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Running pre installation steps
2024-11-04 12:15:16.896 INFO (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Pre installation steps completed
2024-11-04 12:15:16.896 INFO (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Running installation steps
2024-11-04 12:15:16.896 DEBUG (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Getting repository information
2024-11-04 12:15:16.986 DEBUG (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Did not update, content was not modified
2024-11-04 12:15:16.986 ERROR (MainThread) [custom_components.hacs] <Integration fondberg/spotcast> Downloading fondberg/spotcast with version v3.9.0 failed with (The version of Home Assistant is not compatible with this version)

Diagnostics dump

No response

@fcusson fcusson added the issue:backend For issues with the backend/integration label Nov 5, 2024
@hacs-bot
Copy link

hacs-bot bot commented Nov 5, 2024

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

@ludeeus ludeeus added Missing required issue information Added to issues with missing information from the issue template and removed issue:backend For issues with the backend/integration labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing required issue information Added to issues with missing information from the issue template
Projects
None yet
Development

No branches or pull requests

2 participants