Skip to content

feat(validator): add a one-line installer for sendspin-validate - #168

Closed
chrisuthe wants to merge 2 commits into
mainfrom
chrisuthe/validator-installer
Closed

chrisuthe wants to merge 2 commits into
mainfrom
chrisuthe/validator-installer

Conversation

@chrisuthe

Copy link
Copy Markdown
Member

Installing sendspin-validate now takes one command on Linux or macOS:

curl -LsSf https://raw.githubusercontent.com/Sendspin/conformance/main/scripts/install-sendspin-validate.sh | sh
  • scripts/install-sendspin-validate.sh installs uv if it is missing, then uv tool installs the validator, so sendspin-validate is on PATH afterwards. uv fetches Python. The source comes from GitHub's tarball rather than git+https, so a Mac without the Xcode command-line tools can install it. Running it again updates; SENDSPIN_VALIDATE_REF installs a branch, tag or commit.
  • uvx and uv tool install ignore uv.lock, so dependencies used to float. scripts/sendspin-validate-constraints.txt is uv export of the lock, passed as --constraints, and a test fails when it drifts from uv.lock.
  • publish.yml ignores both new files, as it does the other validator-only paths. README and AGENTS.md describe them.

Tested end to end in a clean fedora:latest container, with no uv, git or suitable Python, and on a host where uv already exists. Not run on macOS.

@chrisuthe

Copy link
Copy Markdown
Member Author

Superseded by #171, which rebuilds this on main after #170 slimmed the README.

@chrisuthe chrisuthe closed this Nov 20, 2026
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