DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run the PairTeX test suite before tagging a release with PairTeX

Sync the dev environment with uv and run the unit tests, including the version check.

Short answer: Install uv on your machine; then run uv sync in the PairTeX repository root; run uv run python -m unittest discover -s tests -t. All steps.

  • Research
  • Advanced
  • 15 minutes
  • From the README
  • Any agent

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

  1. Install uv on your machine.
  2. Run uv sync in the PairTeX repository root.
  3. Run uv run python -m unittest discover -s tests -t ..
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer