Skip to content

build: update Python kata setup - #16

Merged
megabyde merged 1 commit into
mainfrom
chore/refresh-python-kata-bootstrap
Aug 1, 2026
Merged

build: update Python kata setup#16
megabyde merged 1 commit into
mainfrom
chore/refresh-python-kata-bootstrap

Conversation

@megabyde

@megabyde megabyde commented Jul 31, 2026

Copy link
Copy Markdown
Member

Summary

  • require Python 3.11, update pytest to >=9.1.1, move Ruff >=0.16.1 to the development dependency group, and refresh uv.lock
  • make help the default target, document every public target, run tools through uv, and limit make clean to generated caches
  • document zero-start setup with required Git and uv, optional GNU Make, Make-first commands, direct uv alternatives, and an observable success condition
  • update the CI action versions, run tests on Ubuntu, Windows, and macOS, and use astral-sh/setup-uv@v9.0.0
  • add weekly Dependabot updates and assign Kata Maintainers through CODEOWNERS

Kata behavior and the starter test remain unchanged.

Verification

  • UV_CACHE_DIR=/tmp/bootstrap-python-kata-uv-cache uv lock --check
  • make help
  • UV_CACHE_DIR=/tmp/bootstrap-python-kata-uv-cache make format-check
  • UV_CACHE_DIR=/tmp/bootstrap-python-kata-uv-cache make test
  • UV_CACHE_DIR=/tmp/bootstrap-python-kata-uv-cache uv run pytest
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/main.yml"); YAML.load_file(".github/dependabot.yml")'
  • test -f .venv/pyvenv.cfg && make clean && test -f .venv/pyvenv.cfg
  • git diff --check origin/main...HEAD

@megabyde
megabyde requested a review from a team July 31, 2026 06:25
@megabyde
megabyde force-pushed the chore/refresh-python-kata-bootstrap branch from a361361 to 8c7a925 Compare July 31, 2026 06:38
snovalnikov
snovalnikov previously approved these changes Jul 31, 2026
- Require Python 3.11 and refresh pytest, Ruff, and the uv lockfile.
- Document zero-start setup with optional Make entry points.
- Add self-documenting targets and cache-only cleanup.
- Refresh CI and add Dependabot and Kata Maintainers ownership.
@megabyde
megabyde force-pushed the chore/refresh-python-kata-bootstrap branch from 5bfc1e4 to 56fc16a Compare August 1, 2026 00:50
@megabyde
megabyde requested a review from snovalnikov August 1, 2026 00:53
@megabyde
megabyde merged commit 51fd61e into main Aug 1, 2026
4 checks passed
@megabyde
megabyde deleted the chore/refresh-python-kata-bootstrap branch August 1, 2026 02:05
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