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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page