Error when upgrading integration - A new release of pip is available: 23.1.2 -> 24.3.1

Hi all in the community,

Have searched the community, but could not find a good answer to the below.

I have HA OS on a RPI, no contained, only vanilla HA with HACS on top, and
I have not been updating my HA for a while, and I saw recently that my Nordpool-integration stopped working.

Did an update of the Nordpool-integration through HACS, and get the following error message:

2024-11-23 19:22:04.169 ERROR (SyncWorker_0)
[homeassistant.util.package] Unable to install package nordpool==0.4.3: ERROR: Cannot install nordpool==0.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit Dependency Resolution - pip documentation v25.0.dev0
[notice] A new release of pip is available: 23.1.2 → 24.3.1
[notice] To update, run: pip install --upgrade pip
2024-11-23 19:22:24.385 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package nordpool==0.4.3: ERROR: Cannot install nordpool==0.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit Dependency Resolution - pip documentation v25.0.dev0

I have not encountered this type of error before.
All other integrations worked of the box, during my upgrades from HA Core 2023.4.6 to 2023.8.4, HA OS 11.4 to 11.5, and upgrades for other HACS integrations/packages.

Is this related to only the Nordpool-integration (through HACS)?
Do I need to run a lower version for the Nordpool-integration, or force the Python-package to a lower version than 0.4.3?
Do I need a higher version of HA Core?

I do not believe I can update the pip version out of the box, and if I could, I would be afraid to break the installation.

Regards
Sven

Hi

Send an issue to the custom integrator or look on their site if they have one.

This is likely something in their docker as I don’t think pip is used in HAOS.

If you are not using HAOS, you are on your own and I have no idea.

Thanks for the swift reply.

I have altered the manifest-file for Nordpool 0.0.16 to get Nordpool packages 0.4.3, 0.4.2, 0.4.1 and 0.4.0. Still the same error message.

Through sensor-data I can see that the problem occured ± 16/10-2024 and this corrensponds to either 0.0.15 updated of the HA Nordpool integration and/or 0.4.2 of the Nordpool package.

Downloaded 0.0.15 of the HA Nordpool integration and replaced the files in ‘custom_components’, and the error did not occur at reboot. However the Nordpool package does not start at all.

As you stated, this seems to be an error in the Nordpool-integration-

I have raised an issue for the Nordpool-integration: Error when upgrading HA Integration through HACS: A new release of pip is available. · Issue #455 · custom-components/nordpool

Pip is a standard app in the Linux core of HAOS.
HAOS have switched to a newer major version, so your 11.5 is probably way out of sync with integrations that generally stay somewhat up-to-date with the HAOS version.

Currently we are on HAOS version 13.2 with HA Core on version 2024.11.3
Because the grace time for deprecations are 6 months, then you should be able to find working versions with in that range, unless the deprecations comes from an outside third party, like a device vendor or cloud services, in which case there are no lower limits.

And this has nothing to do with docker.
Docker is used for addons, but Nordpool is an integration.

2 Likes

There were so many jumbled numbers there, I got confused and thought it was an add-on.
I apologize.
That was why I sent them back to the repo.

I had to read the numbers several times too and had to check if it was not just typos too. :slight_smile:

1 Like

:slight_smile: Yes alot of numbers it is.

I updated HA OS to 12.3, without luck, same error.

I then started to traverse and update each update from 2023.9.3 and forward for HA Core.
At 2024.5.5 HACS updated to version 2.0.1.
At 2024.6.4 the error disappeared and Nordpool-integration started working.

I am now at 2024.8.3 and it still works.

So, it was all along that I had too old version.

Thanks all for the effort, I will not set this topic as closed.

HA deprecate things with a 6 months grace time, so you should be able to jump 3-5 months ahead on each step.