Skip to content

Python 3.12 以上・3.15 の検証と開発ツール・Dependabot の更新 - #152

Merged
yuji38kwmt merged 2 commits into
mainfrom
chore/python315-modern-tooling
Oct 23, 2026
Merged

yuji38kwmt merged 2 commits into
mainfrom
chore/python315-modern-tooling

Conversation

@yuji38kwmt

@yuji38kwmt yuji38kwmt commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Python の最低バージョンを 3.12 に揃え、CI で Python 3.12 / 3.13 / 3.14 / 3.15 を検証します。Python のメタデータ、開発コンテナ、開発手順を対応範囲に合わせて更新しました。既に条件を満たす設定は維持しています。

Ruff 0.17.2、mypy 2.4.0、および各リポジトリで使用するテスト・ドキュメント用ツールを公開されている最新版へ更新し、必要な型注釈・lint 設定を修正しました。ロックファイルは開発ツールを中心に更新しています。

Travis CI を廃止し、GitHub Actions で各 Python バージョンの lint と CLI の help/version の起動確認を実行します。既存リポジトリにテストケースはありません。

検証: Python 3.12 で uv sync --locked --all-extras、Python 3.15.1 で lint とローカルテスト(CLI の起動確認成功)、make format、uv build、uv lock --check。

Dependabot は月次更新を維持し、uv の minor・patch を python-minor-patch、GitHub Actions の minor・patch を actions-minor-patch にまとめます。major 更新はグループの対象外です。

Copilot AI balanced review requested due to automatic review settings October 23, 2026 02:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The configuration, documentation, and compatibility updates are consistent, with no blocking issues identified in static review.

No open issues 🎉

What changed in this PR

This PR aligns the Slack CLI’s supported Python versions, development environment, and CI with Python 3.12–3.15.

Changes:

  • Raises the minimum Python version to 3.12 and updates metadata, documentation, and devcontainer settings.
  • Replaces Travis CI with GitHub Actions running lint and CLI help/version checks across Python 3.12–3.15.
  • Updates Ruff, mypy, and their locked dependencies, with corresponding lint adjustments.
File Description
uv.lock Refreshes development dependencies and Python compatibility markers.
slack_primitive_cli/​command/​chat.py Consolidates help strings and updates a lint suppression.
README.md Updates the CI badge and minimum Python requirement.
README_for_developer.md Updates development setup instructions to Python 3.12.
pyproject.toml Updates Python metadata, tool dependencies, and Ruff settings.
.travis.yml Removes the obsolete Travis CI configuration.
.github/​workflows/​lint-test.yml Adds lint and CLI startup checks for Python 3.12–3.15.
.devcontainer/​Dockerfile Changes the development Python installation to 3.12.
.devcontainer/​devcontainer.json Selects Python 3.12 for dependency synchronization.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 02:49
@yuji38kwmt yuji38kwmt changed the title Python 3.12 以上・3.15 の検証と開発ツールの更新 Python 3.12 以上・3.15 の検証と開発ツール・Dependabot の更新 Oct 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

No blocking defects were identified, but the major mypy upgrade and Python 3.12–3.15 compatibility matrix need confirmed CI results before approval.

No open issues 🎉

Review effort: Balanced

@yuji38kwmt
yuji38kwmt merged commit ca4b68a into main Oct 23, 2026
6 checks passed
@yuji38kwmt
yuji38kwmt deleted the chore/python315-modern-tooling branch October 23, 2026 03:11
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.

2 participants