Skip to content

fix(packaging): include hermes_cli subpackages in wheel build - #34717

Closed
beardthelion wants to merge 1 commit into
NousResearch:mainfrom
beardthelion:fix/hermes-cli-subpackages-include
Closed

fix(packaging): include hermes_cli subpackages in wheel build#34717
beardthelion wants to merge 1 commit into
NousResearch:mainfrom
beardthelion:fix/hermes-cli-subpackages-include

Conversation

@beardthelion

Copy link
Copy Markdown
Contributor

What does this PR do?

pyproject.toml packages.find.include listed hermes_cli but not hermes_cli.*. Subpackages (dashboard_auth, proxy, proxy.adapters) were silently excluded from built wheels. Local dev worked fine (source tree imports) but anyone installing via pip, Homebrew, or Docker got ModuleNotFoundError at runtime.

Related Issue

Fixes #34701, Fixes #27664

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)

Changes Made

  • pyproject.toml: Added "hermes_cli.*" to [tool.setuptools.packages.find] include list

How to Test

  1. Run: python -c "from setuptools import find_packages; pkgs = find_packages(include=['hermes_cli', 'hermes_cli.*']); print([p for p in pkgs if p.startswith('hermes_cli')])"
  2. Confirm hermes_cli.dashboard_auth, hermes_cli.proxy, hermes_cli.proxy.adapters appear
  3. Build wheel: python -m build --wheel and verify subpackages are included

Checklist

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits
  • I searched for existing PRs to make sure this isn't a duplicate
  • My PR contains only changes related to this fix

pyproject.toml packages.find.include listed hermes_cli but not
hermes_cli.*, so subpackages (dashboard_auth, proxy, proxy.adapters)
were silently excluded from built wheels. Anyone installing via pip,
Homebrew, or Docker got ModuleNotFoundError at runtime.

Fixes NousResearch#34701, Fixes NousResearch#27664
@beardthelion
beardthelion requested a review from a team May 29, 2026 16:16
@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard P2 Medium — degraded but workaround exists duplicate This issue or pull request already exists labels May 29, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #27728 which is the omnibus packaging fix (adds hermes_cli.*, acp_adapter.* wildcards, MANIFEST.in grafts, and Homebrew formula update). This PR is a strict subset. See also closed duplicates: #28820, #34505, #28231, #27726.

@beardthelion

Copy link
Copy Markdown
Contributor Author

Closing — duplicate of #27728. Apologies for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

2 participants