home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.65k stars 30.41k forks source link

PVPC integration stopped working with version 2024.2.1 #110288

Closed lsgv closed 8 months ago

lsgv commented 8 months ago

The problem

PVPC integration not working after updating to 2024.2.1 According to log files it appears to be caused by incompatible python version

What version of Home Assistant Core has the issue?

core 2024.2.1

What was the last working version of Home Assistant Core?

core 2024.1.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

PVPC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/pvpc_hourly_pricing/

Diagnostics information

Logger: homeassistant.util.package Source: util/package.py:122 First occurred: 12:36:02 (3 occurrences) Last logged: 12:36:06

Unable to install package aiopvpc==4.0.1: ERROR: Ignored the following versions that require a different python version: 3.1.0 Requires-Python >=3.9,<3.12; 4.0.0 Requires-Python >=3.9,<3.12; 4.0.1 Requires-Python >=3.9,<3.12; 4.1.0 Requires-Python >=3.9,<3.12; 4.2.0 Requires-Python >=3.9,<3.12; 4.2.1 Requires-Python >=3.9,<3.12 ERROR: Could not find a version that satisfies the requirement aiopvpc==4.0.1 (from versions: 1.0.0, 1.0.2, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5rc1, 2.2.5, 2.3.0, 3.0.0, 4.2.2) ERROR: No matching distribution found for aiopvpc==4.0.1

Example YAML snippet

No response

Anything in the logs that might be useful for us?

According to error message from log it appears to be caused by incompatible python version.

Additional information

No response

home-assistant[bot] commented 8 months ago

Hey there @azogue, mind taking a look at this issue as it has been labeled with an integration (pvpc_hourly_pricing) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `pvpc_hourly_pricing` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign pvpc_hourly_pricing` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


pvpc_hourly_pricing documentation pvpc_hourly_pricing source (message by IssueLinks)

goodsale commented 8 months ago

me too

Same problem

azogue commented 8 months ago

Hi @lsgv and @goodsale ,

it looks like you're not using the official integration, which is pinned to aiopvpc==4.2.2 since last summer (and has no problem running with python 3.12)

Please report your problem to the author of the custom integration you're probably using that tries to install that old version of aiopvpc

lsgv commented 8 months ago

Thanks for your prompt reply. Indeed I still had legacy manual installation of the integration which I completely deleted and I can now install the latest version via GUI. Thanks again. Luis

Luis Gaivao @.*** +32.497.05.34.39 +34.616.331.264

On 12 Feb 2024, at 09:28, Eugenio Panadero @.***> wrote:



Hi @lsgvhttps://url.emailprotection.link/?buEq4eyNl9NRYRhKUfm4VcJlCDj03lLSc1vVtTAAnuVWt0F8IFb3Tr93rSbzxzRTfeklDoE-OLb9R6DW5NlnScQ~~ and @goodsalehttps://url.emailprotection.link/?buEq4eyNl9NRYRhKUfm4VcPd2yZBWSMbdoYf_1w3VzSJzkE2uSPDgz0xdVRthJV4X6v8Eq6dRDhdt2XGXQ2O3Cg~~ ,

it looks like you're not using the official integration, which is pinned to aiopvpc==4.2.2 since last summer (and has no problem running with python 3.12)

Please report your problem to the author of the custom integration you're probably using that tries to install that old version of aiopvpc

— Reply to this email directly, view it on GitHubhttps://url.emailprotection.link/?b7GYPyT6SdQsFeoOhx5YQIBZcDHmMciLmnlWhsoUN0aLN2g20WYWIIZTCPi4aXPrMDdpHcGL7te4zChvlGs1Mo85ZG8_dg1qQgm5fmo_bIjfy2731kzXmjRBM6rxVa-m6, or unsubscribehttps://url.emailprotection.link/?bIe8vRmha0U5hL5uTUAK858M2TCpv6SVkBtNXXTNiYXfd8atfcwWXje2TQNnZ7EstFaVP3Yf8nf2qRejNnkL5s_DXpBr6bigd5Ls0_w_6JJ-6VJUWcpAV1E2rnPZbOtABbeLoeYmwE9bj51IZCej2P3w4aPaqfSEJk6F8pzAjJnBMvaWb8yTXWpiK_LHm0EIH3uGOIkFyH4Wl8x2Mfp6buw~~. You are receiving this because you were mentioned.Message ID: @.***>