Skip to content

fix(deps): require chunkhound-native 6.1.0, the first release with AnalyticsRecorder - #499

Merged
HananKavitzAmat merged 1 commit into
chunkhound:mainfrom
fstrasz:fix/native-lower-bound
Nov 11, 2026
Merged

HananKavitzAmat merged 1 commit into
chunkhound:mainfrom
fstrasz:fix/native-lower-bound

Conversation

@fstrasz

@fstrasz fstrasz commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Problem

#498: chunkhound/core/analytics/recorder.py calls chunkhound_native.AnalyticsRecorder (#414), which first ships in chunkhound-native 6.1.0. pyproject.toml requires chunkhound-native>=5.2.0 and uv.lock pins 5.2.1, so:

  1. a clean uv sync of main installs native 5.2.1, which has no AnalyticsRecorder;
  2. upgrading chunkhound over an existing native 5.2.x or 6.0.0 keeps that native, and analytics-wrapped commands then fail with AttributeError.

Fix

  1. pyproject.toml: chunkhound-native>=6.1.0, with a comment naming the API that sets the bound.
  2. uv lock --upgrade-package chunkhound-native: chunkhound-native 5.2.1 -> 6.1.0, and nothing else upgraded. uv lock --check passes. uv 0.11.32 also rewrote six dependency entries of exceptiongroup, pygit2 and scipy without their python_full_version markers. 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):

  1. a clean uv sync installs chunkhound-native 6.1.0;
  2. chunkhound_native.AnalyticsRecorder imports, checked from outside the checkout with python -I, so the source tree's own chunkhound_native/ cannot shadow the installed package.

Before the change, the same steps on main installed 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 was test_cli_help_commands[command0], which hit its 5 s limit on uv 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

…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]>
@HananKavitzAmat
HananKavitzAmat added this pull request to the merge queue Nov 11, 2026
Merged via the queue into chunkhound:main with commit cc1c8f9 Nov 11, 2026
25 checks passed
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.

chunkhound 6.1.0 accepts chunkhound-native 5.2.x / 6.0.0, which lack AnalyticsRecorder, so commands fail at start-up

2 participants