Offline install never installs chatty, and the committed requirements.lock is stale

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
build-system, cli

Research direction

Start by reading scripts/build-wheelhouse.sh and scripts/install-offline.sh, especially the lock-generation and install commands cited in the issue; compare the generated requirements with uv.lock. Then check the project’s build configuration and offline-install tests, if present. Done means the offline bundle includes and installs chatty plus its runtime dependencies, and the handling of RAG extras and the committed lock file is decided.

Written by the indexing model from the issue text.

Description

area: install bug

The offline install (scripts/build-wheelhouse.sh, then scripts/install-offline.sh) never installs chatty.

  • build-wheelhouse.sh generates scripts/requirements.lock with uv export --frozen --no-dev --no-editable | grep -v "^\.$" (line 54), which removes the local package on purpose, and downloads wheels only for that list.
  • install-offline.sh runs uv pip install --no-index --find-links=wheelhouse/ -r requirements.lock (line 62) and nothing else.

Effect: on an air-gapped host, both scripts succeed and print "Installation complete!", but chatty --help gives command not found. uv run chatty would need the network to build the project.

Also:

  • The committed scripts/requirements.lock (last changed 2026-01-24) is stale. It has no tiktoken, pyperclip, regex or requests, and pins textual==7.0.1 while uv.lock has 7.3.0. build-wheelhouse.sh only regenerates the file when it's missing (line 51), so the committed copy is always used, and the wheelhouse is missing runtime dependencies.
  • The RAG extras (faiss-cpu, numpy, litkit) aren't covered at all.

Fix: have build-wheelhouse.sh always regenerate the lock from uv.lock and build a wheel of chatty itself into the wheelhouse (uv build --wheel -o wheelhouse/). Have install-offline.sh install that wheel with --no-index. Then either stop committing requirements.lock or add a check that it matches uv.lock. Decide whether the offline bundle should include the RAG extras.

Dominant language
Python
Stars
0
Forks
2
Avg merge
1d 4h
Merged PRs (30d)
13

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lanl/chatty

All issues in lanl/chatty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.