GithubHelp home page GithubHelp logo

oref_alert's Introduction

Oref Alert

HACS Badge

GitHub Release

Download Analytics

Project Maintenance

Hebrew demos of the installation, configuration and usage can be found here: part1, part2, part3. A blog post with Hebrew instructions can be found here. A blog post with Russian instructions can be found here.

The integration provides binary_sensor.oref_alert which turns on when an alert is reported by the Israeli National Emergency Portal (Pikud Haoref). The sensor monitors the alerts in the user selected areas. An alert is considered active for a certain period of time as configured by the user (10 minutes by default). The integration is installed and configured via the user interface. There is no YAML or templates involved.

Install

HACS is the preferred and easier way to install the component. When HACS is installed, the integration can be installed using this My button:

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Otherwise, download oref_alert.zip from the latest release, extract and copy the content under custom_components directory.

Home Assistant restart is required once the integration files are copied (either by HACS or manually).

The integration should also be added to the configuration. This can be done via this My button:

Open your Home Assistant instance and start setting up a new integration.

The setup identifies the area according to the Home location in the Zones settings (the latitude and longitude coordinates). If the detection fails, the user is asked to select the area manually.

Once the component is installed, it's possible to control additional parameters using the Configure dialog which can be accessed via this My button:

Open your Home Assistant instance and show an integration.

There are 5 configuration fields:

  1. Selected areas: list of areas to monitor. It's also possible to select a district (מחוז) and all-areas (כל האזורים) for cities with sub-areas.
  2. Active duration of an alert: this is the alert's active time period (in minutes). The default is 10 minutes.
  3. Update frequency: the time to wait between updates of the sensor (in seconds). The default is 2 seconds.
  4. On icon: the icon to be used when there are active alerts in one of the selected areas. This is the icon which is displayed when the state of the binary sensor is "on".
  5. Off icon: the icon to be used when the state of the binary sensor is "off".

All Areas Sensor

binary_sensor.oref_alert_all_areas is an additional sensor monitoring any active alert in the country. The sensor is on when there is one or more active alerts in Israel.

Additional Sensors

It's possible to create additional sensors using the service oref_alert.add_sensor. The service can be accessed via this My button:

Open your Home Assistant instance and show your service developer tools with a specific service selected.

The selected areas of an additional sensor can be different (non overlapping) than the primary sensor. Additional sensors can be re-added (with the same name) for overriding their configuration (there is no edit page).

The service oref_alert.remove_sensor can be used for deleting an additional sensor. The service can be accessed via this My button:

Open your Home Assistant instance and show your service developer tools with a specific service selected.

Note: additional sensors created before v2.2.0 use a different implementation. It's better to delete such entities and to create new sensors using the new functionality (old sensors are not broken and can be used).

Additional Attributes

All sensors have the following extra attributes:

  1. Areas: the list of areas provided by the user.
  2. Alert active duration: as configured by the user.
  3. Selected areas active alerts: when the sensor is on, the alerts are listed here.
  4. Selected areas alerts: active and inactive alerts in the selected areas.
  5. Country active alerts: all active alerts in Israel.
  6. Country alerts: all alerts in Israel.

Time To Shelter Sensors

The integration creates an additional set of sensors which monitor the time to shelter for a specific area. The ID of the entity is similar to the corresponding binary sensor, with the suffix of _time_to_shelter. For example, sensor.oref_alert_time_to_shelter. When there is a new alert in the area, the state of the sensor is set according to the instructions of Pikud Haoref for the selected area (e.g. 90 seconds in the middle of Israel). The state of the sensor decrements as time passes, and it becomes unknown once it reaches -60 seconds (one minute past due). The sensor has the following extra attributes:

  1. Area: the name of the area.
  2. Time to shelter: as provided by Pikud Haoref for the selected area (constant value).
  3. Alert: the active alert (when there is such).

Note: this sensor is not created when the configuration contains multiple areas or groups (e.g. cities with multiple areas or districts). It's possible in such a case to create an additional sensor configuration for the specific area of interest by using the service oref_alert.add_sensor.

Alert End Time Sensors

The integration creates an additional set of sensors which monitor the time to the end of the alert for a specific area. The ID of the entity is similar to the corresponding binary sensor, with the suffix of _end_time. For example, sensor.oref_alert_end_time. When there is a new alert in the area, the state of the sensor is set according to the Alert active duration as configured by the user (default is 10 minutes). The state of the sensor decrements as time passes, and it becomes unknown once the alert is off. The sensor has the following extra attributes:

  1. Area: the name of the area.
  2. Alert active duration: as configured by the user.
  3. Alert: the active alert (when there is such).

Note: this sensor is not created when the configuration contains multiple areas or groups (e.g. cities with multiple areas or districts). It's possible in such a case to create an additional sensor configuration for the specific area of interest by using the service oref_alert.add_sensor.

Geo Location Entities

Geo-location entities are created for every active alert in Israel (regardless of the selected areas). These entities exist while the corresponding alert is active (10 minutes by default). The map card can be used to present the entities on a map. oref_alert should be added to geo_location_sources, and auto_fit should be set to true:

type: map
entities: []
auto_fit: true
geo_location_sources:
  - oref_alert

This will create a map presenting all active alerts in Israel:

image

(Below you can find a another explanation on how to add a textual element for the data.)

Synthetic Alert

Synthetic alerts are useful for testing purposes. The service oref_alert.synthetic_alert can be used to create a synthetic alert. The service can be accessed via this My button:

Open your Home Assistant instance and show your service developer tools with a specific service selected.

