Skip to content

chore: pin lumid-hooks<0.2.0 until reconcile() impls land#56

Open
tjluyao wants to merge 1 commit into
mainfrom
chore/pin-lumid-hooks-0.1.x
Open

chore: pin lumid-hooks<0.2.0 until reconcile() impls land#56
tjluyao wants to merge 1 commit into
mainfrom
chore/pin-lumid-hooks-0.1.x

Conversation

@tjluyao
Copy link
Copy Markdown

@tjluyao tjluyao commented May 24, 2026

Summary

lumid-hooks 0.2.0 (commit 0f5e3df, "BREAKING feat: add ResourceRegistrar.reconcile") adds a required reconcile(resources, logger) method to the ResourceRegistrar Protocol. The example plugins under examples/plugins/simple_plugin/registrar.py implement only register + deregister, so a fresh uv sync against the upstream floor (lumid-hooks>=0.1.0) would pull 0.2.0 and break mypy on the examples.

Production deployments are unaffected — src/server/requirements.txt + src/worker/requirements/*.txt were already pinned to lumid-hooks==0.1.0, so the server image doesn't shift. This PR tightens the pyproject.toml + hook/pyproject.toml floor to match, keeping dev installs in sync with prod until the examples are updated to satisfy the new Protocol.

Changes

  • pyproject.toml: lumid-hooks>=0.1.0lumid-hooks>=0.1.0,<0.2.0
  • hook/pyproject.toml: same
  • uv.lock: regenerated (no version drift; lumid-hooks stays at 0.1.0)
  • src/server/requirements.txt + worker requirements: unchanged (already pinned to 0.1.0)

When to drop this pin

Once examples/plugins/simple_plugin/registrar.py (and any other in-repo ResourceRegistrar implementers) adds a reconcile() method, drop the upper bound and bump to lumid-hooks>=0.2.0.

Test plan

  • uv lock — clean re-resolution
  • uv run scripts/dev/sync_requirements.py --write — no diff on requirements files
  • CI: lint + mypy + tests

🤖 Generated with Claude Code

lumid-hooks 0.2.0 (0f5e3df) added a breaking ResourceRegistrar.reconcile
method to the Protocol. The example plugins under examples/plugins/simple_plugin
implement only register/deregister, so a fresh `uv sync` against the upstream
floor would pull 0.2.0 and break mypy on the examples.

Production deployments are unaffected — requirements.txt was already pinned to
==0.1.0 in src/server/requirements.txt and src/worker/requirements/*.txt. This
change tightens the pyproject.toml floor + hook/pyproject.toml floor to match,
so dev installs stay in sync with prod until the examples are updated to satisfy
the new Protocol.

Signed-off-by: Yao Lu <fdyaolu@gmail.com>
@tjluyao tjluyao requested a review from kaiitunnz as a code owner May 24, 2026 19:21
Copy link
Copy Markdown
Collaborator

@kaiitunnz kaiitunnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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.

2 participants