Skip to content

One-line pipx install, and first-run checks that name the fix - #29

Merged
connabyss merged 1 commit into
mainfrom
claude/project-thread-3l3knt
Oct 30, 2026
Merged

connabyss merged 1 commit into
mainfrom
claude/project-thread-3l3knt

Conversation

@connabyss

Copy link
Copy Markdown
Owner

Requested by CH · project thread

What changes

  • Install with pipx. The README and CLAUDE.md now install Bite with pipx install git+https://github.com/connabyss/bite. That means no venv to create and nothing to activate in each new window. The paid step's package goes in with pipx inject bite-check claude-agent-sdk. Cloning plus pip install -e .[test] is still there, for people working on Bite itself.

  • First-run checks. Before making any copy, Bite now checks:

    • that git is installed. Without it, Bite used to crash with a traceback.
    • that the test command's first program can be found
    • that pytest is installed for that Python, when the command is python -m pytest

    When something is missing, Bite says what it is and prints the line that installs it, then stops. Before this, every commit showed only tests fail at this commit / why: exit 1. Docker setups (contain_command) skip these checks, since the box brings its own programs.

  • No module named ... lines are now shown as the why of a failed check.

Checked

  • Self-test: 57/57 pass. The 3 new checks fail with the old recent.py (54/57).
  • pipx install worked from a local path and from the GitHub URL, and pipx inject bite-check claude-agent-sdk worked too. The installed bite --free, run with no pytest present, printed: Bite: pytest isn't installed for this Python (/usr/bin/python3), so your tests can't run. Install it, then run Bite again: python3 -m pip install pytest.

Assisted-by: Claude Code


Generated by Claude Code

README and CLAUDE.md now install Bite with pipx, so there is no venv to
create or activate in each new window. Before any check, Bite now says
plainly when git, the test command's program, or pytest is missing, with
the line that installs it, instead of "exit 1" on every commit.
"No module named ..." lines are also shown as the reason a check failed.
Three self-test checks cover this and fail without the change.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175Q8iE1MFo9aryKgpv1ptw
@connabyss connabyss self-assigned this Oct 30, 2026
@connabyss
connabyss merged commit b531cda into main Oct 30, 2026
6 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.

1 participant