diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 50e0a1c..6841f2a 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13", "3.14"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] env: # uv は .python-version(3.11)を setup-python のインタプリタより優先する # ため、マトリクスのバージョンを環境変数で明示する。uv run の暗黙の diff --git a/.github/workflows/pytest_win.yml b/.github/workflows/pytest_win.yml index cd97522..90a5a31 100644 --- a/.github/workflows/pytest_win.yml +++ b/.github/workflows/pytest_win.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13", "3.14"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] env: # uv は .python-version(3.11)を setup-python のインタプリタより優先する # ため、マトリクスのバージョンを環境変数で明示する。uv run の暗黙の diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a1fabd..fcfb1b2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,7 @@ Issue、Pull Request、コメント、コードには以下を含めないでく ### 必要環境 -- Python 3.11 〜 3.14 +- Python 3.11 〜 3.15 - [uv](https://docs.astral.sh/uv/) ### セットアップ手順 diff --git a/README.md b/README.md index 3cf5693..1897d64 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ PyPI - Python 3.11-3.14 + Python 3.11-3.15 Apache-2.0 @@ -52,7 +52,7 @@ Windows 11(64-bit)では、最新リリースの [ChilmAI-latest.zip](https: ### ライブラリとして利用する -Python 3.11 〜 3.14 の環境に、[PyPI](https://pypi.org/project/chilmai/) からインストールします。パッケージに含まれるのはコアライブラリ(`chilmai`)のみで、Web UI・HTTP API のリファレンス実装(`apps/`)とサンプルデータは含まれません。 +Python 3.11 〜 3.15 の環境に、[PyPI](https://pypi.org/project/chilmai/) からインストールします。パッケージに含まれるのはコアライブラリ(`chilmai`)のみで、Web UI・HTTP API のリファレンス実装(`apps/`)とサンプルデータは含まれません。 ```bash pip install chilmai @@ -66,7 +66,7 @@ uv add chilmai ### ソースコードから利用する -Git、Python 3.11 〜 3.14、[uv](https://docs.astral.sh/uv/) を用意して、依存関係をインストールします。Web UI を利用する場合は、Microsoft Edge や Google Chrome などのモダンブラウザも必要です。 +Git、Python 3.11 〜 3.15、[uv](https://docs.astral.sh/uv/) を用意して、依存関係をインストールします。Web UI を利用する場合は、Microsoft Edge や Google Chrome などのモダンブラウザも必要です。 ```bash git clone https://github.com/CyberAgent/ChilmAI.git diff --git a/docs/development/workflows.md b/docs/development/workflows.md index de248cf..5bed353 100644 --- a/docs/development/workflows.md +++ b/docs/development/workflows.md @@ -20,7 +20,7 @@ ChilmAI の Windows 向け配布物は、2 つの GitHub Actions ワークフロ [`release_tag.yml`](https://github.com/CyberAgent/ChilmAI/blob/main/.github/workflows/release_tag.yml) は、リリースタグとプロジェクトのバージョンが一致することを確認した後、Windows 上で ChilmAI をビルドします。 -Windows 版のビルドには Python 3.11 を使用します。ChilmAI の開発環境は Python 3.11 〜 3.14 をサポートしていますが、配布バイナリに同梱される Python ランタイムは 3.11 です。プルリクエストごとにビルドを検証する [`pyinstaller_build.yml`](https://github.com/CyberAgent/ChilmAI/blob/main/.github/workflows/pyinstaller_build.yml) も同じ Python 3.11 を使用します。 +Windows 版のビルドには Python 3.11 を使用します。ChilmAI の開発環境は Python 3.11 〜 3.15 をサポートしていますが、配布バイナリに同梱される Python ランタイムは 3.11 です。プルリクエストごとにビルドを検証する [`pyinstaller_build.yml`](https://github.com/CyberAgent/ChilmAI/blob/main/.github/workflows/pyinstaller_build.yml) も同じ Python 3.11 を使用します。 ビルドが成功すると、次のファイルを添付した GitHub Release が公開されます。 diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index c1e9312..185d2a6 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -9,7 +9,7 @@ ChilmAI を開発者として使い始める手順です。ライブラリとし === "PyPI から(ライブラリとして使う)" - Python 3.11 〜 3.14 を用意して、インストールします。 + Python 3.11 〜 3.15 を用意して、インストールします。 @@ -27,7 +27,7 @@ ChilmAI を開発者として使い始める手順です。ライブラリとし === "ソースコードから(Web UI・開発)" - Git、Python 3.11 〜 3.14、[uv](https://docs.astral.sh/uv/) を用意してください。Web UI を利用する場合は、Microsoft Edge や Google Chrome などのモダンブラウザも必要です。 + Git、Python 3.11 〜 3.15、[uv](https://docs.astral.sh/uv/) を用意してください。Web UI を利用する場合は、Microsoft Edge や Google Chrome などのモダンブラウザも必要です。 ```bash git clone https://github.com/CyberAgent/ChilmAI.git diff --git a/docs/index.md b/docs/index.md index 1d27f04..943fdec 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,7 +18,7 @@ PyPI - Python 3.11-3.14 + Python 3.11-3.15 Apache-2.0 diff --git a/pyproject.toml b/pyproject.toml index 2905f7e..996abef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = 'Generic daycare matching backend and UI' readme = 'README.md' license = "Apache-2.0" license-files = ["LICENSE", "NOTICE", "TRADEMARK.md"] -requires-python = '>=3.11,<3.15' +requires-python = '>=3.11,<3.16' # PyPI プロジェクトページの「分類」に表示される Trove classifier。 # ライセンスは PEP 639 の license 式で宣言済みのため、License :: 分類は付けない # (setuptools が license 式との併用をエラーにする)。 @@ -25,14 +25,15 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Office/Business :: Scheduling", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ - # numpy 2.5 以降は Python 3.12+ 専用のため、3.11 を含む全サポート範囲 - # (3.11〜3.14)に cp314 ホイールまで揃う 2.4 系を使う。 + # numpy 2.5 以降は Python 3.12+ 専用のため、3.11 を含むサポート範囲に + # cp314 ホイールまで揃う 2.4 系を使う(cp315 ホイールは 2.5.2 以降のみ)。 'numpy==2.4.6', 'pandera==0.32.1', 'openpyxl==3.1.5', diff --git a/test/docs/test_mkdocs_social_meta.py b/test/docs/test_mkdocs_social_meta.py index d8eb0c8..9ed88d8 100644 --- a/test/docs/test_mkdocs_social_meta.py +++ b/test/docs/test_mkdocs_social_meta.py @@ -56,7 +56,7 @@ def test_docs_uses_branding_and_social_meta() -> None: assert "javascripts/chilmai-search.js" in mkdocs_config assert "assets/favicon.svg" in mkdocs_config assert "assets/logo_yoko_black.svg" in index - assert "img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" in index + assert "img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14%20%7C%203.15-blue" in index assert "img.shields.io/badge/license-Apache--2.0-blue" in index for path in [ diff --git a/uv.lock b/uv.lock index 5be6332..d700d8e 100644 --- a/uv.lock +++ b/uv.lock @@ -1,6 +1,6 @@ version = 1 revision = 3 -requires-python = ">=3.11, <3.15" +requires-python = ">=3.11, <3.16" resolution-markers = [ "python_full_version >= '3.12'", "python_full_version < '3.12'",