mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
chore: prepare Hermes for Homebrew packaging (#4099)
Co-authored-by: Yabuku-xD <78594762+Yabuku-xD@users.noreply.github.com>
This commit is contained in:
parent
11aa44d34d
commit
e64b047663
17 changed files with 400 additions and 56 deletions
22
tests/test_packaging_metadata.py
Normal file
22
tests/test_packaging_metadata.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
from pathlib import Path
|
||||
import tomllib
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
def test_faster_whisper_is_not_a_base_dependency():
|
||||
data = tomllib.loads((REPO_ROOT / "pyproject.toml").read_text(encoding="utf-8"))
|
||||
deps = data["project"]["dependencies"]
|
||||
|
||||
assert not any(dep.startswith("faster-whisper") for dep in deps)
|
||||
|
||||
voice_extra = data["project"]["optional-dependencies"]["voice"]
|
||||
assert any(dep.startswith("faster-whisper") for dep in voice_extra)
|
||||
|
||||
|
||||
def test_manifest_includes_bundled_skills():
|
||||
manifest = (REPO_ROOT / "MANIFEST.in").read_text(encoding="utf-8")
|
||||
|
||||
assert "graft skills" in manifest
|
||||
assert "graft optional-skills" in manifest
|
||||
Loading…
Add table
Add a link
Reference in a new issue