Note: a synthetic alert is an additional alert. It doesn't override or hide any other alert. A synthetic alert disappears after the amount of seconds supplied to the custom service. This is different from a regular alert which disappears only after 24 hours.

Usages

The basic usage is to trigger an automation rule when the binary sensor is turning on. Some ideas for the actions section can be: play a song (can be less stressful when choosing the right song and setting the volume properly), open the lights and TV in the shelter, etc'. It's also possible to trigger an alert when the sensor is turning off for getting an indication when it's safe to get out of the shelter.

Below are a few more examples:

Coloring State Icons

type: entities
entities:
  - entity: binary_sensor.oref_alert
    card_mod:
      style: |
        :host {
          --state-binary_sensor-on-color: red;
          --state-binary_sensor-off-color: green;
          }

image

Note that it depends on the installation of card-mod lovelace custom component.

Presenting Active Alerts in Israel

Here is a simple markdown card for presenting all active alerts (the list is based on this file):

type: markdown
content: >-
  {% set icons = {
    1: "rocket-launch",
    2: "airplane-alert",
    3: "chemical-weapon",
    4: "alert",
    5: "firework",
    6: "firework",
    7: "earth",
    8: "earth",
    9: "nuke",
    10: "shield-home",
    11: "home-flood",
    12: "biohazard",
    13: "update",
    14: "flash-alert",
    15: "alert-circle-check",
    16: "alert-circle-check",
    17: "alert-circle-check",
    18: "alert-circle-check",
    19: "alert-circle-check",
    20: "alert-circle-check",
    21: "alert-circle-check",
    22: "alert-circle-check",
  } %}
  {% for alert in (state_attr('binary_sensor.oref_alert', 'country_active_alerts') or []) %}
    <p>
      <font color="red"><ha-icon icon="mdi:{{ icons.get(alert['category'], 'alert') }}"></ha-icon></font>
      {{ alert['data'] }}
      [{{ alert['title'] }}]
      ({{ alert['alertDate'] | as_timestamp | timestamp_custom('%H:%M:%S') }})
    </p>
  {% endfor %}
card_mod:
  style: |
    ha-card {
      direction: rtl;
    }

(The card_mod section at the bottom is only required when the language is English. It forces RTL for this element. Note that it depends on the installation of card-mod lovelace custom component.)

image

Mobile Notifications

Here is an advanced usage for getting mobile notifications on any alert in the country:

alias: Oref Alert Country Notifications
id: oref_alert_country_notifications
trigger:
  - platform: state
    entity_id: binary_sensor.oref_alert
    attribute: country_active_alerts
action:
  - variables:
      current: "{{ state_attr('binary_sensor.oref_alert', 'country_active_alerts') | map(attribute='data') | list }}"
      previous: "{{ trigger.from_state.attributes.country_active_alerts | map(attribute='data') | list }}"
      alerts: "{{ current | reject('in', previous) | unique | sort | list }}"
  - condition: "{{ alerts | length > 0 }}"
  - service: notify.mobile_app_amits_iphone
    data:
      message: "התרעות פיקוד העורף: {{ alerts | join(' | ') }}"
mode: queued

Time To Shelter Countdown

Here is another advanced usage for counting down (every 5 seconds) the time to shelter:

alias: Oref Alert Time To Shelter Countdown
id: oref_alert_time_to_shelter_countdown
trigger:
  - platform: state
    entity_id: sensor.oref_alert_time_to_shelter
action:
  - variables:
      time_to_shelter: "{{ states('sensor.oref_alert_time_to_shelter') | int(-1) }}"
  - condition: "{{ time_to_shelter >= 0 and time_to_shelter % 5 == 0}}"
  - service: tts.google_translate_say
    data:
      entity_id: media_player.shelter_speaker
      language: iw
      message: "{{ time_to_shelter }}"
mode: queued

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

Acknowledgements

  • Thanks to Gugulator for the Russian translation as well as many great ideas during our brainstorming sessions.

oref_alert's People

Contributors

amitfin avatar dependabot[bot] avatar tsvi avatar yuvalabou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

oref_alert's Issues

Config flow error

System Health details

System Information

version core-2024.4.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.20-haos
arch x86_64
timezone Asia/Jerusalem
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4961
Installed Version 1.34.0
Stage running
Available Repositories 1402
Downloaded Repositories 33
HACS Data ok
AccuWeather
can_reach_server ok
remaining_requests 45
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.1
update_channel stable
supervisor_version supervisor-2024.03.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 30.8 GB
disk_used 8.1 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons AppDaemon (0.16.4), File editor (5.8.0), ESPHome (2024.3.1), Assist Microphone (1.2.0), Cloudflared (5.1.7), Tailscale (0.17.0), Simple Scheduler (2.5), Grocy (0.21.0), Node-RED (17.0.11), Samba share (12.3.1), Terminal & SSH (9.10.0), Zigbee2MQTT (1.36.1-1), Mosquitto broker (6.4.0)
Dashboards
dashboards 31
resources 16
views 74
mode storage
Recorder
oldest_recorder_run 27 March 2024 at 01:25
current_recorder_run 4 April 2024 at 00:14
estimated_db_size 41.73 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

When trying to install the integration after download in HACS an error appears stating "Config flow could not be loaded: unknown error"

config flow

Reproduction steps

  1. Download and install integration via HASS
  2. Attempt to configure via settings -> integrations

Debug logs

not available

Diagnostics dump

No response

Repository amitfin/oref_alert not found

System Health details

...

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

Fail to add the repo in HACS from the button:
image

Getting:
image

image

Reproduction steps

  1. Click on:
    image

  2. Follow the flow..

Debug logs

nothing related

Diagnostics dump

No response

Multiple sensors

This is a great initiative - thanks!

