Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Feb 4, 2026

Add PEP 723 inline script metadata to specify requires-python = ">=3.9" for the iterate-pr helper scripts.

Without explicit Python version metadata, uv run defaults to requiring Python 3.13+, causing failures on systems that don't have Python 3.13 installed. The scripts were already written for Python 3.9 compatibility (using from __future__ import annotations), but uv had no way to know this.

This was discovered when a user ran the skill and got:

warning: No `requires-python` value found in the workspace. Defaulting to `>=3.13`.

followed by a script failure.

Without explicit Python version metadata, uv defaults to requiring
Python 3.13+, which may not be installed. Adding requires-python = ">=3.9"
ensures compatibility with the Python version the scripts were designed for.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dcramer dcramer marked this pull request as ready for review February 4, 2026 17:59
@dcramer dcramer merged commit 90fff38 into main Feb 4, 2026
5 checks passed
@dcramer dcramer deleted the fix/iterate-pr-python-version branch February 4, 2026 17:59
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.

1 participant