Skip to content

Conversation

@agners
Copy link
Member

@agners agners commented Feb 12, 2026

Proposed change

Newer Docker versions (probably newer than 29.x) do not have a global IPAddress attribute under .NetworkSettings anymore. There is a network specific map under Networks. For our case the hassio has the relevant IP address. This network specific maps already existed before, hence the new inspect format works for old as well as new Docker versions.

This fixes recent failures in GitHub Actions, caused by the ongoing 20260209 image roll out, which contains Docker 29.1.5 (see the 20260209 image readme). Before the bundled Docker version was 28.0.4.

While at it, also adjust the test fixture to reflect the removed network information.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to the supervisor)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to cli pull request:
  • Link to client library pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Ruff (ruff format supervisor tests)
  • Tests have been added to verify that the new code works.

If API endpoints or add-on configuration are added/changed:

Newer Docker versions (probably newer than 29.x) do not have a global
IPAddress attribute under .NetworkSettings anymore. There is a network
specific map under Networks. For our case the hassio has the relevant
IP address. This network specific maps already existed before, hence
the new inspect format works for old as well as new Docker versions.

While at it, also adjust the test fixture.
@agners agners added the ci Changes to our CI configuration files and scripts label Feb 12, 2026
@agners
Copy link
Member Author

agners commented Feb 12, 2026

It seems the top-level properties got deprecated a long time ago 😅

moby/moby@ae6f09b

@agners agners force-pushed the fix-get-supervisor-ip-address branch 2 times, most recently from daf31b6 to f5a9e1e Compare February 12, 2026 22:59
@agners agners force-pushed the fix-get-supervisor-ip-address branch from f5a9e1e to c2b7108 Compare February 12, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes to our CI configuration files and scripts cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant