Repository navigation
Python 3.12 以上・3.15 の検証と開発ツール・Dependabot の更新 - #152
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 更新はグループの対象外です。