It would be great if there can be multiple entries (i.e. multiple sensors) so that different areas can be responded to differently. An example use case might be to flash lights for one area but only have a silent notification for a different area.

דיליי מרגע האזעקה בפועל לשינוי מצב בהום אססיסטנט

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Asia/Jerusalem
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1409
Downloaded Repositories 71
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 57.8 GB
disk_used 41.7 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Studio Code Server (5.15.0), Zigbee2MQTT (1.36.1-1), Terminal & SSH (9.13.0), Samba share (12.3.1), ESPHome (2024.4.0), Cloudflared (5.1.8), Advanced SSH & Web Terminal (17.2.0), eWeLink Smart Home (1.4.3), Piper (1.5.0), Whisper (2.0.0), openWakeWord (1.10.0), MariaDB (2.7.0), Frigate (0.13.2), AppDaemon (0.16.4), ESPresense Companion (0.6.5)
Dashboards
dashboards 14
resources 49
views 105
mode storage
Recorder
oldest_recorder_run October 30, 2023 at 3:00 AM
current_recorder_run April 18, 2024 at 5:00 AM
estimated_db_size 5285.40 MiB
database_engine sqlite
database_version 3.44.2
Sonoff
version 3.7.0 (c8605e3)
cloud_online 0 / 2
local_online 1 / 1

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

שמענו את האזעקה ואז רק אחרי שנכנסו לממד האוטומציה למקרה חירום פעלה (דיליי של 10 שניות בערך)

Reproduction steps

.

Debug logs

המקרה קרה ביום של האזעקות בכל הארץ ב2 בלילה...

Diagnostics dump

No response

Can't setup integration installed through HACS - Error loading shared library libgeos_c

System Health details

System Information

version core-2024.1.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.63-haos-raspi
arch armv7l
timezone Asia/Jerusalem
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4870
Installed Version 1.34.0
Stage running
Available Repositories 1380
Downloaded Repositories 18
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.4
update_channel stable
supervisor_version supervisor-2023.12.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 57.8 GB
disk_used 6.9 GB
healthy true
supported true
board rpi2
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.15.0), Mosquitto broker (6.4.0), File editor (5.7.0), Node-RED (17.0.3), Zigbee2MQTT (1.35.1-1), Samba share (12.2.0), Terminal & SSH (9.8.1), Home Assistant Google Drive Backup (0.112.1), AirCast (4.2.0)
Dashboards
dashboards 2
resources 9
views 4
mode storage
Recorder
oldest_recorder_run January 13, 2024 at 4:46 PM
current_recorder_run January 22, 2024 at 12:02 AM
estimated_db_size 272.39 MiB
database_engine sqlite
database_version 3.41.2
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

After installing the integration through HACS and trying to enable it, the config flow fails to start with this error:
Config flow could not be loaded: {"message":"Invalid handler specified"}

Checking the HA logs shows:

Logger: homeassistant.config_entries
Source: config_entries.py:2087
First occurred: 12:04:08 AM (1 occurrences)
Last logged: 12:04:08 AM

Error occurred loading flow for integration oref_alert: Error loading shared library libgeos_c-399df723.so.1.17.2: No such file or directory (needed by /usr/local/lib/python3.11/site-packages/shapely/lib.cpython-311-arm-linux-musleabihf.so)

Reproduction steps

  • Install through HACS
  • Attempt to enable integration

Debug logs

2024-01-21 20:59:15.046 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration oref_alert: Error loading shared library libgeos_c-399df723.so.1.17.2: No such file or directory (needed by /usr/local/lib/python3.11/site-packages/shapely/lib.cpython-311-arm-linux-musleabihf.so)


### Diagnostics dump

_No response_

Alert has an unrecognized area: 'ביר הדאג

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.24-v8+
arch aarch64
timezone Asia/Jerusalem
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4988
Installed Version 1.34.0
Stage running
Available Repositories 1401
Downloaded Repositories 29
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 6
resources 17
views 9
mode yaml
Recorder
oldest_recorder_run April 4, 2024 at 10:54
current_recorder_run April 14, 2024 at 16:16
estimated_db_size 99.50 MiB
database_engine mysql
database_version 11.3.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Hi!
The Oref integration started generating the log below:

This error originated from a custom integration.

Logger: custom_components.oref_alert
Source: custom_components/oref_alert/coordinator.py:94
integration: Oref Alert (documentation, issues)
First occurred: 17:25:04 (82 occurrences)
Last logged: 17:27:46

Alert has an unrecognized area: 'ביר הדאג

Reproduction steps

  1. Send hundreds of iranian missiles to Israel

...

Debug logs

2024-04-14 17:43:13.631 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration oref_alert which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-04-14 17:43:19.510 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'zha', 'schedule', 'cast', 'xiaomi_miot', 'homeassistant_alerts', 'telegram_bot', 'lovelace', 'jewish_calendar', 'input_boolean', 'sensor', 'config', 'person', 'workday', 'rpi_power', 'diagnostics', 'image_upload', 'application_credentials', 'input_select', 'system_health', 'sun', 'blueprint', 'webrtc', 'ims', 'light', 'miwifi', 'counter', 'version', 'file_upload', 'analytics', 'yi_hack', 'script', 'mobile_app', 'xiaomi_miio', 'yeelight', 'qnap', 'energy', 'template', 'backup', 'geo_location', 'hardware', 'binary_sensor', 'stream', 'group', 'openexchangerates', 'upnp', 'shell_command', 'conversation', 'my', 'switch', 'google', 'samsungtv_smart', 'xiaomi_aqara', 'auth', 'zone', 'tag', 'notify', 'dlna_dms', 'sql', 'input_button', 'uptime', 'fan', 'scene', 'device_automation', 'wake_on_lan', 'persistent_notification', 'rest_command', 'automation', 'input_text', 'watchman', 'esphome', 'onboarding', 'tts', 'adaptive_lighting', 'shopping_list', 'media_source', 'stt', 'systemmonitor', 'ffmpeg', 'hacs', 'assist_pipeline', 'input_number', 'morph_numbers', 'timer', 'xiaomi_gateway3', 'history', 'moon', 'radio_browser', 'search', 'logbook', 'ssh_command', 'openweathermap', 'map', 'mqtt', 'wake_word', 'input_datetime', 'oref_alert', 'trace', 'presence_simulation', 'default_config', 'device_tracker'}

