Who it is forA maintainer or contributor who is about to change PairTeX code or prepare a tagged release.
The problemA release tag should not have to move, so the code and version must be checked before tagging.
The outcomeThe test suite passes in the pinned environment, and the version check confirms the declared release version matches the code.
What you need first
- Python 3 installed to run pairtex.py (standard library only)
- A local LaTeX project in a Git repository
- A rendered HTML file of the manuscript, produced by the default make4ht renderer or an adapter
- A coding agent of your choice to consume the feedback files
Steps
- Install uv on your machine.
- Run
uv syncin the PairTeX repository root. - Run
uv run python -m unittest discover -s tests -t .. - Work through docs/release-checklist.md before tagging.
Prompt for your agent
Read the PairTeX README and docs/release-checklist.md in this repo. Run `uv sync` and then `uv run python -m unittest discover -s tests -t .`, and report the pass or fail count. Verify that tests/test_version.py passes so the version in pyproject.toml matches __version__ in pairtex.py.
Caveat. The README pins the development environment to the minimum supported Python version, so a newer local interpreter alone will not show whether the code works on the oldest supported one.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yuema137/PairTeX and "Run the PairTeX test suite before tagging a release"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer