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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ skipping its test.
- Every file starts with `from __future__ import annotations` — `ruff`'s
`isort` config (`required-imports`) enforces it.
- `mypy` runs with `strict = true` against `src/` and `tests/`
(`[tool.mypy]` in `pyproject.toml`), targeting Python 3.10.
(`[tool.mypy]` in `pyproject.toml`), targeting Python 3.11.

## Tests

Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
just 1.59.0
uv 0.13.7
python 3.15 3.14 3.13 3.12 3.11 3.10
python 3.15 3.14 3.13 3.12 3.11
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ $ uvx --from 'cihai-cli' --prerelease allow cihai
_Notes on the upcoming release will go here._
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->

### Breaking changes

#### Python 3.11 is now the minimum

cihai-cli now requires Python 3.11 or newer. Python 3.10 reached end of life in October 2026.

## cihai-cli 0.35.0 (2026-10-24)

cihai-cli 0.35.0 runs on Python 3.15, where every `cihai` command in 0.34.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Command line interface to the [cihai](https://cihai.git-pull.com)
`cihai info` and `cihai reverse` look up CJK characters and definitions in the
UNIHAN database, bootstrapping it locally on first use.

Requires Python 3.10 or newer.
Requires Python 3.11 or newer.

## Installation

Expand Down Expand Up @@ -172,7 +172,7 @@ We use the same conventions / tools across all cihai projects: `pytest`,
- [Quickstart](https://cihai-cli.git-pull.com/quickstart.html)
- Python [API](https://cihai-cli.git-pull.com/api.html)
- [2017 roadmap](https://cihai.git-pull.com/design-and-planning/2017/spec.html)
- Python support: >= 3.10, pypy
- Python support: >= 3.11, pypy
- Source: <https://github.com/cihai/cihai-cli>
- Docs: <https://cihai-cli.git-pull.com>
- Changelog: <https://cihai-cli.git-pull.com/history.html>
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cihai-cli"
version = "0.35.0"
description = "Command line frontend for the cihai CJK language library"
requires-python = ">=3.10,<4.0"
requires-python = ">=3.11,<4.0"
license = { text = "MIT" }
authors = [
{name = "Tony Narlock", email = "tony@git-pull.com"}
Expand All @@ -14,7 +14,6 @@ classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -153,7 +152,7 @@ sphinx-ux-badges = false

[tool.mypy]
strict = true
python_version = "3.10"
python_version = "3.11"
mypy_path = ["src"]
explicit_package_bases = true
files = [
Expand All @@ -168,7 +167,7 @@ module = [
ignore_missing_imports = true

[tool.ruff]
target-version = "py310"
target-version = "py311"

[tool.ruff.lint]
# `select` is deliberately unset: ruff 0.16 enables a curated default rule
Expand Down
6 changes: 1 addition & 5 deletions tests/test_install_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@
import pathlib
import subprocess
import sys
import tomllib
import typing as t

import pytest

if sys.version_info >= (3, 11):
import tomllib
else:
import tomli as tomllib # type: ignore[import-not-found]


class WidgetCase(t.NamedTuple):
"""CLI widget test case."""
Expand Down
844 changes: 37 additions & 807 deletions uv.lock

Large diffs are not rendered by default.

Loading