Skip to content

fix: client and gateway pin blaueis-core exactly - #15

Merged
fabcoded merged 1 commit into
mainfrom
fix/exact-core-pin
Oct 18, 2026
Merged

fabcoded merged 1 commit into
mainfrom
fix/exact-core-pin

Conversation

@fabcoded

Copy link
Copy Markdown
Owner

blaueis-client and blaueis-gateway now depend on exactly the blaueis-core version they are released with (==0.1.0rc2 today, instead of ~=0.1.0rc1 / ~=0.1.0rc2).

Why — an outage on the maintainer's install on 2026-10-18: Home Assistant installs each requirements: entry on its own with uv pip install --upgrade, in manifest order. After a Core update rebuilt the container, the integration still pinned blaueis-core==0.1.0rc1 and blaueis-client==0.1.0rc1; installing the client with --upgrade let its blaueis-core~=0.1.0rc1 range lift core to the newly published 0.1.0rc2, which no longer has a private name that build imported. The entry stayed in setup_error until the matching integration build was installed. Reproduced locally on Python 3.14 with the same install sequence.

  • packages/blaueis-{client,gateway}/pyproject.toml: blaueis-core==0.1.0rc2.
  • New packages/blaueis-core/tests/test_lockstep.py: the three versions are equal and the client and gateway pin core to exactly that version (fails on the old ~= form, checked).
  • docs/releasing.md step 1 explains the exact pin; the 0.1.0 CHANGELOG notes it.

Takes effect with the next library tag. The integration side already guards against private imports since tests/unit/test_library_surface.py (ha-midea PR #45).

🤖 Generated with Claude Code

Home Assistant installs each requirement on its own with pip --upgrade. A
container rebuild after 0.1.0rc2 was published let blaueis-client 0.1.0rc1's
blaueis-core~=0.1.0rc1 range lift core to rc2 under an integration pinned to
rc1, which broke its setup. The packages are released together, so the
client and the gateway now depend on exactly their own core version; a test
keeps versions and pins in lockstep.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fabcoded
fabcoded merged commit 10e8541 into main Oct 18, 2026
8 checks passed
@fabcoded
fabcoded deleted the fix/exact-core-pin branch October 18, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant