From dcb4e9e3ebbd74ac752ae254f4e7a7ba3ab1b913 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Wed, 4 Feb 2026 09:54:35 -0800 Subject: [PATCH] fix(iterate-pr): Add PEP 723 requires-python metadata to scripts 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 --- .../sentry-skills/skills/iterate-pr/scripts/fetch_pr_checks.py | 3 +++ .../skills/iterate-pr/scripts/fetch_pr_feedback.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_checks.py b/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_checks.py index 58d55cd..77955d0 100755 --- a/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_checks.py +++ b/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_checks.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# /// script +# requires-python = ">=3.9" +# /// """ Fetch PR CI checks and extract relevant failure snippets. diff --git a/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_feedback.py b/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_feedback.py index a1e397e..ac87340 100755 --- a/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_feedback.py +++ b/plugins/sentry-skills/skills/iterate-pr/scripts/fetch_pr_feedback.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# /// script +# requires-python = ">=3.9" +# /// """ Fetch and categorize PR review feedback.