Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ uv venv .venv && source .venv/bin/activate
uv pip install -e '.[dev,apidocs]'
```

(`python -m venv` and `pip` work too.) Then activate the git hooks — one of:
(`python -m venv` and `pip` work too. The `apidocs` extra installs only on
Python 3.11.5 or later; on 3.10 it is skipped and the docs will not build.) Then activate the git hooks — one of:

```bash
lefthook install # if you have lefthook (brew install lefthook)
Expand Down
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,17 @@ dependencies = []

[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-cov>=5.0", "ruff>=0.5", "mypy>=1.10"]
# Builds the Sphinx reference published to GitHub Pages.
apidocs = ["sphinx>=8.0", "sphinx-argparse>=0.6.1", "furo>=2024.8", "myst-parser>=4.0"]
# Builds the Sphinx reference published to GitHub Pages. Limited to Python
# 3.11.5 and later: furo pulls in soupsieve, whose fixes for CVE-2026-126190
# and CVE-2026-126191 (4.0.1) need 3.11.5, and the 2.x line left for 3.10 is
# unpatched. The library itself still supports 3.10; only the docs build moves.
apidocs = [
"sphinx>=8.0; python_full_version >= '3.11.5'",
"sphinx-argparse>=0.6.1; python_full_version >= '3.11.5'",
"furo>=2024.8; python_full_version >= '3.11.5'",
"myst-parser>=4.0; python_full_version >= '3.11.5'",
"soupsieve>=4.0.1; python_full_version >= '3.11.5'",
]

[project.scripts]
tetrak-translit = "tetrak_translit.cli:main"
Expand Down
169 changes: 27 additions & 142 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading