镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

docs: declare requires-python >= 3.12 in justfile scripts - #130

Merged
yawkat merged 1 commit into
mainfrom
fix/issue-112
Sep 25, 2026
Merged

yawkat merged 1 commit into
mainfrom
fix/issue-112

Conversation

@yawkat

@yawkat yawkat commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Fixes #112.

This adds requires-python = ">=3.12" to both PEP 723 script blocks in docs/justfile:

  • rewrite-version-links uses Path.relative_to(..., walk_up=True), which needs 3.12.
  • template gets the same line for consistency.

Checked: with no Python version forced, uv now selects a 3.12+ interpreter. Before this change, running under 3.11 failed with TypeError: ... unexpected keyword argument 'walk_up'.

🤖 Generated with Claude Code

rewrite-version-links uses Path.relative_to(walk_up=True), which needs
Python 3.12. Declare it in the PEP 723 metadata so uv selects a suitable
interpreter; the template block gets the same line for consistency.

Fixes #112

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yawkat
yawkat enabled auto-merge (squash) September 25, 2026 15:38
@yawkat yawkat added this to the 1.11.4 milestone Sep 25, 2026
@yawkat
yawkat merged commit 3ef6f49 into main Sep 25, 2026
6 checks passed
@yawkat
yawkat deleted the fix/issue-112 branch September 25, 2026 16:30
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.

docs/justfile: declare requires-python >= 3.12

1 participant