2024-04-14 17:43:30.111 INFO (MainThread) [homeassistant.setup] Setting up oref_alert
2024-04-14 17:43:30.111 INFO (MainThread) [homeassistant.setup] Setup of domain oref_alert took 0.00 seconds

2024-04-14 17:43:30.289 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:43:30.290 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.178 seconds (success: True)

2024-04-14 17:43:41.927 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up oref_alert.binary_sensor
2024-04-14 17:43:41.934 INFO (MainThread) [homeassistant.components.sensor] Setting up oref_alert.sensor
2024-04-14 17:43:41.937 INFO (MainThread) [homeassistant.components.geo_location] Setting up oref_alert.geo_location

2024-04-14 17:43:43.673 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:43:43.674 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.114 seconds (success: True)

2024-04-14 17:43:45.652 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:43:45.652 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.092 seconds (success: True)

2024-04-14 17:43:47.627 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:43:47.628 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.066 seconds (success: True)

2024-04-14 17:43:50.307 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:43:50.307 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.625 seconds (success: True)

2024-04-14 17:44:54.645 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:44:54.645 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.068 seconds (success: True)
2024-04-14 17:44:56.595 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:44:56.596 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.036 seconds (success: True)
2024-04-14 17:44:58.593 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:44:58.593 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.033 seconds (success: True)
2024-04-14 17:45:00.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:00.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)

2024-04-14 17:45:02.585 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:02.586 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.026 seconds (success: True)

2024-04-14 17:45:04.583 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:04.584 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.025 seconds (success: True)

2024-04-14 17:45:10.580 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:10.581 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.254 seconds (success: True)

2024-04-14 17:45:12.658 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:12.658 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.098 seconds (success: True)

2024-04-14 17:45:14.634 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:14.634 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.045 seconds (success: True)

2024-04-14 17:45:16.586 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:16.586 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.024 seconds (success: True)
2024-04-14 17:45:18.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:18.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)

2024-04-14 17:45:20.582 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:20.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)

2024-04-14 17:45:22.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:22.581 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)
2024-04-14 17:45:24.579 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:24.580 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.020 seconds (success: True)
2024-04-14 17:45:26.597 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:26.597 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.037 seconds (success: True)

2024-04-14 17:45:28.580 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:28.580 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.021 seconds (success: True)
2024-04-14 17:45:30.583 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:30.583 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.023 seconds (success: True)
2024-04-14 17:45:32.582 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:32.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)
2024-04-14 17:45:34.597 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:34.598 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.037 seconds (success: True)
2024-04-14 17:45:36.588 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:36.589 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.030 seconds (success: True)
2024-04-14 17:45:38.593 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:38.594 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.034 seconds (success: True)
2024-04-14 17:45:40.586 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:40.586 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.023 seconds (success: True)
2024-04-14 17:45:42.592 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:42.592 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.033 seconds (success: True)

2024-04-14 17:45:44.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:44.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)

2024-04-14 17:45:46.592 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:46.593 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.033 seconds (success: True)
2024-04-14 17:45:48.584 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:48.584 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.024 seconds (success: True)

2024-04-14 17:45:50.587 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:50.587 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.028 seconds (success: True)

2024-04-14 17:45:52.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:45:52.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.022 seconds (success: True)

2024-04-14 17:50:46.598 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:46.599 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.039 seconds (success: True)

2024-04-14 17:50:48.592 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:48.593 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.034 seconds (success: True)

2024-04-14 17:50:50.583 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:50.584 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.024 seconds (success: True)

2024-04-14 17:50:52.598 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:52.599 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.039 seconds (success: True)

2024-04-14 17:50:54.589 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:54.590 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.031 seconds (success: True)

2024-04-14 17:50:56.588 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:56.588 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.027 seconds (success: True)

2024-04-14 17:50:58.586 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:50:58.586 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.026 seconds (success: True)

2024-04-14 17:51:00.581 ERROR (MainThread) [custom_components.oref_alert] Alert has an unrecognized area: 'ביר הדאג
2024-04-14 17:51:00.582 DEBUG (MainThread) [custom_components.oref_alert] Finished fetching oref_alert data in 0.023 seconds (success: True)

Diagnostics dump

No response

Failed to set up

System Health details

Version | core-2022.6.0
Installation Type | Home Assistant Core
Development | false
Supervisor | false
Docker | false
User | homeassistant
Virtual Environment | true
Python Version | 3.9.2
Operating System Family | Linux
Operating System Version | 5.10.43
CPU Architecture | aarch64
Timezone | Asia/Jerusalem

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

The integration fails with error

Reproduction steps

  1. Install from HACS
  2. Configur inegration

...

Debug logs

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/oref_alert/__init__.py:11
Integration: oref_alert (documentation, issues)
First occurred: 8:15:30 PM (1 occurrences)
Last logged: 8:15:30 PM

