Skip to content

ci: verify supported Python versions in a CI matrix and document them - #58

Merged
MRyutaro merged 1 commit into
mainfrom
ci/33-version-matrix
Jun 15, 2026
Merged

MRyutaro merged 1 commit into
mainfrom
ci/33-version-matrix

Conversation

@MRyutaro

Copy link
Copy Markdown
Owner

概要

issue #33 の実装。対応 Python バージョンを CI のテストマトリクスで検証し、READMEに明記する。

変更点

  • CIマトリクス (.github/workflows/test.yml): Python 3.9 / 3.10 / 3.11 / 3.12 / 3.13 の5バージョンでテストスイートを実行(fail-fast: false)。test_integration.py の record_event → checkpoint → load_checkpoint 往復も各バージョンで検証される。setup-uv の python-version でインタプリタを切り替え。
  • README (README.md / README.ja.md): 「Supported versions / 対応バージョン」節を追加し、検証済みバージョンを表で明記。PyPI の pyversions バッジを追加。
  • pyproject.toml: Python 3.8 は EOL(2024/10)のため除外。requires-python を >=3.9 に、classifiers を 3.9〜3.13 に更新。
  • uv.lock: requires-python 変更に伴い再生成。元ロックは 3.8 対応のための universal-resolution マーカーでパッケージが重複(244件)していたが解消(178件)。あわせて 0.0.28 のまま放置されていた版数を 0.0.33 に更新(main 側のロックドリフト解消)。

補足

  • ipykernel / jupyterlab は各 Python と互換な最新版を uv sync が解決する形で間接的に検証。バージョン軸を直接マトリクス化すると組合せが膨らむため、今回は Python 軸に集約。
  • ci: 種別のためリリース版数は上がりません。
  • ローカル(Python 3.11)で全59テスト通過を確認済み。

close #33

🤖 Generated with Claude Code

Run the test suite (including the checkpoint save/restore round trip in
tests/test_integration.py) across Python 3.9–3.13 on every push and PR,
instead of a single ad-hoc interpreter. Document the verified versions in
both READMEs with a Supported versions table and a PyPI pyversions badge.

Drop Python 3.8 (EOL October 2024): bump requires-python to >=3.9, refresh
the classifiers, and regenerate uv.lock (the 3.8 universal-resolution
markers collapse, and the stale 0.0.28 pin is refreshed to 0.0.33).

close #33

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MRyutaro
MRyutaro force-pushed the ci/33-version-matrix branch from 697e44b to 791eda9 Compare June 15, 2026 07:19
@MRyutaro
MRyutaro merged commit 94b74a0 into main Jun 15, 2026
12 checks passed
@MRyutaro
MRyutaro deleted the ci/33-version-matrix branch June 15, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

対応バージョンをCIのテストマトリクスで検証し、READMEに明記する

1 participant