Repository navigation
fix(deps): require chunkhound-native 6.1.0, the first release with AnalyticsRecorder - #499
Merged
Merged
Conversation
…alyticsRecorder chunkhound/core/analytics/recorder.py calls chunkhound_native.AnalyticsRecorder on every analytics-wrapped command (chunkhound#414), which first ships in chunkhound-native 6.1.0. The requirement was >=5.2.0 and the lock pinned 5.2.1, so a clean uv sync, or an upgrade over an existing 5.2.x/6.0.0 native, fails with AttributeError. Raise the bound and re-lock chunkhound-native only. Fixes chunkhound#498 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#498:
chunkhound/core/analytics/recorder.pycallschunkhound_native.AnalyticsRecorder(#414), which first ships in chunkhound-native 6.1.0.pyproject.tomlrequireschunkhound-native>=5.2.0anduv.lockpins 5.2.1, so:uv syncofmaininstalls native 5.2.1, which has noAnalyticsRecorder;AttributeError.Fix
pyproject.toml:chunkhound-native>=6.1.0, with a comment naming the API that sets the bound.uv lock --upgrade-package chunkhound-native: chunkhound-native 5.2.1 -> 6.1.0, and nothing else upgraded.uv lock --checkpasses. uv 0.11.32 also rewrote six dependency entries ofexceptiongroup,pygit2andscipywithout theirpython_full_versionmarkers. Those packages are already split by Python version, so the markers were redundant and the resolution is the same. I kept uv's output rather than hand-editing the lockfile.Verified
In a fresh checkout of this branch on Windows (Python 3.13):
uv syncinstalls chunkhound-native 6.1.0;chunkhound_native.AnalyticsRecorderimports, checked from outside the checkout withpython -I, so the source tree's ownchunkhound_native/cannot shadow the installed package.Before the change, the same steps on
maininstalled 5.2.1, and'AnalyticsRecorder' in dir(chunkhound_native)was False.tests/test_smoke.py, run serially in that checkout: 13 passed and 1 failed. The failure wastest_cli_help_commands[command0], which hit its 5 s limit onuv run chunkhound ... --help. On this machine that timeout moves between parameters from run to run, with or without this change.Fixes #498
🤖 Generated with Claude Code