Error setting up entry Oref Alert for oref_alert
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 339, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/home/homeassistant/.homeassistant/custom_components/oref_alert/__init__.py", line 11, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(
AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups'

Diagnostics dump

No response

Issue with installing shapely dependency after updating to the latest version

System Health details

System Information

version core-2023.10.5
installation_type Unsupported Third Party Container
dev false
hassio false
docker true
user abc
virtualenv true
python_version 3.11.6
os_name Linux
os_version 5.4.0-169-generic
arch x86_64
timezone Asia/Jerusalem
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4575
Installed Version 1.33.0
Stage running
Available Repositories 1358
Downloaded Repositories 8
Dashboards
dashboards 4
resources 3
views 12
mode storage
Recorder
oldest_recorder_run December 15, 2023 at 3:31 PM
current_recorder_run December 24, 2023 at 10:45 PM
estimated_db_size 55.95 MiB
database_engine sqlite
database_version 3.41.2
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Error while HA is starting up and trying to install dependencies

Reproduction steps

  1. Home Assistant 2023.10.5
  2. Update to the latest version (2.10.0)
  3. Encounter error

Debug logs

2023-12-24 22:45:52.450 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package shapely==2.0.2: error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [300 lines of output]
      Collecting Cython
        Using cached Cython-3.0.7-cp311-cp311-musllinux_1_1_x86_64.whl (3.6 MB)
      Collecting oldest-supported-numpy
        Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
      Collecting setuptools>=61.0.0
        Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
      Collecting numpy==1.23.2
        Using cached numpy-1.23.2.tar.gz (10.7 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
      
        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [272 lines of output]
            setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11.
              warnings.warn(
            Running from numpy source directory.
            setup.py:86: DeprecationWarning:
      
              `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
              of the deprecation of `distutils` itself. It will be removed for
              Python >= 3.12. For older Python versions it will remain present.
              It is recommended to use `setuptools < 60.0` for those Python versions.
              For more details, see:
                https://numpy.org/devdocs/reference/distutils_status_migration.html
      
      
              import numpy.distutils.command.sdist
            Processing numpy/random/_bounded_integers.pxd.in
            Processing numpy/random/bit_generator.pyx
            Processing numpy/random/_mt19937.pyx
            Processing numpy/random/_common.pyx
            Processing numpy/random/mtrand.pyx
            Processing numpy/random/_generator.pyx
            Processing numpy/random/_sfc64.pyx
            Processing numpy/random/_pcg64.pyx
            Processing numpy/random/_philox.pyx
            Processing numpy/random/_bounded_integers.pyx.in
            Cythonizing sources
            INFO: blas_opt_info:
            INFO: blas_armpl_info:
            INFO: customize UnixCCompiler
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blas_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blis_info:
            INFO:   libraries blis not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: accelerate_info:
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_info:
            INFO:   libraries satlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_info:
            INFO:   libraries f77blas,cblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/system_info.py:2077: UserWarning:
                Optimized (vendor) Blas libraries are not found.
                Falls back to netlib Blas library which has worse performance.
                A better performance should be easily gained by switching
                Blas library.
              if self._calc_info(blas):
            INFO: blas_info:
            INFO:   libraries blas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [blas]) or by setting
                the BLAS environment variable.
              if self._calc_info(blas):
            INFO: blas_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [blas_src]) or by setting
                the BLAS_SRC environment variable.
              if self._calc_info(blas):
            INFO:   NOT AVAILABLE
            INFO:
            non-existing path in 'numpy/distutils': 'site.cfg'
            INFO: lapack_opt_info:
            INFO: lapack_armpl_info:
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_lapack_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_clapack_info:
            INFO:   libraries openblas,lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: flame_info:
            INFO:   libraries flame not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas,tatlas not found in /config/lsiopy/lib
            INFO:   libraries tatlas,tatlas not found in /usr/local/lib
            INFO:   libraries tatlas,tatlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_info:
            INFO:   libraries satlas,satlas not found in /config/lsiopy/lib
            INFO:   libraries satlas,satlas not found in /usr/local/lib
            INFO:   libraries satlas,satlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_info:
            INFO:   libraries f77blas,cblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/local/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_info:
            INFO:   libraries lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [lapack]) or by setting
                the LAPACK environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO: lapack_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [lapack_src]) or by setting
                the LAPACK_SRC environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO:   NOT AVAILABLE
            INFO:
            INFO: numpy_linalg_lapack_lite:
            INFO:   FOUND:
            INFO:     language = c
            INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
            INFO:
            Warning: attempted relative import with no known parent package
            /tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
              warnings.warn(msg)
            running bdist_wheel
            running build
            running config_cc
            INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
            running config_fc
            INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
            running build_src
            INFO: build_src
            INFO: building py_modules sources
            creating build
            creating build/src.linux-x86_64-3.11
            creating build/src.linux-x86_64-3.11/numpy
            creating build/src.linux-x86_64-3.11/numpy/distutils
            INFO: building library "npymath" sources
            WARN: Could not locate executable armflang
            WARN: Could not locate executable gfortran
            WARN: Could not locate executable f95
            WARN: Could not locate executable ifort
            WARN: Could not locate executable ifc
            WARN: Could not locate executable lf95
            WARN: Could not locate executable pgfortran
            WARN: Could not locate executable nvfortran
            WARN: Could not locate executable f90
            WARN: Could not locate executable f77
            WARN: Could not locate executable fort
            WARN: Could not locate executable efort
            WARN: Could not locate executable efc
            WARN: Could not locate executable g77
            WARN: Could not locate executable g95
            WARN: Could not locate executable pathf95
            WARN: Could not locate executable nagfor
            WARN: Could not locate executable frt
            WARN: don't know how to compile Fortran code on platform 'posix'
      
      
            [Errno 2] No such file or directory: 'gcc'
      
      
            Traceback (most recent call last):
              File "/tmp/tmpayritv8n_in_process.py", line 363, in <module>
                main()
              File "/tmp/tmpayritv8n_in_process.py", line 345, in main
                json_out['return_val'] = hook(**hook_input['kwargs'])
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/tmpayritv8n_in_process.py", line 261, in build_wheel
                return _build_backend().build_wheel(wheel_directory, config_settings,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
                return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
                self.run_setup()
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
                self).run_setup(setup_script=setup_script)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
                exec(compile(code, __file__, 'exec'), locals())
              File "setup.py", line 493, in <module>
                setup_package()
              File "setup.py", line 485, in setup_package
                setup(**metadata)
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/core.py", line 169, in setup
                return old_setup(**new_attr)
                       ^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 153, in setup
                return distutils.core.setup(**attrs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
                dist.run_commands()
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
                self.run_command(cmd)
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
                self.run_command('build')
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/command/build.py", line 62, in run
                old_build.run(self)
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
                self.run_command(cmd_name)
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-gxaz8rp8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/command/build_src.py", line 144, in run
                self.build_sources()
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/command/build_src.py", line 155, in build_sources
                self.build_library_sources(*libname_info)
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/command/build_src.py", line 288, in build_library_sources
                sources = self.generate_sources(sources, (lib_name, build_info))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/distutils/command/build_src.py", line 378, in generate_sources
                source = func(extension, build_dir)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-nwo6dw0l/numpy_cd05496f5a71472e887c9756d5ea88ef/numpy/core/setup.py", line 758, in get_mathlib_info
                raise RuntimeError(
            RuntimeError: Broken toolchain: cannot link a simple C program.
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
2023-12-24 22:45:52.450 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of shapely==2.0.2
2023-12-24 22:46:17.117 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: switcher_kis, upnp, yamaha_musiccast, mqtt, philips_js
2023-12-24 22:46:23.144 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package shapely==2.0.2: error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [300 lines of output]
      Collecting Cython
        Using cached Cython-3.0.7-cp311-cp311-musllinux_1_1_x86_64.whl (3.6 MB)
      Collecting oldest-supported-numpy
        Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
      Collecting setuptools>=61.0.0
        Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
      Collecting numpy==1.23.2
        Using cached numpy-1.23.2.tar.gz (10.7 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
      
        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [272 lines of output]
            setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11.
              warnings.warn(
            Running from numpy source directory.
            setup.py:86: DeprecationWarning:
      
              `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
              of the deprecation of `distutils` itself. It will be removed for
              Python >= 3.12. For older Python versions it will remain present.
              It is recommended to use `setuptools < 60.0` for those Python versions.
              For more details, see:
                https://numpy.org/devdocs/reference/distutils_status_migration.html
      
      
              import numpy.distutils.command.sdist
            Processing numpy/random/_bounded_integers.pxd.in
            Processing numpy/random/bit_generator.pyx
            Processing numpy/random/_mt19937.pyx
            Processing numpy/random/_common.pyx
            Processing numpy/random/mtrand.pyx
            Processing numpy/random/_generator.pyx
            Processing numpy/random/_sfc64.pyx
            Processing numpy/random/_pcg64.pyx
            Processing numpy/random/_philox.pyx
            Processing numpy/random/_bounded_integers.pyx.in
            Cythonizing sources
            INFO: blas_opt_info:
            INFO: blas_armpl_info:
            INFO: customize UnixCCompiler
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blas_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blis_info:
            INFO:   libraries blis not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: accelerate_info:
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_info:
            INFO:   libraries satlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_info:
            INFO:   libraries f77blas,cblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/system_info.py:2077: UserWarning:
                Optimized (vendor) Blas libraries are not found.
                Falls back to netlib Blas library which has worse performance.
                A better performance should be easily gained by switching
                Blas library.
              if self._calc_info(blas):
            INFO: blas_info:
            INFO:   libraries blas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [blas]) or by setting
                the BLAS environment variable.
              if self._calc_info(blas):
            INFO: blas_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [blas_src]) or by setting
                the BLAS_SRC environment variable.
              if self._calc_info(blas):
            INFO:   NOT AVAILABLE
            INFO:
            non-existing path in 'numpy/distutils': 'site.cfg'
            INFO: lapack_opt_info:
            INFO: lapack_armpl_info:
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_lapack_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_clapack_info:
            INFO:   libraries openblas,lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: flame_info:
            INFO:   libraries flame not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas,tatlas not found in /config/lsiopy/lib
            INFO:   libraries tatlas,tatlas not found in /usr/local/lib
            INFO:   libraries tatlas,tatlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_info:
            INFO:   libraries satlas,satlas not found in /config/lsiopy/lib
            INFO:   libraries satlas,satlas not found in /usr/local/lib
            INFO:   libraries satlas,satlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_info:
            INFO:   libraries f77blas,cblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/local/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_info:
            INFO:   libraries lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [lapack]) or by setting
                the LAPACK environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO: lapack_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [lapack_src]) or by setting
                the LAPACK_SRC environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO:   NOT AVAILABLE
            INFO:
            INFO: numpy_linalg_lapack_lite:
            INFO:   FOUND:
            INFO:     language = c
            INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
            INFO:
            Warning: attempted relative import with no known parent package
            /tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
              warnings.warn(msg)
            running bdist_wheel
            running build
            running config_cc
            INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
            running config_fc
            INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
            running build_src
            INFO: build_src
            INFO: building py_modules sources
            creating build
            creating build/src.linux-x86_64-3.11
            creating build/src.linux-x86_64-3.11/numpy
            creating build/src.linux-x86_64-3.11/numpy/distutils
            INFO: building library "npymath" sources
            WARN: Could not locate executable armflang
            WARN: Could not locate executable gfortran
            WARN: Could not locate executable f95
            WARN: Could not locate executable ifort
            WARN: Could not locate executable ifc
            WARN: Could not locate executable lf95
            WARN: Could not locate executable pgfortran
            WARN: Could not locate executable nvfortran
            WARN: Could not locate executable f90
            WARN: Could not locate executable f77
            WARN: Could not locate executable fort
            WARN: Could not locate executable efort
            WARN: Could not locate executable efc
            WARN: Could not locate executable g77
            WARN: Could not locate executable g95
            WARN: Could not locate executable pathf95
            WARN: Could not locate executable nagfor
            WARN: Could not locate executable frt
            WARN: don't know how to compile Fortran code on platform 'posix'
      
      
            [Errno 2] No such file or directory: 'gcc'
      
      
            Traceback (most recent call last):
              File "/tmp/tmpua_rsu6t_in_process.py", line 363, in <module>
                main()
              File "/tmp/tmpua_rsu6t_in_process.py", line 345, in main
                json_out['return_val'] = hook(**hook_input['kwargs'])
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/tmpua_rsu6t_in_process.py", line 261, in build_wheel
                return _build_backend().build_wheel(wheel_directory, config_settings,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
                return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
                self.run_setup()
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
                self).run_setup(setup_script=setup_script)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
                exec(compile(code, __file__, 'exec'), locals())
              File "setup.py", line 493, in <module>
                setup_package()
              File "setup.py", line 485, in setup_package
                setup(**metadata)
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/core.py", line 169, in setup
                return old_setup(**new_attr)
                       ^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 153, in setup
                return distutils.core.setup(**attrs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
                dist.run_commands()
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
                self.run_command(cmd)
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
                self.run_command('build')
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/command/build.py", line 62, in run
                old_build.run(self)
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
                self.run_command(cmd_name)
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-zuhlq9nd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/command/build_src.py", line 144, in run
                self.build_sources()
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/command/build_src.py", line 155, in build_sources
                self.build_library_sources(*libname_info)
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/command/build_src.py", line 288, in build_library_sources
                sources = self.generate_sources(sources, (lib_name, build_info))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/distutils/command/build_src.py", line 378, in generate_sources
                source = func(extension, build_dir)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-9r99obk9/numpy_73ba558556424a28b62795c1ba4f419c/numpy/core/setup.py", line 758, in get_mathlib_info
                raise RuntimeError(
            RuntimeError: Broken toolchain: cannot link a simple C program.
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
2023-12-24 22:46:23.144 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of shapely==2.0.2
2023-12-24 22:46:53.812 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package shapely==2.0.2: error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [300 lines of output]
      Collecting Cython
        Using cached Cython-3.0.7-cp311-cp311-musllinux_1_1_x86_64.whl (3.6 MB)
      Collecting oldest-supported-numpy
        Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
      Collecting setuptools>=61.0.0
        Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
      Collecting numpy==1.23.2
        Using cached numpy-1.23.2.tar.gz (10.7 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
      
        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [272 lines of output]
            setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11.
              warnings.warn(
            Running from numpy source directory.
            setup.py:86: DeprecationWarning:
      
              `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
              of the deprecation of `distutils` itself. It will be removed for
              Python >= 3.12. For older Python versions it will remain present.
              It is recommended to use `setuptools < 60.0` for those Python versions.
              For more details, see:
                https://numpy.org/devdocs/reference/distutils_status_migration.html
      
      
              import numpy.distutils.command.sdist
            Processing numpy/random/_bounded_integers.pxd.in
            Processing numpy/random/bit_generator.pyx
            Processing numpy/random/_mt19937.pyx
            Processing numpy/random/_common.pyx
            Processing numpy/random/mtrand.pyx
            Processing numpy/random/_generator.pyx
            Processing numpy/random/_sfc64.pyx
            Processing numpy/random/_pcg64.pyx
            Processing numpy/random/_philox.pyx
            Processing numpy/random/_bounded_integers.pyx.in
            Cythonizing sources
            INFO: blas_opt_info:
            INFO: blas_armpl_info:
            INFO: customize UnixCCompiler
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blas_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blis_info:
            INFO:   libraries blis not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: accelerate_info:
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_blas_info:
            INFO:   libraries satlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_blas_info:
            INFO:   libraries f77blas,cblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/system_info.py:2077: UserWarning:
                Optimized (vendor) Blas libraries are not found.
                Falls back to netlib Blas library which has worse performance.
                A better performance should be easily gained by switching
                Blas library.
              if self._calc_info(blas):
            INFO: blas_info:
            INFO:   libraries blas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [blas]) or by setting
                the BLAS environment variable.
              if self._calc_info(blas):
            INFO: blas_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/system_info.py:2077: UserWarning:
                Blas (http://www.netlib.org/blas/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [blas_src]) or by setting
                the BLAS_SRC environment variable.
              if self._calc_info(blas):
            INFO:   NOT AVAILABLE
            INFO:
            non-existing path in 'numpy/distutils': 'site.cfg'
            INFO: lapack_opt_info:
            INFO: lapack_armpl_info:
            INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_mkl_info:
            INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_lapack_info:
            INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_clapack_info:
            INFO:   libraries openblas,lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: flame_info:
            INFO:   libraries flame not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries tatlas,tatlas not found in /config/lsiopy/lib
            INFO:   libraries tatlas,tatlas not found in /usr/local/lib
            INFO:   libraries tatlas,tatlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_3_10_info:
            INFO:   libraries satlas,satlas not found in /config/lsiopy/lib
            INFO:   libraries satlas,satlas not found in /usr/local/lib
            INFO:   libraries satlas,satlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_threads_info:
            INFO: Setting PTATLAS=ATLAS
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
            INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: atlas_info:
            INFO:   libraries f77blas,cblas,atlas not found in /config/lsiopy/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/local/lib
            INFO:   libraries f77blas,cblas,atlas not found in /usr/lib
            INFO: <class 'numpy.distutils.system_info.atlas_info'>
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_info:
            INFO:   libraries lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) libraries not found.
                Directories to search for the libraries can be specified in the
                numpy/distutils/site.cfg file (section [lapack]) or by setting
                the LAPACK environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO: lapack_src_info:
            INFO:   NOT AVAILABLE
            INFO:
            /tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/system_info.py:1902: UserWarning:
                Lapack (http://www.netlib.org/lapack/) sources not found.
                Directories to search for the sources can be specified in the
                numpy/distutils/site.cfg file (section [lapack_src]) or by setting
                the LAPACK_SRC environment variable.
              return getattr(self, '_calc_info_{}'.format(name))()
            INFO:   NOT AVAILABLE
            INFO:
            INFO: numpy_linalg_lapack_lite:
            INFO:   FOUND:
            INFO:     language = c
            INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
            INFO:
            Warning: attempted relative import with no known parent package
            /tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
              warnings.warn(msg)
            running bdist_wheel
            running build
            running config_cc
            INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
            running config_fc
            INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
            running build_src
            INFO: build_src
            INFO: building py_modules sources
            creating build
            creating build/src.linux-x86_64-3.11
            creating build/src.linux-x86_64-3.11/numpy
            creating build/src.linux-x86_64-3.11/numpy/distutils
            INFO: building library "npymath" sources
            WARN: Could not locate executable armflang
            WARN: Could not locate executable gfortran
            WARN: Could not locate executable f95
            WARN: Could not locate executable ifort
            WARN: Could not locate executable ifc
            WARN: Could not locate executable lf95
            WARN: Could not locate executable pgfortran
            WARN: Could not locate executable nvfortran
            WARN: Could not locate executable f90
            WARN: Could not locate executable f77
            WARN: Could not locate executable fort
            WARN: Could not locate executable efort
            WARN: Could not locate executable efc
            WARN: Could not locate executable g77
            WARN: Could not locate executable g95
            WARN: Could not locate executable pathf95
            WARN: Could not locate executable nagfor
            WARN: Could not locate executable frt
            WARN: don't know how to compile Fortran code on platform 'posix'
      
      
            [Errno 2] No such file or directory: 'gcc'
      
      
            Traceback (most recent call last):
              File "/tmp/tmpfqxngoit_in_process.py", line 363, in <module>
                main()
              File "/tmp/tmpfqxngoit_in_process.py", line 345, in main
                json_out['return_val'] = hook(**hook_input['kwargs'])
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/tmpfqxngoit_in_process.py", line 261, in build_wheel
                return _build_backend().build_wheel(wheel_directory, config_settings,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
                return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
                self.run_setup()
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
                self).run_setup(setup_script=setup_script)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
                exec(compile(code, __file__, 'exec'), locals())
              File "setup.py", line 493, in <module>
                setup_package()
              File "setup.py", line 485, in setup_package
                setup(**metadata)
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/core.py", line 169, in setup
                return old_setup(**new_attr)
                       ^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 153, in setup
                return distutils.core.setup(**attrs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
                dist.run_commands()
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
                self.run_command(cmd)
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
                self.run_command('build')
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/command/build.py", line 62, in run
                old_build.run(self)
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
                self.run_command(cmd_name)
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/tmp/pip-build-env-6z29z5yi/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/command/build_src.py", line 144, in run
                self.build_sources()
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/command/build_src.py", line 155, in build_sources
                self.build_library_sources(*libname_info)
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/command/build_src.py", line 288, in build_library_sources
                sources = self.generate_sources(sources, (lib_name, build_info))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/distutils/command/build_src.py", line 378, in generate_sources
                source = func(extension, build_dir)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-install-yhndd827/numpy_4e8ba6e905a245f698eb038b85925a29/numpy/core/setup.py", line 758, in get_mathlib_info
                raise RuntimeError(
            RuntimeError: Broken toolchain: cannot link a simple C program.
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
2023-12-24 22:46:53.813 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration oref_alert: Requirements for oref_alert not found: ['shapely==2.0.2'].

Diagnostics dump

No response

Supplemental alert data

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Would be great to have additional data on the sensors

Describe the solution you'd like

Overlay data from other feeds

Describe alternatives you've considered

Doing this as a mess of sensors and templates

Additional context

There is more data that can be useful related to alerts and general Home Front command directions. I'm sure your familiar with these api's, opening this as a starting point for a discussion:

  • district data can show general location and time to get to a shelter. Useful to keep an eye on the general country-wide situation
  • replacing (or supplementing) alert.category with category from here can give more detail than the current category. It can also be used to add icons based on the category. Icons can be useful on dashboards to help quantify the alert type
  • Instructions for what to do based on the alert can be found here. This can be especially useful for selected areas
  • City-specific instructions can be added from here (replace citycode). This can also be useful for selected areas.

These api's don't need to be polled continuously, it would probably suffice to load them only on startup (and perhaps refresh once every 24 hours).

All in all, this integration has been beneficial towards keeping everyone a bit safer and more up-to-date - thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.